summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousuf Philips <philipz85@hotmail.com>2014-11-21 19:46:05 +0400
committerCaolán McNamara <caolanm@redhat.com>2014-11-25 11:29:54 +0000
commitc609824138ebe50053aa42a33cdcd3b8f113193e (patch)
tree2b60023710cdf6682abf9c6a239f1312a3761c68
parent55f3e0d1f99023e8987af78d92267f5b8e414cfb (diff)
fdo#86132 add tooltips to calc xcu file
Change-Id: I9c643e72cb0e925c2d4e5283c6811ef73306c76b Reviewed-on: https://gerrit.libreoffice.org/13027 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu18
-rw-r--r--sc/uiconfig/scalc/toolbar/formatobjectbar.xml12
2 files changed, 24 insertions, 6 deletions
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
index 62569090e45b..9df546501fc6 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
@@ -1611,6 +1611,9 @@
</node>
<node oor:name=".uno:NumberFormatCurrency" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Format as Currency</value>
+ </prop>
+ <prop oor:name="ContextLabel" oor:type="xs:string">
<value xml:lang="en-US">Currency</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
@@ -1619,6 +1622,9 @@
</node>
<node oor:name=".uno:NumberFormatPercent" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Format as Percent</value>
+ </prop>
+ <prop oor:name="ContextLabel" oor:type="xs:string">
<value xml:lang="en-US">Percent</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
@@ -1627,6 +1633,9 @@
</node>
<node oor:name=".uno:NumberFormatStandard" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Format as General</value>
+ </prop>
+ <prop oor:name="ContextLabel" oor:type="xs:string">
<value xml:lang="en-US">General</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
@@ -1635,6 +1644,9 @@
</node>
<node oor:name=".uno:NumberFormatDate" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Format as Date</value>
+ </prop>
+ <prop oor:name="ContextLabel" oor:type="xs:string">
<value xml:lang="en-US">Date</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
@@ -1643,6 +1655,9 @@
</node>
<node oor:name=".uno:NumberFormatDecimal" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Format as Number</value>
+ </prop>
+ <prop oor:name="ContextLabel" oor:type="xs:string">
<value xml:lang="en-US">Number</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
@@ -1651,6 +1666,9 @@
</node>
<node oor:name=".uno:NumberFormatScientific" oor:op="replace">
<prop oor:name="Label" oor:type="xs:string">
+ <value xml:lang="en-US">Format as Scientific</value>
+ </prop>
+ <prop oor:name="ContextLabel" oor:type="xs:string">
<value xml:lang="en-US">Scientific</value>
</prop>
<prop oor:name="Properties" oor:type="xs:int">
diff --git a/sc/uiconfig/scalc/toolbar/formatobjectbar.xml b/sc/uiconfig/scalc/toolbar/formatobjectbar.xml
index 1077e09f215b..ab547e6f75b0 100644
--- a/sc/uiconfig/scalc/toolbar/formatobjectbar.xml
+++ b/sc/uiconfig/scalc/toolbar/formatobjectbar.xml
@@ -54,12 +54,12 @@
<toolbar:toolbaritem xlink:href=".uno:AlignVCenter" toolbar:style="radio auto"/>
<toolbar:toolbaritem xlink:href=".uno:AlignBottom" toolbar:style="radio auto"/>
<toolbar:toolbarseparator/>
- <toolbar:toolbaritem xlink:href=".uno:NumberFormatStandard" toolbar:tooltip="Format as General" toolbar:visible="false"/>
- <toolbar:toolbaritem xlink:href=".uno:NumberFormatCurrency" toolbar:tooltip="Format as Currency"/>
- <toolbar:toolbaritem xlink:href=".uno:NumberFormatPercent" toolbar:tooltip="Format as Percent"/>
- <toolbar:toolbaritem xlink:href=".uno:NumberFormatDecimal" toolbar:tooltip="Format as Number"/>
- <toolbar:toolbaritem xlink:href=".uno:NumberFormatDate" toolbar:tooltip="Format as Date" toolbar:visible="false"/>
- <toolbar:toolbaritem xlink:href=".uno:NumberFormatScientific" toolbar:tooltip="Format as Scientific" toolbar:visible="false"/>
+ <toolbar:toolbaritem xlink:href=".uno:NumberFormatStandard" toolbar:visible="false"/>
+ <toolbar:toolbaritem xlink:href=".uno:NumberFormatCurrency"/>
+ <toolbar:toolbaritem xlink:href=".uno:NumberFormatPercent"/>
+ <toolbar:toolbaritem xlink:href=".uno:NumberFormatDecimal"/>
+ <toolbar:toolbaritem xlink:href=".uno:NumberFormatDate" toolbar:visible="false"/>
+ <toolbar:toolbaritem xlink:href=".uno:NumberFormatScientific" toolbar:visible="false"/>
<toolbar:toolbaritem xlink:href=".uno:NumberFormatIncDecimals"/>
<toolbar:toolbaritem xlink:href=".uno:NumberFormatDecDecimals"/>
<toolbar:toolbarseparator/>