[gnome-builder/wip/slaf/colorpicker] gstyle: allow i18n for Unsaved palette label



commit 47b51420e2de536a6a7315872131e4671fbd61fc
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Thu Jul 14 17:24:07 2016 +0200

    gstyle: allow i18n for Unsaved palette label

 contrib/gstyle/gstyle-palette-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/gstyle/gstyle-palette-widget.c b/contrib/gstyle/gstyle-palette-widget.c
index eb50bd0..2ceb09d 100644
--- a/contrib/gstyle/gstyle-palette-widget.c
+++ b/contrib/gstyle/gstyle-palette-widget.c
@@ -844,7 +844,7 @@ gstyle_palette_widget_add (GstylePaletteWidget *self,
   palette_name = gstyle_palette_get_name (palette);
   if (gstyle_str_empty0 (palette_name))
     {
-      name = g_strdup_printf ("Unsaved palette %u", unsaved_palette_count++);
+      name = g_strdup_printf (_("Unsaved palette %u"), unsaved_palette_count++);
       gstyle_palette_set_name (palette, name);
       g_free (name);
     }


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