officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu | 6 ++++++ officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-)
New commits: commit 0b582183902cfd1de13ad4748d80dc4a9257f3f4 Author: Seth Chaiklin <sdc.bla...@youmail.dk> AuthorDate: Tue May 17 00:17:23 2022 +0200 Commit: Seth Chaiklin <sdc.bla...@youmail.dk> CommitDate: Tue May 17 12:22:08 2022 +0200 tdf#149047 improve labelling of .uno:InsertObjCtrl and .uno:InsertObject .uno:InsertObject opens a dialog to insert an OLE object. .uno:InsertObjCtrl appears to provide a control for a dropdown menu. It appears in one toolbar, but it is unclear if it is actually used. Meanwhile, it appears in the Customize menu, but when added to a toolbar, it does not have any obvious functionality. The purpose of this patch is to change the labelling on these two commands, and add a tooltip to .uno:InsertObject so that it will be easier in the Customize dialog to understand what .uno:InsertObject does, and to get an impression of a possible function of .uno:InsertObjCtrl. Change-Id: I7cb01763c4a84511e7b7c45d8d00dc6873a3748f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134434 Tested-by: Jenkins Reviewed-by: Seth Chaiklin <sdc.bla...@youmail.dk> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu index 68b804d958fb..0ec1e8246f08 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu @@ -3221,8 +3221,14 @@ bit 3 (0x8): #define UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8 </node> <node oor:name=".uno:InsertObject" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> + <value xml:lang="en-US">Insert OLE Object</value> + </prop> + <prop oor:name="ContextLabel" oor:type="xs:string"> <value xml:lang="en-US">~OLE Object...</value> </prop> + <prop oor:name="TooltipLabel" oor:type="xs:string"> + <value xml:lang="en-US">Open dialog to insert OLE object</value> + </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>1</value> </prop> diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu index 4ad6ee815749..2ce11a00aa61 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu @@ -922,7 +922,7 @@ </node> <node oor:name=".uno:InsertObjCtrl" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> - <value xml:lang="en-US">Insert Object</value> + <value xml:lang="en-US">Insert Object Menu</value> </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>1</value>