*/
#include <config.h>
+#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <hildon/hildon-picker-button.h>
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;
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));
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);