aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2015-12-21 18:20:36 +0200
committerYuri Chornoivan <yurchor@ukr.net>2015-12-21 18:20:36 +0200
commitbc805c94539f15009cd596ef0ed3bedb96c6589a (patch)
tree40731c7cd7ea16f80569fb838ddb55716af00728
parent34cc541cac9fabe547833b6c6c54a37528476688 (diff)
downloadtools-bc805c94539f15009cd596ef0ed3bedb96c6589a.tar
tools-bc805c94539f15009cd596ef0ed3bedb96c6589a.tar.gz
tools-bc805c94539f15009cd596ef0ed3bedb96c6589a.tar.bz2
tools-bc805c94539f15009cd596ef0ed3bedb96c6589a.tar.xz
tools-bc805c94539f15009cd596ef0ed3bedb96c6589a.zip
Fix composite locales
-rw-r--r--docs/stylesheets/po/doc_xsl.pot2
-rw-r--r--docs/stylesheets/po/pt_BR.po (renamed from docs/stylesheets/po/pt_br.po)0
-rw-r--r--docs/stylesheets/xslpo.py2
3 files changed, 2 insertions, 2 deletions
diff --git a/docs/stylesheets/po/doc_xsl.pot b/docs/stylesheets/po/doc_xsl.pot
index 89ef574e..4c65ccbf 100644
--- a/docs/stylesheets/po/doc_xsl.pot
+++ b/docs/stylesheets/po/doc_xsl.pot
@@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Mageia XSL files translation\n"
"Report-Msgid-Bugs-To: i18n-discuss@ml.mageia.org\n"
-"POT-Creation-Date: 2015-12-16 22:14+0200\n"
+"POT-Creation-Date: 2015-12-21 18:19+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/docs/stylesheets/po/pt_br.po b/docs/stylesheets/po/pt_BR.po
index 95301c50..95301c50 100644
--- a/docs/stylesheets/po/pt_br.po
+++ b/docs/stylesheets/po/pt_BR.po
diff --git a/docs/stylesheets/xslpo.py b/docs/stylesheets/xslpo.py
index 7ebd5046..e723f2e1 100644
--- a/docs/stylesheets/xslpo.py
+++ b/docs/stylesheets/xslpo.py
@@ -114,7 +114,7 @@ for langfile in files:
lang = pofile[:-3].rsplit('/',1)[1]
pofilename = pofile
po = polib.pofile(pofilename)
- translatedtext=u'\t<l:l10n language=\"%s\">\n' %lang
+ translatedtext=u'\t<l:l10n language=\"%s\">\n' %lang.lower()
for entry in po:
if entry.translated():
translatedtext += u'\t\t<l:gentext key=\"%s\" text=\"%s\"/>\n' %(entry.msgctxt, entry.msgstr)