tdf#146294 Fix extended tooltips for Next/Previous buttons
This patch also adds normal tooltips for the four navigation buttons.
The corresponding help page will be updated in a subsequent patch.
Change-Id: Ib7d77a643847e417cd66cf872739e39187555df1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127950
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
diff --git a/sw/uiconfig/swriter/ui/indexentry.ui b/sw/uiconfig/swriter/ui/indexentry.ui
index 6d4db8e..cadb430 100644
--- a/sw/uiconfig/swriter/ui/indexentry.ui
+++ b/sw/uiconfig/swriter/ui/indexentry.ui
@@ -536,6 +536,7 @@
<property name="valign">center</property>
<property name="image">image2</property>
<property name="always-show-image">True</property>
<property name="tooltip_text" translatable="yes" context="indexentry|previous|tooltip_text">Previous entry</property>
<child internal-child="accessible">
<object class="AtkObject" id="previous-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="indexentry|extended_tip|previous">Jumps to the previous index entry of the same type in the document.</property>
@@ -556,6 +557,7 @@
<property name="valign">center</property>
<property name="image">image3</property>
<property name="always-show-image">True</property>
<property name="tooltip_text" translatable="yes" context="indexentry|next|tooltip_text">Next entry</property>
<child internal-child="accessible">
<object class="AtkObject" id="next-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="indexentry|extended_tip|next">Jumps to the next index entry of the same type in the document.</property>
@@ -576,9 +578,10 @@
<property name="valign">center</property>
<property name="image">image4</property>
<property name="always-show-image">True</property>
<property name="tooltip_text" translatable="yes" context="indexentry|first|tooltip_text">Previous entry (same name)</property>
<child internal-child="accessible">
<object class="AtkObject" id="first-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="indexentry|extended_tip|first">Jumps to the first index entry of the same type in the document.</property>
<property name="AtkObject::accessible-description" translatable="yes" context="indexentry|extended_tip|first">Jumps to the previous index entry of the same type and with the same name in the document.</property>
</object>
</child>
</object>
@@ -596,9 +599,10 @@
<property name="valign">center</property>
<property name="image">image5</property>
<property name="always-show-image">True</property>
<property name="tooltip_text" translatable="yes" context="indexentry|last|tooltip_text">Next entry (same name)</property>
<child internal-child="accessible">
<object class="AtkObject" id="last-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="indexentry|extended_tip|last">Jumps to the last index entry of the same type in the document.</property>
<property name="AtkObject::accessible-description" translatable="yes" context="indexentry|extended_tip|last">Jumps to the next index entry of the same type and with the same name in the document.</property>
</object>
</child>
</object>