Guðni Már Gilbert
b6ef8ea32c
Add a backup of po files
2023-02-18 10:13:34 +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
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
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