Commit Graph

6655 Commits

Author SHA1 Message Date
Guðni Már Gilbert 976c8c4902 Change message from .c to .cpp
The allows us to include lcd.h and replace hardcoded value with define LCD_STR_REFRESH

Also deleted a #define for bool which does not seem to be used.
2022-02-05 18:57:18 +00:00
Guðni Már Gilbert e62bc4686f Replace hardcoded values and optimise strings
This commit saves 64 bytes of flash memory on my end
2022-02-05 18:28:17 +00:00
Guðni Már Gilbert 19dc05597d Fix identation in PR
Also combined the if statements that check farm_mode
If farm_mode is 0xFF then we can skip the next if statment.

No change in memory footprint
2022-02-05 11:24:04 +00:00
Prime1910 a3930cbff6 some words changed 2022-02-04 09:38:38 -08:00
Alex Voinea 274f198188 Fix typo from long ago 2022-02-04 16:28:49 +01:00
Alex Voinea 58867f6c06 Fix arduino 1.8.13 warnings 2022-02-04 15:53:49 +01:00
Alex Voinea f068c3258f Pack endstop flags 2022-02-04 15:24:43 +01:00
Alex Voinea 21a0b53647 remove firstrun 2022-02-04 13:27:43 +01:00
Alex Voinea 858984ef35 SD sorting entries instead of positions 2022-02-04 10:47:56 +01:00
DRracer 1dd2e237a0
Merge pull request #3368 from D05S/MK3_3.11.0
Czech translation fix
2022-02-03 16:53:23 +01:00
Dominik Sauer 4302fccca8 Update cs.po 2022-02-03 13:47:14 +01:00
SauerDominik 6167813f07 Update lang_en_cz.txt 2022-02-03 09:46:12 +01:00
DRracer 546eafae8b
Merge pull request #3342 from 3d-gussner/MK3_improve_translations
Improve language scripts
2022-02-03 08:21:38 +01:00
3d-gussner 9e8ed08092 Add new line at end of file 2022-02-03 08:08:28 +01:00
3d-gussner fc94322a10 Fix typo 2022-02-03 08:07:07 +01:00
3d-gussner 37662afdd1 Add LF 2022-02-03 08:05:49 +01:00
3d-gussner 22b3fbfe09 Deactivate translations haven't been merged or translated yet 2022-02-03 07:05:59 +01:00
3d-gussner 1e5421906f Revert "Delete as it has been merged in https://github.com/prusa3d/Prusa-Firmware/pull/3355"
This reverts commit 9993026202.

Affraid it will delete it when merged to MK3 branch
2022-02-03 06:55:50 +01:00
3d-gussner 9993026202
Delete as it has been merged in https://github.com/prusa3d/Prusa-Firmware/pull/3355 2022-02-03 06:53:20 +01:00
3d-gussner 103c6e8819
Merge pull request #3372 from Prime1910/MK3_3.11.0
Croatian translation
2022-02-03 06:45:02 +01:00
Prime1910 eb04c5861d shorten words corrected - croatitan translation 2022-02-02 15:10:19 -08:00
Prime1910 75118d540f Croatian translation small changes 2022-02-02 14:50:33 -08:00
Prime1910 0f7dcdf885 Some small changes in translation 2022-02-02 14:35:56 -08:00
Prime1910 f3a817ae45 Croatian translation of "spinning" corected 2022-02-02 14:25:20 -08:00
Prime1910 cc4601f3fe Croatian translation file changed 2022-02-02 14:17:53 -08:00
Prime1910 82dba06602 Croatian translation updated 2022-02-02 14:16:32 -08:00
Guðni Már Gilbert 1f3640ab26 Merge branch 'MK3_3.12_Optimizations' of https://github.com/leptun/Prusa-Firmware into MK3_3.12_Optimizations 2022-02-02 20:49:41 +00:00
Guðni Már Gilbert 43bf33e791 Optimise usage of code_value()
code_value() is float but in some cases we can save memory when the expected output is only 1 or 2 bytes.

Changes save 182 bytes of flash memory on my end.
2022-02-02 20:48:36 +00:00
Alex Voinea f25bddce35 Simplify GETPC() 2022-02-02 21:06:58 +01:00
Alex Voinea 6ce7792045 Remove "hh" in fmt where it makes no difference 2022-02-02 20:58:21 +01:00
Guðni Már Gilbert 146b008186 Remove redundant variable farm_status
It is unused and status_number variable can be used instead.
2022-02-02 18:37:55 +00:00
Guðni Már Gilbert 459570ab66 Change prusa_stat_printerstatus parameter to uint8_t
Also changes status_number global variable to uint8_t

Changes save 80 bytes of flash and 1 byte of SRAM (Arduino IDE 1.8.19)
2022-02-02 18:35:52 +00:00
3d-gussner f2fdbb3485 Merge branch 'MK3_improve_translations' of https://github.com/3d-gussner/Prusa-Firmware into MK3_improve_translations 2022-02-02 17:24:18 +01:00
3d-gussner ce6b92052c Update replace Czech non aA-zZ characters 2022-02-02 17:23:31 +01:00
3d-gussner fbe33ed28f Add POEdit `.mo`and MAC generated `.DS_Store` 2022-02-02 17:23:31 +01:00
3d-gussner f290039dff Add Hungarian replacement
Fix changed chars.
2022-02-02 17:23:31 +01:00
3d-gussner c3347dd2cb Improve language scripts
- Add German `äöüß` support
- Add/improve checks
  - Check for syntax errors
  - Output for translators
- gitignore more temporary files
2022-02-02 17:23:31 +01:00
3d-gussner 256c3f453b PF-build.sh:
- Add sort of variants. Request from @leptun
- Add Arduino IDE 1.8.19 as an option
- Allow upper and lower case. Request from @TojikCZ

MK404-build.sh:
- Allow upper and lower case. Request by @TojikCZ
- Add update option to release OR devel
2022-02-02 17:23:31 +01:00
3d-gussner 92ec7d3d24 Add some documentation
WIP
2022-02-02 17:23:31 +01:00
3d-gussner a7839a6cc6 Test Travis with focal Ubuntu20.04 LTS 2022-02-02 17:23:31 +01:00
3d-gussner 1abd2be96d Syntax check `lang_en.txt`
Display correct line having issues
2022-02-02 17:23:31 +01:00
3d-gussner 86235259a3 Add syntax checks 2022-02-02 17:23:31 +01:00
3d-gussner 2a4e90bd93 Update replace Czech non aA-zZ characters 2022-02-02 17:22:17 +01:00
D05S 183eaf80ec Created and updated files from new po 2022-02-02 15:05:25 +01:00
D05S 058c75f3ec Delete mac files 2022-02-02 14:51:02 +01:00
D05S 0f76c05a36 test 2022-02-02 14:46:48 +01:00
D05S 45c121c7a4 \x0a edit
\\x0a to \x0a
2022-02-02 14:16:01 +01:00
D05S d19fa38afe Update cs.po
memory optimization
2022-02-02 12:29:17 +01:00
3d-gussner cbae08991c Add POEdit `.mo`and MAC generated `.DS_Store` 2022-02-02 08:49:35 +01:00
3d-gussner 3b82333fcb
Merge pull request #3344 from AttilaSVK/MK3_3.11.0
New translation - Hungarian
2022-02-02 08:15:53 +01:00