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

Olivier Hallot (via logerrit) logerrit at kemper.freedesktop.org
Sun Jul 12 16:27:12 UTC 2020


 cui/uiconfig/ui/breaknumberoption.ui      |   23 +++++++++++++---
 cui/uiconfig/ui/editdictionarydialog.ui   |   43 +++++++++++++++++++++++++++---
 cui/uiconfig/ui/optlingupage.ui           |   41 +++++++++++++++++++++++++---
 cui/uiconfig/ui/optnewdictionarydialog.ui |   24 +++++++++++++++-
 4 files changed, 117 insertions(+), 14 deletions(-)

New commits:
commit 66977fbfa23a6d48c64d72d44264de90abddad53
Author:     Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Fri Jul 10 22:29:48 2020 -0300
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Sun Jul 12 18:26:34 2020 +0200

    tdf#118148 Extended tips in lingu compnents
    
    Change-Id: I9bec436149f34b890884fefe44cd8a3d8420ce3a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98551
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/cui/uiconfig/ui/breaknumberoption.ui b/cui/uiconfig/ui/breaknumberoption.ui
index 2f70c5e85340..dcb81cd033f5 100644
--- a/cui/uiconfig/ui/breaknumberoption.ui
+++ b/cui/uiconfig/ui/breaknumberoption.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.1 -->
+<!-- Generated with glade 3.36.0 -->
 <interface domain="cui">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkAdjustment" id="adjustment1">
@@ -18,9 +18,6 @@
     <property name="default_width">0</property>
     <property name="default_height">0</property>
     <property name="type_hint">dialog</property>
-    <child>
-      <placeholder/>
-    </child>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox1">
         <property name="can_focus">False</property>
@@ -92,6 +89,11 @@
                         <property name="halign">start</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustment1</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="beforebreak-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="beforebreak">Sets the minimum number of characters of the word to be hyphenated that must remain at the end of the line.</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>
@@ -131,6 +133,11 @@
                         <property name="halign">start</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustment1</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="afterbreak-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="afterbreak">Specifies the minimum number of characters of a hyphenated word required at the next line.</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>
@@ -170,6 +177,11 @@
                         <property name="halign">start</property>
                         <property name="activates_default">True</property>
                         <property name="adjustment">adjustment1</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="wordlength-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="wordlength">Specifies the minimum number of characters required for automatic hyphenation to be applied.</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>
@@ -203,5 +215,8 @@
       <action-widget response="-5">ok</action-widget>
       <action-widget response="-6">cancel</action-widget>
     </action-widgets>
+    <child type="titlebar">
+      <placeholder/>
+    </child>
   </object>
 </interface>
diff --git a/cui/uiconfig/ui/editdictionarydialog.ui b/cui/uiconfig/ui/editdictionarydialog.ui
index 066f7155c9a0..a8c4b63a14da 100644
--- a/cui/uiconfig/ui/editdictionarydialog.ui
+++ b/cui/uiconfig/ui/editdictionarydialog.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.1 -->
+<!-- Generated with glade 3.36.0 -->
 <interface domain="cui">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkTreeStore" id="liststore1">
@@ -28,9 +28,6 @@
     <property name="default_width">0</property>
     <property name="default_height">0</property>
     <property name="type_hint">dialog</property>
-    <child>
-      <placeholder/>
-    </child>
     <child internal-child="vbox">
       <object class="GtkBox" id="dialog-vbox1">
         <property name="can_focus">False</property>
@@ -91,6 +88,11 @@
               <object class="GtkComboBoxText" id="book">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="book-atkobject">
+                    <property name="AtkObject::accessible-description" translatable="yes" context="book">Specifies the book to be edited.</property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="left_attach">1</property>
@@ -101,6 +103,11 @@
               <object class="GtkComboBoxText" id="lang">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="lang-atkobject">
+                    <property name="AtkObject::accessible-description" translatable="yes" context="lang">Assigns a new language to the current custom dictionary.</property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="left_attach">1</property>
@@ -168,6 +175,11 @@
                         <property name="can_focus">True</property>
                         <property name="hexpand">True</property>
                         <property name="activates_default">True</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="replace-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="replace">This input field is only available if you are editing an exception dictionary or a language-dependent custom dictionary. In exception dictionaries, the field shows the alternative suggestion for the current word in the "Word" text box. In language-dependent custom dictionaries, the field contains a known root word, as a model of affixation of the new word or its usage in compound words. For example, in a German custom dictionary, the new word “Litschi” (lychee) with the model word “Gummi” (gum) will result recognition of “Litschis” (lychees), “Litschibaum” (lychee tree), “Litschifrucht” (lychee fruit) etc.</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left_attach">1</property>
