gudnimg
940f5b7214
Add executable permission for update-po.py and update-pot.py on Linux
2023-02-20 17:53:41 +00:00
Guðni Már Gilbert
526e02a041
Fix an issue with using --file argument
...
The following command did not work in the lang folder:
python .\update-po.py --file ./po/Firmware_cs.po
To resolve this we just extract the filename from
the path and use the constant PO_DIR to make
sure the path is always the same.
2023-02-18 10:30:18 +00:00
Guðni Már Gilbert
b6ef8ea32c
Add a backup of po files
2023-02-18 10:13:34 +00:00
gudnimg
280a904799
ubuntu: subprocess does not allow extended glob
...
It's my understanding that we cannot use extended globbing
on Linux because
of the way I am invoking the lang-extract
script. the python script is not run through bash/shell.
We would need to perhaps use Shell = True in check_call() but
then the all the input arguments needs to be one string.
This commit was tested on Ubuntu 22.04.1 LTS
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
327254d091
Expand glob in update-pot on Windows only
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
62c87a1fe5
Adjust module docstring
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
b14f3780d4
Add mutually exclusive arguments --file and --all
...
Only one of these arguments must be supplied, or argparse raises an error.
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
4a93288353
Update README
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
d90859e6a6
Add requirements.txt
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
7966633c1a
Allow languages to be updated from any directory
...
Now these commands will work:
python .\lang\update-po.py
python .\lang\update-pot.py
When current working directory is
.\Prusa-Firmware\
Previously, you'd need to call the
script within the lang folder.
2023-02-18 09:53:56 +00:00
Guðni Már Gilbert
53ced0cb21
languages: Add new script update-pot.py
2023-02-18 09:53:56 +00:00
Guðni Már Gilbert
65d7605623
languages: update lang-extract.py
...
Fix an issue where it does not run on Windows.
When the input argument is regex, we must first search for the files
using said regex pattern and then creating a list of files.
When opening the files, the encoding needs to be utf-8.
2023-02-18 09:53:56 +00:00
Guðni Már Gilbert
12123d6d52
languages: create new script update_po.py
...
The script should do the same work as when one run update_po.sh
The Python script can be run on Windows too.
2023-02-18 09:53:56 +00:00
3d-gussner
8b1b632164
Fix copy/paste typo thanks to @gudnimg
2023-02-10 14:35:36 +01:00
3d-gussner
4f8dbb19fd
Fix `M862.x` LCD messages
...
As the new menue adds a Yes/No option the messages
need to be limited to c=20 r=3
Updated/shortened all translations
2023-02-10 14:35:36 +01:00
3d-gussner
ca978080c4
Change to Thermal model
...
Add prusa.io/tm-cal link
and update all TM related translations
2023-02-08 15:36:59 +01:00
3d-gussner
9098206afb
Add translations for `Clear TM error` message
2022-12-20 15:25:15 +01:00
3d-gussner
7fef570d1b
Change xyz cal message `up to 24 min.` instead `approx. 12 min.`
2022-12-20 10:30:53 +01:00
3d-gussner
9428064a9e
Remove unused community translations
2022-12-16 16:06:31 +01:00
3d-gussner
100dc2934b
Shorten French translation
2022-12-16 15:59:37 +01:00
3d-gussner
74545e2133
Fix `µ` character shown on translations
2022-12-16 15:59:37 +01:00
Hauzman
19b6590095
Update Ro Translation
2022-12-09 11:00:34 +01:00
3d-gussner
96736c9dd1
Update lang/po/Firmware_no.po
...
Co-authored-by: OS-kar <104255741+OS-kar@users.noreply.github.com>
2022-12-06 14:39:59 +01:00
3d-gussner
1df4871a8b
Update Swedish translation
2022-12-06 09:21:13 +01:00
3d-gussner
edecd6187d
Update Nozzle change community translations
2022-12-05 18:10:25 +01:00
3d-gussner
b516567b74
Shorten French translation
2022-12-05 12:18:46 +01:00
3d-gussner
54ef2a6c28
Merge pull request #3769 from 3d-gussner/MK3_Temp_model_cal_wizard
...
PFW-1434: MK3 Temp model calibration during wizard
2022-11-30 15:33:38 +01:00
3d-gussner
0a6388cc56
Update internal translations
...
Fix G28 W
2022-11-30 15:01:24 +01:00
3d-gussner
e64f34c9ab
Updated community languages
...
Thanks to @ingbrzy @shatter136 @Hauzman
2022-11-30 07:59:27 +01:00
3d-gussner
4f3c188017
Update internal translations
...
Fix typo
2022-11-24 10:53:04 +01:00
3d-gussner
32673e1681
Nozzle change menu
2022-11-23 11:39:26 +01:00
D.R.racer
2317e1379f
Update CS translation
2022-11-22 08:35:27 +01:00
3d-gussner
2cd42f8433
Fix typo
...
Add Norwegian translations thanks to @OS-kar
2022-11-22 08:26:20 +01:00
3d-gussner
281a217549
Update Temp Model messages
...
Deepl translate cs,de,es,fr,it,nl,pl
2022-11-20 10:49:46 +01:00
Guðni Már Gilbert
2096accc5f
Remove unused gcode level check code
...
This code was introduced with v3.8.0 but was always disabled.
I propose the code be removed since it has not been enabled
for 3 years since its introduction.
2022-11-17 08:05:27 +01:00
D.R.racer
21e779c1c1
Update POT/PO files
...
Translations of INSPECT_FINDA are to be done yet.
2022-11-17 07:58:11 +01:00
3d-gussner
7c009cadb8
Bump up Revision to ALPHA1 6051
...
Temporary fix for MSG_BTN_MORE
pre-release pot and po update
2022-11-04 10:21:39 +01:00
3d-gussner
38a8cb8af3
Fix typos and Upper case at beginning
2022-11-03 12:10:44 +01:00
3d-gussner
ccdfc337a5
Norwegian translation
...
All credit to @OS-kar for the new translations
Add replacement for `Ø`
Update List of Community made translations
2022-11-03 12:10:44 +01:00
3d-gussner
ab10a65a40
Update Swedish translation
...
All credit to @Painkiller56
2022-10-26 17:21:00 +02:00
3d-gussner
1bb1446934
Fix few Czech translations
2022-10-26 17:20:34 +02:00
3d-gussner
81ae10c001
Update Swedish translation part 1
...
All credit to @Painkiller56
2022-10-25 12:09:13 +02:00
3d-gussner
c2b60ba0e6
Update Swedish and Norgwegian
2022-10-25 10:34:13 +02:00
3d-gussner
f4a2c1c794
Update translations
...
Fix button msg
Update Dutch `F. jam detect`
2022-10-25 10:29:35 +02:00
3d-gussner
0c458a8740
Merge pull request #3696 from Hauzman/MK3_Romanian_translation
...
Mk3 Romanian translation
2022-10-21 08:51:49 +02:00
3d-gussner
42c8628516
Merge pull request #3684 from AttilaSVK/MK3
...
Updated Hungarian translation for MK3
2022-10-21 07:10:37 +02:00
3d-gussner
26e2a8a9dc
Merge pull request #3706 from 3d-gussner/MK3_Croatian_rebase
...
Update Croatian translation
2022-10-19 17:20:24 +02:00
3d-gussner
edb430af08
Merge pull request #3687 from wavexx/lang_diff_instructions
...
lang: Add git diff filter instructions for po files
2022-10-19 17:20:02 +02:00
3d-gussner
a9828a1761
Update Croatian translation
...
All credits to @prime1910
2022-10-19 09:38:53 +02:00
Hauzman
2bafa30df0
Update Firmware_ro.po
2022-10-19 10:07:45 +03:00