[Libreoffice-commits] core.git: cui/uiconfig sw/uiconfig

Seth Chaiklin (via logerrit) logerrit at kemper.freedesktop.org
Fri Jan 29 08:52:22 UTC 2021


 cui/uiconfig/ui/spellingdialog.ui   |   16 +++++++++++-----
 sw/uiconfig/swriter/ui/spellmenu.ui |    7 ++++---
 2 files changed, 15 insertions(+), 8 deletions(-)

New commits:
commit f51119a37864bca35737898a8cbba9345e09b124
Author:     Seth Chaiklin <sdc.blanco at youmail.dk>
AuthorDate: Mon Jan 25 09:18:29 2021 +0100
Commit:     Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Fri Jan 29 09:51:46 2021 +0100

    tdf#75923 "Always Correct" to "Add to AutoCorrect" in Spelling dialog
    
      * improve choices for accelerator keys
      + add tooltip for "Add to AutoCorrect"
      + add missing extended tip for "Add to Dictionary"
    
      * change "Always correct to" to "Always AutoCorrect to"
        in Spelling context menu.
      + add tooltip for "Always AutoCorrect to"
    
    Change-Id: I54428fcd03ed7205a503935c77a7e08f9682bb1e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109809
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>

diff --git a/cui/uiconfig/ui/spellingdialog.ui b/cui/uiconfig/ui/spellingdialog.ui
index 368e9506efe5..81458c8ff92a 100644
--- a/cui/uiconfig/ui/spellingdialog.ui
+++ b/cui/uiconfig/ui/spellingdialog.ui
@@ -272,7 +272,7 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="hexpand">True</property>
-                    <property name="label" translatable="yes" context="spellingdialog|notindictft">_Not in dictionary</property>
+                    <property name="label" translatable="yes" context="spellingdialog|notindictft">_Not in Dictionary</property>
                     <property name="use_underline">True</property>
                     <property name="mnemonic_widget">sentence</property>
                     <property name="xalign">0</property>
@@ -482,16 +482,17 @@
                 </child>
                 <child>
                   <object class="GtkButton" id="autocorrect">
-                    <property name="label" translatable="yes" context="spellingdialog|autocorrect">Alwa_ys Correct</property>
+                    <property name="label" translatable="yes" context="spellingdialog|autocorrect">Add to _AutoCorrect</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
+                    <property name="tooltip_text" translatable="yes" context="spellingdialog|autocorrect">Add selected suggestion as replacement for incorrect word in AutoCorrect replacement table.</property>
                     <property name="valign">center</property>
                     <property name="hexpand">True</property>
                     <property name="use_underline">True</property>
                     <child internal-child="accessible">
                       <object class="AtkObject" id="autocorrect-atkobject">
-                        <property name="AtkObject::accessible-description" translatable="yes" context="spellingdialog|extended_tip|autocorrect">Adds the current combination of the incorrect word and the replacement word to the AutoCorrect replacements table.</property>
+                        <property name="AtkObject::accessible-description" translatable="yes" context="spellingdialog|extended_tip|autocorrect">Adds the current combination of the incorrect word and the replacement word to the AutoCorrect replacement table.</property>
                       </object>
                     </child>
                   </object>
@@ -575,13 +576,18 @@
                 </child>
                 <child>
                   <object class="GtkButton" id="add">
-                    <property name="label" translatable="yes" context="spellingdialog|add">_Add to Dictionary</property>
+                    <property name="label" translatable="yes" context="spellingdialog|add">Add to _Dictionary</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
                     <property name="valign">center</property>
                     <property name="hexpand">True</property>
                     <property name="use_underline">True</property>
+                    <child internal-child="accessible">
+                     <object class="AtkObject" id="addmb-atkobject">
+                       <property name="AtkObject::accessible-description" translatable="yes" context="spellingdialog|extended_tip|add">Adds the unknown word to a user-defined dictionary.</property>
+                     </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
@@ -590,7 +596,7 @@
                 </child>
                 <child>
                   <object class="GtkMenuButton" id="addmb">
-                    <property name="label" translatable="yes" context="spellingdialog|addmb">_Add to Dictionary</property>
+                    <property name="label" translatable="yes" context="spellingdialog|addmb">Add to _Dictionary</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
                     <property name="no_show_all">True</property>
diff --git a/sw/uiconfig/swriter/ui/spellmenu.ui b/sw/uiconfig/swriter/ui/spellmenu.ui
index 81383c2aebe7..749f0c25531e 100644
--- a/sw/uiconfig/swriter/ui/spellmenu.ui
+++ b/sw/uiconfig/swriter/ui/spellmenu.ui
@@ -17,7 +17,7 @@
       <object class="GtkMenuItem" id="addmenu">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="label" translatable="yes" context="spellmenu|addmenu">_Add to Dictionary</property>
+        <property name="label" translatable="yes" context="spellmenu|addmenu">Add to _Dictionary</property>
         <property name="use_underline">True</property>
         <child type="submenu">
           <object class="GtkMenu">
@@ -31,7 +31,7 @@
       <object class="GtkMenuItem" id="add">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="label" translatable="yes" context="spellmenu|add">_Add to Dictionary</property>
+        <property name="label" translatable="yes" context="spellmenu|add">Add to _Dictionary</property>
         <property name="use_underline">True</property>
       </object>
     </child>
@@ -52,7 +52,8 @@
       <object class="GtkMenuItem" id="correctmenu">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="label" translatable="yes" context="spellmenu|correctmenu">Always correct _to</property>
+        <property name="label" translatable="yes" context="spellmenu|correctmenu">Always AutoCorrect _to</property>
+        <property name="tooltip_text" translatable="yes" context="spellmenu|correctmenu">Add selected correction as replacement for incorrect word in AutoCorrect replacement table.</property>
         <child type="submenu">
           <object class="GtkMenu">
             <property name="visible">True</property>


More information about the Libreoffice-commits mailing list