[gnome-session] session: Remove double-space in string



commit 644259516fc82ec7eb0746032496627da8c8e65e
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Jan 13 19:56:59 2013 +0100

    session: Remove double-space in string
    
    And mark the .ui file's string as not translatable as it will
    be replaced by code anyway.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686694

 data/gsm-inhibit-dialog.ui         |    2 +-
 gnome-session/gsm-inhibit-dialog.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/gsm-inhibit-dialog.ui b/data/gsm-inhibit-dialog.ui
index 588caa1..b9cb2e1 100644
--- a/data/gsm-inhibit-dialog.ui
+++ b/data/gsm-inhibit-dialog.ui
@@ -52,7 +52,7 @@
         <property name="xalign">0</property>
         <property name="yalign">0</property>
         <property name="margin-bottom">18</property>
-        <property name="label" translatable="yes">Waiting for the program to finish.  Interrupting the program may cause you to lose work.</property>
+        <property name="label" translatable="no">Waiting for the program to finish. Interrupting the program may cause you to lose work.</property>
         <property name="wrap">True</property>
       </object>
       <packing>
diff --git a/gnome-session/gsm-inhibit-dialog.c b/gnome-session/gsm-inhibit-dialog.c
index 986cf2c..5860061 100644
--- a/gnome-session/gsm-inhibit-dialog.c
+++ b/gnome-session/gsm-inhibit-dialog.c
@@ -509,11 +509,11 @@ update_dialog_text (GsmInhibitDialog *dialog)
         if (model_has_one_entry (GTK_TREE_MODEL (dialog->priv->list_store))) {
                 g_debug ("Found one entry in model");
                 header_text = _("A program is still running:");
-                description_text = _("Waiting for the program to finish.  Interrupting the program may cause you to lose work.");
+                description_text = _("Waiting for the program to finish. Interrupting the program may cause you to lose work.");
         } else {
                 g_debug ("Found multiple entries (or none) in model");
                 header_text = _("Some programs are still running:");
-                description_text = _("Waiting for programs to finish.  Interrupting these programs may cause you to lose work.");
+                description_text = _("Waiting for programs to finish. Interrupting these programs may cause you to lose work.");
         }
 
         widget = GTK_WIDGET (gtk_builder_get_object (dialog->priv->xml,



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