[gnome-builder] color-picker: translate text and fix extraneous space



commit 8b84357a4a0594ae7dcb1cd818985f6db1acd478
Author: Christian Hergert <chergert redhat com>
Date:   Mon Nov 20 15:05:49 2017 -0800

    color-picker: translate text and fix extraneous space

 src/plugins/color-picker/gb-color-picker-prefs.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/color-picker/gb-color-picker-prefs.c 
b/src/plugins/color-picker/gb-color-picker-prefs.c
index 672faab..ec6c3cf 100644
--- a/src/plugins/color-picker/gb-color-picker-prefs.c
+++ b/src/plugins/color-picker/gb-color-picker-prefs.c
@@ -82,7 +82,9 @@ create_palette_close_dialog (GbColorPickerPrefs *self,
 
   toplevel = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (self->panel)));
   palette_name = gstyle_palette_get_name (palette);
-  text = g_strdup_printf ("Save changes to palette ā€œ%sā€ before closing ?", palette_name);
+  /* translators: %s is replaced with the name of the color palette. */
+  text = g_strdup_printf (_("Save changes to palette ā€œ%sā€ before closing?"),
+                          palette_name);
   dialog = g_object_new (GTK_TYPE_MESSAGE_DIALOG,
                          "text", text,
                          "message-type", GTK_MESSAGE_QUESTION,


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