aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorAndre Klapper <a9016009@gmx.de>2006-02-12 12:43:02 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-02-12 12:43:02 +0800
commitd5948eb6e547bc140e9703c4cec1d9377da46a88 (patch)
tree905d6b0bd5b2202ad29d307d23e2c352322ffe9d /calendar/gui
parent4a41419f83a6532a713387109079411217dab105 (diff)
downloadgsoc2013-evolution-d5948eb6e547bc140e9703c4cec1d9377da46a88.tar.gz
gsoc2013-evolution-d5948eb6e547bc140e9703c4cec1d9377da46a88.tar.zst
gsoc2013-evolution-d5948eb6e547bc140e9703c4cec1d9377da46a88.zip
added translator comments for some occurrences of heavy sentence
2006-02-12 Andre Klapper <a9016009@gmx.de> * 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
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/recurrence-page.c42
-rw-r--r--calendar/gui/dialogs/recurrence-page.glade29
2 files changed, 60 insertions, 11 deletions
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 @@
<glade-interface>
<widget class="GtkWindow" id="recurrence-toplevel">
- <property name="title" translatable="yes">window1</property>
+ <property name="title" translatable="no">window1</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
<property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property>
@@ -81,7 +81,8 @@
<widget class="GtkCheckButton" id="recurs">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">This appointment rec_urs</property>
+ <property name="label" translatable="yes" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][day(s)][for][1]occurrences' (dropdown menu options are in [square brackets])">This appointment rec_urs</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
@@ -111,7 +112,8 @@
<child>
<widget class="GtkLabel" id="label68">
<property name="visible">True</property>
- <property name="label" translatable="yes">Every</property>
+ <property name="label" translatable="yes" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][day(s)][for][1]occurrences' (dropdown menu options are in [square brackets])">Every</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_CENTER</property>
@@ -161,7 +163,8 @@
<child>
<widget class="GtkMenuItem" id="convertwidget2">
<property name="visible">True</property>
- <property name="label" translatable="yes">day(s)</property>
+ <property name="label" translatable="yes" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][day(s)][for][1]occurrences' (dropdown menu options are in [square brackets])">day(s)</property>
<property name="use_underline">True</property>
</widget>
</child>
@@ -169,7 +172,8 @@
<child>
<widget class="GtkMenuItem" id="convertwidget3">
<property name="visible">True</property>
- <property name="label" translatable="yes">week(s)</property>
+ <property name="label" translatable="yes" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][week(s)][for][1]occurrences' (dropdown menu options are in [square brackets])">week(s)</property>
<property name="use_underline">True</property>
</widget>
</child>
@@ -177,14 +181,16 @@
<child>
<widget class="GtkMenuItem" id="convertwidget4">
<property name="visible">True</property>
- <property name="label" translatable="yes">month(s)</property>
+ <property name="label" translatable="yes" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][month(s)][for][1]occurrences' (dropdown menu options are in [square brackets])">month(s)</property>
<property name="use_underline">True</property>
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="convertwidget5">
- <property name="visible">True</property>
+ <property name="visible" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][year(s)][for][1]occurrences' (dropdown menu options are in [square brackets])">True</property>
<property name="label" translatable="yes">year(s)</property>
<property name="use_underline">True</property>
</widget>
@@ -235,7 +241,8 @@
<child>
<widget class="GtkMenuItem" id="convertwidget7">
<property name="visible">True</property>
- <property name="label" translatable="yes">for</property>
+ <property name="label" translatable="yes" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][day(s)][for][1]occurrences' (dropdown menu options are in [square brackets])">for</property>
<property name="use_underline">True</property>
</widget>
</child>
@@ -243,7 +250,8 @@
<child>
<widget class="GtkMenuItem" id="convertwidget8">
<property name="visible">True</property>
- <property name="label" translatable="yes">until</property>
+ <property name="label" translatable="yes" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][day(s)][until][2006/01/01]' (dropdown menu options are in [square brackets])">until</property>
<property name="use_underline">True</property>
</widget>
</child>
@@ -251,7 +259,8 @@
<child>
<widget class="GtkMenuItem" id="convertwidget9">
<property name="visible">True</property>
- <property name="label" translatable="yes">forever</property>
+ <property name="label" translatable="yes" comments="TRANSLATORS: Entire string is for example:
+ 'This appointment recurs/Every[x][day(s)][forever]' (dropdown menu options are in [square brackets])">forever</property>
<property name="use_underline">True</property>
</widget>
</child>