diff options
author | bubnikv <bubnikv@gmail.com> | 2019-04-18 11:13:56 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-04-18 11:13:56 +0300 |
commit | 63a0d1aeee25459fc9570f164ce12ddbd0f43963 (patch) | |
tree | bc039ceee17c00eb0549349d6044f5ab069ea83b /doc | |
parent | eae657616209159bfc768178b1626a57a457e840 (diff) |
Added comments to the gettext dictionaries generated by the xgettext tool.
The prefix to be searched for in the source code comments is TRN
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Localization_guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Localization_guide.md b/doc/Localization_guide.md index 656f225ef..3394d2958 100644 --- a/doc/Localization_guide.md +++ b/doc/Localization_guide.md @@ -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 |