From 63a0d1aeee25459fc9570f164ce12ddbd0f43963 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 18 Apr 2019 10:13:56 +0200 Subject: Added comments to the gettext dictionaries generated by the xgettext tool. The prefix to be searched for in the source code comments is TRN --- doc/Localization_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3