diff options
author | Milan Crha <mcrha@redhat.com> | 2009-12-24 00:11:59 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-12-24 00:11:59 +0800 |
commit | 3f36489c67887491385086180147a7e4475a349d (patch) | |
tree | 7329bf876160e9d9db57630303aa2e128708fb1c /calendar/gui/dialogs | |
parent | 6df525477e6bbee76f53a989f51f8aace6cd58cf (diff) | |
download | gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.gz gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.bz2 gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.lz gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.xz gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.zst gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.zip |
Bug #329693 - Add contexts to translated "None" words
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.c | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/cal-prefs-dialog.ui | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 3 |
3 files changed, 6 insertions, 4 deletions
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index fafa308ff9..dde359dcba 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -103,7 +103,8 @@ update_day_second_zone_caption (CalendarPrefsDialog *prefs) g_return_if_fail (prefs != NULL); - caption = _("None"); + /* Translators: "None" indicates no second time zone set for a day view */ + caption = C_("cal-second-zone", "None"); location = calendar_config_get_day_second_zone (); if (location && *location) { @@ -152,7 +153,7 @@ day_second_zone_clicked (GtkWidget *widget, CalendarPrefsDialog *prefs) g_free (location); group = NULL; - item = gtk_radio_menu_item_new_with_label (group, _("None")); + item = gtk_radio_menu_item_new_with_label (group, C_("cal-second-zone", "None")); group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (item)); if (!second_zone) gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), TRUE); diff --git a/calendar/gui/dialogs/cal-prefs-dialog.ui b/calendar/gui/dialogs/cal-prefs-dialog.ui index be78a8f828..d3478a2590 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.ui +++ b/calendar/gui/dialogs/cal-prefs-dialog.ui @@ -188,7 +188,7 @@ <property name="visible">True</property> <child> <object class="GtkButton" id="day_second_zone"> - <property name="label" translatable="yes">None</property> + <property name="label" translatable="yes" context="cal-second-zone">None</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index f47ce3a0fd..61ebb081e8 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -2937,7 +2937,8 @@ init_widgets (EventPage *epage) } gtk_combo_box_append_text (GTK_COMBO_BOX (priv->alarm_time_combo), _("Customize")); - gtk_combo_box_prepend_text (GTK_COMBO_BOX (priv->alarm_time_combo), _("None")); + /* Translators: "None" for "No alarm set" */ + gtk_combo_box_prepend_text (GTK_COMBO_BOX (priv->alarm_time_combo), C_("cal-alarms", "None")); g_signal_connect_swapped ( priv->alarm_time_combo, "changed", |