From: Bo Peng Date: Thu, 31 May 2007 14:56:07 +0000 (+0000) Subject: handle TableInsert in lyx_pot.py X-Git-Tag: 1.6.10~9543 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=46b898cf3ba7d51018857f89c204e0ef6c5b383e;p=features.git handle TableInsert in lyx_pot.py git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18597 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/po/lyx_pot.py b/po/lyx_pot.py index 6119ee6c06..fb7578d026 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -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('"', '')