[gnome-tetravex] Improve GSchema strings.



commit 6c679d3286e1b31f821a10b2517b88bc58a0d13e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Sep 18 21:34:13 2019 +0200

    Improve GSchema strings.

 data/org.gnome.Tetravex.gschema.xml | 17 ++++++++++++++---
 src/gnome-tetravex.vala             |  1 +
 2 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/data/org.gnome.Tetravex.gschema.xml b/data/org.gnome.Tetravex.gschema.xml
index 712ceee..4730290 100644
--- a/data/org.gnome.Tetravex.gschema.xml
+++ b/data/org.gnome.Tetravex.gschema.xml
@@ -3,20 +3,31 @@
     <key name="grid-size" type="i">
       <default>3</default>
       <range min="2" max="6" />
+      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/Tetravex/grid-size' -->
       <summary>The size of the playing grid</summary>
+      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/Tetravex/grid-size' -->
       <description>The value of this key is used to decide the size of the playing grid.</description>
     </key>
     <key name="window-width" type="i">
       <default>600</default>
-      <summary>Width of the window in pixels</summary>
+      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/Tetravex/window-width' -->
+      <summary>The width of the window</summary>
+      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/Tetravex/window-width' -->
+      <description>The width of the main window in pixels.</description>
     </key>
     <key name="window-height" type="i">
       <default>400</default>
-      <summary>Height of the window in pixels</summary>
+      <!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/Tetravex/window-height' -->
+      <summary>The height of the window</summary>
+      <!-- Translators: description of a settings key, see 'dconf-editor /org/gnome/Tetravex/window-height' 
-->
+      <description>The height of the main window in pixels.</description>
     </key>
     <key name="window-is-maximized" type="b">
       <default>false</default>
-      <summary>true if the window is maximized</summary>
+      <!-- Translators: summary of a settings key, see 'dconf-editor 
/org/gnome/Tetravex/window-is-maximized' -->
+      <summary>A flag to enable maximized mode</summary>
+      <!-- Translators: description of a settings key, see 'dconf-editor 
/org/gnome/Tetravex/window-is-maximized' -->
+      <description>If “true”, the main window starts in maximized mode.</description>
     </key>
   </schema>
 </schemalist>
diff --git a/src/gnome-tetravex.vala b/src/gnome-tetravex.vala
index eb35595..5af8fec 100644
--- a/src/gnome-tetravex.vala
+++ b/src/gnome-tetravex.vala
@@ -408,6 +408,7 @@ private class Tetravex : Gtk.Application
         /* Translators: popup dialog main text; appearing when user clicks the "Give up" button in the 
bottom bar; possible answers are "Keep playing"/"Give up" */
                                                   _("Are you sure you want to give up and view the 
solution?"));
 
+
         /* Translators: popup dialog possible answer (with a mnemonic that appears pressing Alt); appearing 
when user clicks the "Give up" button in the bottom bar; other possible answer is "_Give Up" */
         dialog.add_buttons (_("_Keep Playing"), ResponseType.REJECT,
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]