From: Leandro Lucarella Date: Fri, 27 Jul 2012 17:52:36 +0000 (+0200) Subject: Use localized strings in mode buttons X-Git-Tag: v0.4~3 X-Git-Url: https://git.llucax.com/software/sadba.git/commitdiff_plain/07bcec0df6c674e23df77d5d2c93e80cb3386598 Use localized strings in mode buttons --- diff --git a/src/lib-display-blanking-status-menu-widget.c b/src/lib-display-blanking-status-menu-widget.c index 5953c80..4b1dc52 100644 --- a/src/lib-display-blanking-status-menu-widget.c +++ b/src/lib-display-blanking-status-menu-widget.c @@ -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);