X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=modules%2Ftweakr-desktop.c;h=173a2a7a1cdb89914e36edc9205ef609ba8f2f2c;hb=dcada50c7e520c3fcbcb105aa1119b370221b229;hp=0aa8a6e3a532139d4adf6562b176162f1d8979d3;hpb=2b50771094f820a12b7f4e55e464e55a3ca255e5;p=tweakr diff --git a/modules/tweakr-desktop.c b/modules/tweakr-desktop.c index 0aa8a6e..173a2a7 100644 --- a/modules/tweakr-desktop.c +++ b/modules/tweakr-desktop.c @@ -3,6 +3,7 @@ */ #include +#include #include #include @@ -140,7 +141,14 @@ tweakr_desktop_section_class_init GtkWidget * _build_snap_to_grid (void) { - const gchar *options[] = {"No", "Small", "Large", "Huge", NULL}; + const gchar *options[] = + { + _("No"), + _("Small"), + _("Large"), + _("Huge"), + NULL + }; gint i = 0; GtkWidget *button, *selector; @@ -156,7 +164,7 @@ GtkWidget * _build_snap_to_grid (void) hildon_gtk_widget_set_theme_size (button, HILDON_SIZE_FINGER_HEIGHT); hildon_button_set_title (HILDON_BUTTON (button), - "Snap icons to grid"); + _("Snap icons to grid")); gtk_button_set_alignment (GTK_BUTTON (button), 0.0f, 0.5f); hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (button), HILDON_TOUCH_SELECTOR (selector)); @@ -210,7 +218,7 @@ tweakr_desktop_section_init (TweakrDesktopSection *section) iface = TWEAKR_SECTION (section); - iface->name = "Desktop"; + iface->name = _("Desktop"); iface->widget = gtk_vbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (iface->widget), section->snap_button, FALSE, FALSE, 0);