summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2022-01-24 13:56:55 +0100
committerJean-Pierre Ledure <jp@ledure.be>2022-01-24 17:00:16 +0100
commite95f6fcbf48a433bba4872de1bb3543497b14ebf (patch)
treef326770b20dfb56b16675df6ecea216c3ef3ed4e
parent20a0356a7b389cbae723d5b302ffd3737677ac84 (diff)
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>
-rwxr-xr-xbin/list-dispatch-commands.py2
1 files changed, 1 insertions, 1 deletions
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()