# HG changeset patch # User Andrey Skvortsov # Date 1499248783 -10800 # Node ID 64ea7c86a74c9a4dcb16f528df5837c4198a012d # Parent ae58d214997c65960901e5a4edd6ae8a747c591d add to i18n/README forgotten commands to add some XML schemes as source for strings and update app.fil diff -r ae58d214997c -r 64ea7c86a74c i18n/README --- a/i18n/README Tue Jul 04 14:00:42 2017 +0300 +++ b/i18n/README Wed Jul 05 12:59:43 2017 +0300 @@ -1,7 +1,7 @@ To generate message.pot file: python mki18n.py -p --domain=Beremiz - + To generate .mo files for all languages: python mki18n.py -m --moTarget=../locale --domain=Beremiz @@ -10,3 +10,5 @@ To generate app.fil: find .. -name "*.py" -exec grep -q '_(' {} ';' -print -o -name "*XSD*" -print -o -name "*.csv" -print | grep -v '/build/' | grep -v '/pyjs/' > app.fil + echo "../plcopen/Additional_Function_Blocks.xml" >> app.fil + echo "../plcopen/Standard_Function_Blocks.xml" >> app.fil \ No newline at end of file diff -r ae58d214997c -r 64ea7c86a74c i18n/app.fil --- a/i18n/app.fil Tue Jul 04 14:00:42 2017 +0300 +++ b/i18n/app.fil Wed Jul 05 12:59:43 2017 +0300 @@ -117,3 +117,5 @@ ../IDEFrame.py ../PLCGenerator.py ../Beremiz_service.py +../plcopen/Additional_Function_Blocks.xml +../plcopen/Standard_Function_Blocks.xml \ No newline at end of file