From e95f6fcbf48a433bba4872de1bb3543497b14ebf Mon Sep 17 00:00:00 2001
From: Jean-Pierre Ledure <jp@ledure.be>
Date: Mon, 24 Jan 2022 13:56:55 +0100
Subject: 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 <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
---
 bin/list-dispatch-commands.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'bin')

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()
-- 
cgit