On Tue, Dec 3, 2013 at 11:50 AM, Juha <[email protected]> wrote: > I am preparing a new release of Orage. I hope it can be done next week.
Patch to add some missing strings to translation.
From e418d0dcee1785f68d863eb6b0d6bb60b353cfb9 Mon Sep 17 00:00:00 2001 From: Sergey Alyoshin <[email protected]> Date: Sun, 8 Dec 2013 16:29:46 +0400 Subject: [PATCH] Add strings to translation --- globaltime/globaltime.c | 2 +- globaltime/gt_prefs.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/globaltime/globaltime.c b/globaltime/globaltime.c index 6121837..757cc0a 100644 --- a/globaltime/globaltime.c +++ b/globaltime/globaltime.c @@ -55,7 +55,7 @@ global_times_struct clocks; char *attr_underline[] = - { "no underline", "single", "double", "low", "END" } ; + { N_("no underline"), N_("single"), N_("double"), N_("low"), "END" } ; static struct tm *get_time(const gchar *tz) diff --git a/globaltime/gt_prefs.c b/globaltime/gt_prefs.c index 25edc6c..1cccebf 100644 --- a/globaltime/gt_prefs.c +++ b/globaltime/gt_prefs.c @@ -443,9 +443,9 @@ static void fill_combo_box(GtkComboBox *combo_box, char **source gint i; for (i = 0; strcmp(source[i], "END"); i++) { - gtk_combo_box_append_text(combo_box, source[i]); + gtk_combo_box_append_text(combo_box, _(source[i])); if ((strcmp(cur_value, "NO VALUE") != 0) - && ((i == 0) || (strcmp(cur_value, source[i]) == 0))) + && ((i == 0) || (strcmp(_(cur_value), _(source[i])) == 0))) gtk_combo_box_set_active(combo_box, i); } } @@ -1086,7 +1086,7 @@ gboolean default_preferences(GtkWidget *widget) dec_group = gtk_radio_button_get_group(GTK_RADIO_BUTTON (button)); button = gtk_radio_button_new_with_label_from_widget( - GTK_RADIO_BUTTON(button), "None"); + GTK_RADIO_BUTTON(button), _("None")); if (!clocks.decorations) gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), TRUE); gtk_box_pack_start(GTK_BOX(hbox), button, TRUE, TRUE, 0); -- 1.7.10.4
_______________________________________________ Xfce-i18n mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce-i18n
