[Libreoffice-commits] online.git: loleaflet/Makefile loleaflet/po
Jan Iversen
jani at documentfoundation.org
Wed Aug 10 10:39:08 UTC 2016
loleaflet/Makefile | 8
loleaflet/po/README | 4
loleaflet/po/template/loleaflet-help.pot | 1428 ------------------------------
loleaflet/po/template/loleaflet-ui.pot | 857 ------------------
loleaflet/po/templates/loleaflet-help.pot | 1428 ++++++++++++++++++++++++++++++
loleaflet/po/templates/loleaflet-ui.pot | 857 ++++++++++++++++++
6 files changed, 2293 insertions(+), 2289 deletions(-)
New commits:
commit ff1b071a8f8289baab22441fedc7cb6b76d108e3
Author: Jan Iversen <jani at documentfoundation.org>
Date: Wed Aug 10 10:36:57 2016 +0000
pot file update, to help automate the pootle connection
Added more explanation in the README.
Corrected template -> templates
diff --git a/loleaflet/Makefile b/loleaflet/Makefile
index a409396..be9c11a 100644
--- a/loleaflet/Makefile
+++ b/loleaflet/Makefile
@@ -45,7 +45,7 @@ dist: all
rm -rf loleaflet-$(VERSION)
pot:
- xgettext --from-code=UTF-8 --keyword=_ --output=po/template/loleaflet-ui.pot \
+ xgettext --from-code=UTF-8 --keyword=_ --output=po/templates/loleaflet-ui.pot \
evol.colorpicker.strings.js \
unocommands.js \
dist/errormessages.js \
@@ -62,11 +62,11 @@ pot:
src/core/Socket.js \
src/map/Map.js
- html2po --pot --input=dist/loleaflet-help.html --output=po/template/loleaflet-help.pot
+ html2po --pot --input=dist/loleaflet-help.html --output=po/templates/loleaflet-help.pot
l10n: pot
- for i in po/ui-*.po; do pot2po --input=po/loleaflet-ui.pot --template=$$i --output=$$i.new; mv $$i.new $$i;done
- for i in po/help-*.po; do pot2po --input=po/loleaflet-help.pot --template=$$i --output=$$i.new; mv $$i.new $$i;done
+ for i in po/ui-*.po; do pot2po --input=po/templates/loleaflet-ui.pot --template=$$i --output=$$i.new; mv $$i.new $$i;done
+ for i in po/help-*.po; do pot2po --input=po/templates/loleaflet-help.pot --template=$$i --output=$$i.new; mv $$i.new $$i;done
rm po/loleaflet-ui.pot
rm po/loleaflet-help.pot
diff --git a/loleaflet/po/README b/loleaflet/po/README
index fa966a3..02f3d9c 100644
--- a/loleaflet/po/README
+++ b/loleaflet/po/README
@@ -6,3 +6,7 @@ The translated .po files are then committed from the pootle server.
Remark the directory styles, are not translated by merged from the core translation.
+if files are added to the po directory, they are automatically compared/updated from pootle.
+
+Automatic commits from pootle are done with the user "pootlebot"
+
diff --git a/loleaflet/po/template/loleaflet-help.pot b/loleaflet/po/templates/loleaflet-help.pot
similarity index 100%
rename from loleaflet/po/template/loleaflet-help.pot
rename to loleaflet/po/templates/loleaflet-help.pot
diff --git a/loleaflet/po/template/loleaflet-ui.pot b/loleaflet/po/templates/loleaflet-ui.pot
similarity index 100%
rename from loleaflet/po/template/loleaflet-ui.pot
rename to loleaflet/po/templates/loleaflet-ui.pot
More information about the Libreoffice-commits
mailing list