]> git.llucax.com Git - software/sadba.git/commitdiff
Use localized strings in mode buttons
authorLeandro Lucarella <llucax@gmail.com>
Fri, 27 Jul 2012 17:52:36 +0000 (19:52 +0200)
committerLeandro Lucarella <llucax@gmail.com>
Fri, 27 Jul 2012 17:55:03 +0000 (19:55 +0200)
src/lib-display-blanking-status-menu-widget.c

index 5953c80952ed39baff4c7e291e6f4730bd6a5d10..4b1dc52417652ca3205331942edad2d2f9b0d05e 100644 (file)
@@ -181,7 +181,8 @@ on_mode_button_clicked (GtkWidget *button,
         GtkWidget *button =
                 hildon_button_new_with_text (HILDON_SIZE_FINGER_HEIGHT,
                     HILDON_BUTTON_ARRANGEMENT_VERTICAL,
-                    _DisplayBlankingDescription[i], NULL);
+                    dgettext (GETTEXT_DOM, (_DisplayBlankingDescription[i])),
+                    NULL);
         GtkWidget *icon = gtk_image_new_from_icon_name (mode_icon_name[i],
                 GTK_ICON_SIZE_DIALOG);
         hildon_button_set_image (HILDON_BUTTON (button), icon);