From d5948eb6e547bc140e9703c4cec1d9377da46a88 Mon Sep 17 00:00:00 2001 From: Andre Klapper Date: Sun, 12 Feb 2006 04:43:02 +0000 Subject: added translator comments for some occurrences of heavy sentence 2006-02-12 Andre Klapper * gui/dialogs/recurrence-page.glade: * gui/dialogs/recurrence-page.c: added translator comments for some occurrences of heavy sentence splitting. Hopefully fixes bug 329695. svn path=/trunk/; revision=31488 --- calendar/ChangeLog | 7 +++++ calendar/gui/dialogs/recurrence-page.c | 42 +++++++++++++++++++++++++++++- calendar/gui/dialogs/recurrence-page.glade | 29 ++++++++++++++------- 3 files changed, 67 insertions(+), 11 deletions(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 630444d0f7..d219d420b4 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2006-02-12 Andre Klapper + + * gui/dialogs/recurrence-page.glade: + * gui/dialogs/recurrence-page.c: + added translator comments for some occurrences of heavy sentence + splitting. Hopefully fixes bug 329695. + 2006-02-11 Andre Klapper * gui/dialogs/recurrence-page.c: * gui/alarm-notify/util.c: diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index d37d13a813..56db01e25c 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -923,6 +923,8 @@ make_weekly_special (RecurrencePage *rpage) hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (priv->special), hbox); + /* TRANSLATORS: Entire string is for example: This appointment recurs/Every [x] week(s) on [Wednesday] [forever]' + * (dropdown menu options are in [square brackets]). This means that after the 'on', name of a week day always follows. */ label = gtk_label_new (_("on")); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 6); @@ -983,11 +985,31 @@ static GtkWidget * make_recur_month_num_menu (int month_index) { static const char *options[] = { + /* TRANSLATORS: Entire string is for example: This appointment recurs/Every [x] month(s) on the [first] [Monday] [forever]' + * (dropdown menu options are in [square brackets]). This means that after 'first', either the string 'day' or + * the name of a week day (like 'Monday' or 'Friday') always follow. + */ N_("first"), - /* TRANSLATORS: here, "second" is the ordinal number (like "third"), not the time division (like "minute") */ + /* TRANSLATORS: here, "second" is the ordinal number (like "third"), not the time division (like "minute") + * Entire string is for example: This appointment recurs/Every [x] month(s) on the [second] [Monday] [forever]' + * (dropdown menu options are in [square brackets]). This means that after 'second', either the string 'day' or + * the name of a week day (like 'Monday' or 'Friday') always follow. + */ N_("second"), + /* TRANSLATORS: Entire string is for example: This appointment recurs/Every [x] month(s) on the [third] [Monday] [forever]' + * (dropdown menu options are in [square brackets]). This means that after 'third', either the string 'day' or + * the name of a week day (like 'Monday' or 'Friday') always follow. + */ N_("third"), + /* TRANSLATORS: Entire string is for example: This appointment recurs/Every [x] month(s) on the [fourth] [Monday] [forever]' + * (dropdown menu options are in [square brackets]). This means that after 'fourth', either the string 'day' or + * the name of a week day (like 'Monday' or 'Friday') always follow. + */ N_("fourth"), + /* TRANSLATORS: Entire string is for example: This appointment recurs/Every [x] month(s) on the [last] [Monday] [forever]' + * (dropdown menu options are in [square brackets]). This means that after 'last', either the string 'day' or + * the name of a week day (like 'Monday' or 'Friday') always follow. + */ N_("last") }; @@ -1011,14 +1033,29 @@ make_recur_month_num_menu (int month_index) /* Other Submenu */ submenu = gtk_menu_new (); + + /* TRANSLATORS: Entire string is for example: This appointment recurs/Every [x] month(s) on the [Other date] [11th to 20th] [17th] [forever]' + * (dropdown menu options are in [square brackets]). */ submenu_item = gtk_menu_item_new_with_label (_("Other Date")); gtk_menu_shell_append(GTK_MENU_SHELL(menu), submenu_item); gtk_widget_show (submenu_item); + /* TRANSLATORS: This is a submenu option string to split the date range into three submenus to choose the exact day of + * the month to setup an appointment recurrence. The entire string is for example: This appointment recurs/Every [x] month(s) + * on the [Other date] [1st to 10th] [7th] [forever]' (dropdown menu options are in [square brackets]). + */ item = make_recur_month_num_submenu ("1st to 10th", 0, 10); gtk_menu_shell_append(GTK_MENU_SHELL(submenu), item); + /* TRANSLATORS: This is a submenu option string to split the date range into three submenus to choose the exact day of + * the month to setup an appointment recurrence. The entire string is for example: This appointment recurs/Every [x] month(s) + * on the [Other date] [11th to 20th] [17th] [forever]' (dropdown menu options are in [square brackets]). + */ item = make_recur_month_num_submenu ("11th to 20th", 10, 20); gtk_menu_shell_append(GTK_MENU_SHELL(submenu), item); + /* TRANSLATORS: This is a submenu option string to split the date range into three submenus to choose the exact day of + * the month to setup an appointment recurrence. The entire string is for example: This appointment recurs/Every [x] month(s) + * on the [Other date] [21th to 31th] [27th] [forever]' (dropdown menu options are in [square brackets]). + */ item = make_recur_month_num_submenu ("21st to 31st", 20, 31); gtk_menu_shell_append(GTK_MENU_SHELL(submenu), item); @@ -1176,6 +1213,9 @@ make_monthly_special (RecurrencePage *rpage) hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (priv->special), hbox); + /* TRANSLATORS: Entire string is for example: 'This appointment recurs/Every [x] month(s) on the [second] [Tuesday] [forever]' + * (dropdown menu options are in [square brackets])." + */ label = gtk_label_new (_("on the")); gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 6); diff --git a/calendar/gui/dialogs/recurrence-page.glade b/calendar/gui/dialogs/recurrence-page.glade index bcbfb7748e..62654322b0 100644 --- a/calendar/gui/dialogs/recurrence-page.glade +++ b/calendar/gui/dialogs/recurrence-page.glade @@ -4,7 +4,7 @@ - window1 + window1 GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False @@ -81,7 +81,8 @@ True True - This appointment rec_urs + This appointment rec_urs True GTK_RELIEF_NORMAL True @@ -111,7 +112,8 @@ True - Every + Every False False GTK_JUSTIFY_CENTER @@ -161,7 +163,8 @@ True - day(s) + day(s) True @@ -169,7 +172,8 @@ True - week(s) + week(s) True @@ -177,14 +181,16 @@ True - month(s) + month(s) True - True + True year(s) True @@ -235,7 +241,8 @@ True - for + for True @@ -243,7 +250,8 @@ True - until + until True @@ -251,7 +259,8 @@ True - forever + forever True -- cgit v1.2.3