@@ -180,6 +192,11 @@
                         <property name="can_focus">True</property>
                         <property name="hexpand">True</property>
                         <property name="activates_default">True</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="word-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="word">You can type a new word for inclusion in the dictionary. In the list below you will see the contents of the current custom dictionary.</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -338,6 +355,11 @@
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
                     <property name="use_underline">True</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="newreplace-atkobject">
+                        <property name="AtkObject::accessible-description" translatable="yes" context="newreplace">Adds the word in the Word text field to your current custom dictionary. The word in the Suggestion field is also added when working with exception dictionaries.</property>
+                      </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -352,6 +374,11 @@
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
                     <property name="use_underline">True</property>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="delete-atkobject">
+                        <property name="AtkObject::accessible-description" translatable="yes" context="delete">Removes the marked word from the current custom dictionary.</property>
+                      </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -379,5 +406,13 @@
       <action-widget response="-11">help</action-widget>
       <action-widget response="-7">close</action-widget>
     </action-widgets>
+    <child type="titlebar">
+      <placeholder/>
+    </child>
+    <child internal-child="accessible">
+      <object class="AtkObject" id="EditDictionaryDialog-atkobject">
+        <property name="AtkObject::accessible-description" translatable="yes" context="EditDictionaryDialog">In the Edit Custom Dictionary dialog you have the option to enter new terms or edit existing entries.</property>
+      </object>
+    </child>
   </object>
 </interface>
diff --git a/cui/uiconfig/ui/optlingupage.ui b/cui/uiconfig/ui/optlingupage.ui
index 0db68cbdaea1..5bcb22dde7ad 100644
--- a/cui/uiconfig/ui/optlingupage.ui
+++ b/cui/uiconfig/ui/optlingupage.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.22.1 -->
+<!-- Generated with glade 3.36.0 -->
 <interface domain="cui">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkTreeStore" id="liststore2">
@@ -106,7 +106,7 @@
                               <object class="GtkTreeViewColumn" id="treeviewcolumn4">
                                 <property name="resizable">True</property>
                                 <property name="spacing">6</property>
-                                <property name="alignment">0.5</property>
+                                <property name="alignment">0,50000000000000000000</property>
                                 <child>
                                   <object class="GtkCellRendererToggle" id="cellrenderer5"/>
                                   <attributes>
@@ -128,6 +128,11 @@
                                 </child>
                               </object>
                             </child>
+                            <child internal-child="accessible">
+                              <object class="AtkObject" id="lingumodules-atkobject">
+                                <property name="AtkObject::accessible-description" translatable="yes" context="lingumodules">Contains the installed language modules.</property>
+                              </object>
+                            </child>
                           </object>
                         </child>
                       </object>
@@ -147,6 +152,7 @@
                         <child internal-child="accessible">
                           <object class="AtkObject" id="lingumodulesedit-atkobject">
                             <property name="AtkObject::accessible-name" translatable="yes" context="optlingupage|lingumodulesedit-atkobject">Edit Available language modules</property>
+                            <property name="AtkObject::accessible-description" translatable="yes" context="lingumodulesedit">To edit a language module, select it and click Edit.</property>
                           </object>
                         </child>
                       </object>
@@ -227,7 +233,7 @@
                           <object class="GtkTreeViewColumn" id="treeviewcolumn44">
                             <property name="resizable">True</property>
                             <property name="spacing">6</property>
-                            <property name="alignment">0.5</property>
+                            <property name="alignment">0,50000000000000000000</property>
                             <child>
                               <object class="GtkCellRendererToggle" id="cellrenderer55"/>
                               <attributes>
@@ -249,6 +255,11 @@
                             </child>
                           </object>
                         </child>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="lingudicts-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="lingudicts">Lists the available user dictionaries.</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>
@@ -271,6 +282,11 @@
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
                         <property name="use_underline">True</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="lingudictsnew-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="lingudictsnew">Opens the New Dictionary dialog, in which you can name a new user-defined dictionary or dictionary of exceptions and specify the language.</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="expand">False</property>
