aboutsummaryrefslogtreecommitdiffstats
path: root/docs/stylesheets/xslpo.py
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 /docs/stylesheets/xslpo.py
parent34cc541cac9fabe547833b6c6c54a37528476688 (diff)
downloadtools-bc805c94539f15009cd596ef0ed3bedb96c6589a.tar
tools-bc805c94539f15009cd596ef0ed3bedb96c6589a.tar.gz
tools-bc805c94539f15009cd596ef0ed3bedb96c6589a.tar.bz2
tools-bc805c94539f15009cd596ef0ed3bedb96c6589a.tar.xz
tools-bc805c94539f15009cd596ef0ed3bedb96c6589a.zip
Fix composite locales
Diffstat (limited to 'docs/stylesheets/xslpo.py')
-rw-r--r--docs/stylesheets/xslpo.py2
1 files changed, 1 insertions, 1 deletions
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)