]> git.lyx.org Git - features.git/commitdiff
Kill Flex:constructs in po files.
authorPavel Sanda <sanda@lyx.org>
Wed, 24 Nov 2010 23:53:41 +0000 (23:53 +0000)
committerPavel Sanda <sanda@lyx.org>
Wed, 24 Nov 2010 23:53:41 +0000 (23:53 +0000)
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163696.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36461 a592a061-630c-0410-9148-cb99ea01b6c8

po/lyx_pot.py

index 723924b4f261d11fb43c8fb2cb0ef14b1d7a6b10..3bed049ce04b5c8cb9dea3e1189b95b647981174 100755 (executable)
@@ -172,7 +172,8 @@ def layouts_l10n(input_files, output, base):
             if res != None:
                 string = res.group(1)
                 string = string.replace('_', ' ')
-                writeString(out, src, base, lineno, string)
+                #Flex:xxx is not used in translation
+                #writeString(out, src, base, lineno, string)
                 m = FlexCheck.search(string)
                 if m:
                   writeString(out, src, base, lineno, m.group(1))