]> git.lyx.org Git - lyx.git/blobdiff - po/lyx_pot.py
EmbeddedObjects.lyx: add hint how to force a rotation direction for rotated floats
[lyx.git] / po / lyx_pot.py
index 6119ee6c067790ed678e0321c33693bf92366b4a..fb7578d026412d82bdd0a58b7c5d08ab9835004a 100755 (executable)
@@ -38,6 +38,7 @@ def ui_l10n(input_files, output, base):
     Popupmenu = re.compile(r'^[^#]*PopupMenu\s+"[^"]+"\s+"([^"]*)"')
     Toolbar = re.compile(r'^[^#]*Toolbar\s+"[^"]+"\s+"([^"]*)"')
     Item = re.compile(r'[^#]*Item\s+"([^"]*)"')
+    TableInsert = re.compile(r'[^#]*TableInsert\s+"([^"]*)"')
     for src in input_files:
         input = open(src)
         for lineno, line in enumerate(input.readlines()):
@@ -50,6 +51,8 @@ def ui_l10n(input_files, output, base):
                 (string,) = Toolbar.match(line).groups()
             elif Item.match(line):
                 (string,) = Item.match(line).groups()
+            elif TableInsert.match(line):
+                (string,) = TableInsert.match(line).groups()
             else:
                 continue
             string = string.replace('"', '')