[PATCH 4 of 9] i18n: posplit removes the entry "::" from the pot file
Simon Heimberg
simohe at besonet.ch
Mon Feb 3 15:00:24 CST 2014
# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1384716273 -3600
# Sun Nov 17 20:24:33 2013 +0100
# Branch stable
# Node ID af4513e784984aa9842902acc251dcf5f6bb7dc9
# Parent 3a571b95da6767be6a827ceb3c9f81aaab1941be
i18n: posplit removes the entry "::" from the pot file
We do not gain anything by allowing to translate it.
diff -r 3a571b95da67 -r af4513e78498 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:
More information about the Mercurial-devel
mailing list