From d103ab6cf96d1a4f05e605efc5ea38695e4d0385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 15 Nov 2009 17:27:21 +0000 Subject: [PATCH] * lyx_pot.py: - make IconPalette tooltips translatable. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32026 a592a061-630c-0410-9148-cb99ea01b6c8 --- po/lyx_pot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/po/lyx_pot.py b/po/lyx_pot.py index 8f36405daa..275d4f70b2 100755 --- a/po/lyx_pot.py +++ b/po/lyx_pot.py @@ -44,6 +44,7 @@ def ui_l10n(input_files, output, base): output = open(output, 'w') Submenu = re.compile(r'^[^#]*Submenu\s+"([^"]*)"') Popupmenu = re.compile(r'^[^#]*PopupMenu\s+"[^"]+"\s+"([^"]*)"') + IconPalette = re.compile(r'^[^#]*IconPalette\s+"[^"]+"\s+"([^"]*)"') Toolbar = re.compile(r'^[^#]*Toolbar\s+"[^"]+"\s+"([^"]*)"') Item = re.compile(r'[^#]*Item\s+"([^"]*)"') TableInsert = re.compile(r'[^#]*TableInsert\s+"([^"]*)"') @@ -55,6 +56,8 @@ def ui_l10n(input_files, output, base): string = string.replace('_', ' ') elif Popupmenu.match(line): (string,) = Popupmenu.match(line).groups() + elif IconPalette.match(line): + (string,) = IconPalette.match(line).groups() elif Toolbar.match(line): (string,) = Toolbar.match(line).groups() elif Item.match(line):