scripts/unocommands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 293c5d45083823ae1c1f4e0519928c0b5d23dced Author: Jan Holesovsky <[email protected]> Date: Thu Dec 7 10:14:58 2017 +0100 l10n: Don't extract uno: when name: is provided for that entry. Change-Id: I85619915cf66a71c7ab982c2949390bd82df9abb Reviewed-on: https://gerrit.libreoffice.org/46013 Reviewed-by: Andras Timar <[email protected]> Tested-by: Andras Timar <[email protected]> diff --git a/scripts/unocommands.py b/scripts/unocommands.py index 6e1b0246..55d0e289 100755 --- a/scripts/unocommands.py +++ b/scripts/unocommands.py @@ -67,7 +67,7 @@ def extractCommands(path): # extract from the menu specifications f = open(path + '/loleaflet/src/control/Control.Menubar.js', 'r') for line in f: - if line.find("uno:") >= 0: + if line.find("uno:") >= 0 and line.find("name:") < 0: commands += commandFromMenuLine(line) # may the list unique _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
