i18n: posplit removes the entry "::" from the pot file
authorSimon Heimberg <simohe@besonet.ch>
Sun, 17 Nov 2013 20:24:33 +0100
changeset 20361 3fe079d3a2b4
parent 20360 1267c1bd01f8
child 20362 1bce1078501d
i18n: posplit removes the entry "::" from the pot file We do not gain anything by allowing to translate it.
i18n/posplit
--- a/i18n/posplit	Wed Jan 29 16:47:00 2014 +0100
+++ b/i18n/posplit	Sun Nov 17 20:24:33 2013 +0100
@@ -51,7 +51,7 @@
 
         delta = 0
         for msgid, msgstr in zip(msgids, msgstrs):
-            if msgid:
+            if msgid and msgid != '::':
                 newentry = mkentry(entry, delta, msgid, msgstr)
                 mdirective = findd.match(msgid)
                 if mdirective: