Added comments to the gettext dictionaries generated by the xgettext tool.

The prefix to be searched for in the source code comments is TRN
This commit is contained in:
bubnikv 2019-04-18 10:13:56 +02:00
parent eae6576162
commit 63a0d1aeee
4 changed files with 783 additions and 762 deletions

View file

@ -46,7 +46,7 @@ https://github.com/prusa3d/Slic3r/tree/master/resources/localization/list.txt.
2. Create template file(*.POT) with GNUgettext command:
```
xgettext --keyword=L --from-code=UTF-8 --debug -o Slic3rPE.pot -f list.txt
xgettext --keyword=L --add-comments=TRN --from-code=UTF-8 --debug -o Slic3rPE.pot -f list.txt
```
Use flag `--from-code=UTF-8` to specify that the source strings are in UTF-8 encoding