@@ -288,6 +304,7 @@
                         <child internal-child="accessible">
                           <object class="AtkObject" id="lingudictsedit-atkobject">
                             <property name="AtkObject::accessible-name" translatable="yes" context="optlingupage|lingudictsedit-atkobject">Edit User-defined dictionaries</property>
+                            <property name="AtkObject::accessible-description" translatable="yes" context="lingudictsedit">Opens the Edit custom dictionary dialog, in which you can add to your custom dictionary or edit existing entries.</property>
                           </object>
                         </child>
                       </object>
@@ -304,6 +321,11 @@
                         <property name="can_focus">True</property>
                         <property name="receives_default">True</property>
                         <property name="use_underline">True</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="lingudictsdelete-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="lingudictsdelete">Deletes the selected dictionary after a confirmation, provided it is not write-protected.</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="expand">False</property>
@@ -401,7 +423,7 @@
                           <object class="GtkTreeViewColumn" id="treeviewcolumn444">
                             <property name="resizable">True</property>
                             <property name="spacing">6</property>
-                            <property name="alignment">0.5</property>
+                            <property name="alignment">0,50000000000000000000</property>
                             <child>
                               <object class="GtkCellRendererToggle" id="cellrenderer555"/>
                               <attributes>
@@ -423,6 +445,11 @@
                             </child>
                           </object>
                         </child>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="linguoptions-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="linguoptions">Defines the options for the spellcheck and hyphenation.</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                   </object>
@@ -442,6 +469,7 @@
                     <child internal-child="accessible">
                       <object class="AtkObject" id="linguoptionsedit-atkobject">
                         <property name="AtkObject::accessible-name" translatable="yes" context="optlingupage|linguoptionsedit-atkobject">Edit Options</property>
+                        <property name="AtkObject::accessible-description" translatable="yes" context="linguoptionsedit">If you want to change a value, select the entry and then click Edit.</property>
                       </object>
                     </child>
                   </object>
@@ -473,6 +501,11 @@
         <property name="top_attach">2</property>
       </packing>
     </child>
+    <child internal-child="accessible">
+      <object class="AtkObject" id="OptLinguPage-atkobject">
+        <property name="AtkObject::accessible-description" translatable="yes" context="OptLinguPage">Specifies the properties of the spelling, thesaurus and hyphenation.</property>
+      </object>
+    </child>
   </object>
   <object class="GtkSizeGroup" id="sizegroup1">
     <widgets>
diff --git a/cui/uiconfig/ui/optnewdictionarydialog.ui b/cui/uiconfig/ui/optnewdictionarydialog.ui
index 1ba69e74af8d..57ed928c50a6 100644
--- a/cui/uiconfig/ui/optnewdictionarydialog.ui
+++ b/cui/uiconfig/ui/optnewdictionarydialog.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.20.4 -->
+<!-- Generated with glade 3.36.0 -->
 <interface domain="cui">
   <requires lib="gtk+" version="3.18"/>
   <object class="GtkDialog" id="OptNewDictionaryDialog">
@@ -99,6 +99,11 @@
                         <property name="max_length">32</property>
                         <property name="activates_default">True</property>
                         <property name="width_chars">32</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="nameedit-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="nameedit">Specifies the name of the new custom dictionary.</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left_attach">1</property>
@@ -142,6 +147,11 @@
                         <property name="use_underline">True</property>
                         <property name="xalign">0</property>
                         <property name="draw_indicator">True</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="except-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="except">Specifies whether you wish to avoid certain words in your documents.</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -160,6 +170,11 @@
                             <property name="activates_default">True</property>
                           </object>
                         </child>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="language-atkobject">
+                            <property name="AtkObject::accessible-description" translatable="yes" context="language">By selecting a certain language you can limit the use of the custom dictionary.</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left_attach">1</property>
@@ -194,8 +209,13 @@
       <action-widget response="-6">cancel</action-widget>
       <action-widget response="-11">help</action-widget>
     </action-widgets>
-    <child>
+    <child type="titlebar">
       <placeholder/>
     </child>
+    <child internal-child="accessible">
+      <object class="AtkObject" id="OptNewDictionaryDialog-atkobject">
+        <property name="AtkObject::accessible-description" translatable="yes" context="OptNewDictionaryDialog">In the Dictionary section you can name a new user-defined dictionary or dictionary of exceptions and specify the language.</property>
+      </object>
+    </child>
   </object>
 </interface>


More information about the Libreoffice-commits mailing list