bin/list-dispatch-commands.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e95f6fcbf48a433bba4872de1bb3543497b14ebf
Author:     Jean-Pierre Ledure <j...@ledure.be>
AuthorDate: Mon Jan 24 13:56:55 2022 +0100
Commit:     Jean-Pierre Ledure <j...@ledure.be>
CommitDate: Mon Jan 24 17:00:16 2022 +0100

    Dispatch commands: Include tooltip labels in the Description column
    
    The modified script updates the
     
https://wiki.documentfoundation.org/WikiAction/history/Development/DispatchCommands
    wiki page.
    
    A typo excluded the tooltips while they're
    meaningful when they are longer than the usual
    UI labels or the "context" labels (whatever a context
    label might mean).
    
    Change-Id: I001d1a5624be9f40761f5e0dcd28da0a9feb981e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128866
    Tested-by: Jean-Pierre Ledure <j...@ledure.be>
    Tested-by: Jenkins
    Reviewed-by: Jean-Pierre Ledure <j...@ledure.be>

diff --git a/bin/list-dispatch-commands.py b/bin/list-dispatch-commands.py
index fb3d60fb5720..dad2f01ffee2 100755
--- a/bin/list-dispatch-commands.py
+++ b/bin/list-dispatch-commands.py
@@ -129,7 +129,7 @@ def analyze_xcu(all_commands):
                         label = 'label'
                     elif '<prop oor:name="ContextLabel"' in line:
                         label = 'contextlabel'
-                    elif '<prop oor:name="Label"' in line:
+                    elif '<prop oor:name="TooltipLabel"' in line:
                         label = 'tooltiplabel'
                     elif '<value xml:lang="en-US">' in line:
                         labeltext = line.replace('<value xml:lang="en-US">', 
'').replace('</value>', '').strip()

Reply via email to