aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-12-24 00:11:59 +0800
committerMilan Crha <mcrha@redhat.com>2009-12-24 00:11:59 +0800
commit3f36489c67887491385086180147a7e4475a349d (patch)
tree7329bf876160e9d9db57630303aa2e128708fb1c /plugins
parent6df525477e6bbee76f53a989f51f8aace6cd58cf (diff)
downloadgsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.gz
gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.tar.zst
gsoc2013-evolution-3f36489c67887491385086180147a7e4475a349d.zip
Bug #329693 - Add contexts to translated "None" words
Diffstat (limited to 'plugins')
-rw-r--r--plugins/calendar-weather/calendar-weather.c8
-rw-r--r--plugins/email-custom-header/email-custom-header.c4
-rw-r--r--plugins/itip-formatter/itip-formatter.c2
3 files changed, 9 insertions, 5 deletions
diff --git a/plugins/calendar-weather/calendar-weather.c b/plugins/calendar-weather/calendar-weather.c
index b558f7e3d2..ad2c273baf 100644
--- a/plugins/calendar-weather/calendar-weather.c
+++ b/plugins/calendar-weather/calendar-weather.c
@@ -321,7 +321,8 @@ location_clicked (GtkButton *button, ESource *source)
label = GTK_WIDGET (gtk_bin_get_child (GTK_BIN (button)));
text = gtk_label_get_text (GTK_LABEL (label));
- if (strcmp ((const gchar *)text, _("None")) == 0)
+ /* Translators: "None" location for a weather calendar */
+ if (strcmp ((const gchar *)text, C_("weather-cal-location", "None")) == 0)
e_source_set_relative_uri (source, "");
}
@@ -374,8 +375,9 @@ e_calendar_weather_location (EPlugin *epl, EConfigHookItemFactoryData *data)
gchar *location = build_location_path (iter);
text = gtk_label_new (location);
g_free (location);
- } else
- text = gtk_label_new (_("None"));
+ } else {
+ text = gtk_label_new (C_("weather-cal-location", "None"));
+ }
gtk_widget_show (text);
gtk_label_set_ellipsize (GTK_LABEL (text), PANGO_ELLIPSIZE_START);
gtk_container_add (GTK_CONTAINER (button), text);
diff --git a/plugins/email-custom-header/email-custom-header.c b/plugins/email-custom-header/email-custom-header.c
index a4e1ef2e65..ad9310daa4 100644
--- a/plugins/email-custom-header/email-custom-header.c
+++ b/plugins/email-custom-header/email-custom-header.c
@@ -376,7 +376,9 @@ epech_setup_widgets (CustomHeaderOptionsDialog *mch)
str);
}
- gtk_combo_box_append_text (GTK_COMBO_BOX (sub_combo_box_ptr->header_value_combo_box), _("None"));
+ /* Translators: "None" as an email custom header option in a dialog invoked by Insert->Custom Header from Composer,
+ indicating the header will not be added to a mail message */
+ gtk_combo_box_append_text (GTK_COMBO_BOX (sub_combo_box_ptr->header_value_combo_box), C_("email-custom-header", "None"));
gtk_widget_show (sub_combo_box_ptr->header_value_combo_box);
}
}
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 4ce4b430d5..7f03570770 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -2298,7 +2298,7 @@ format_itip_object (EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject
}
e_cal_component_get_summary (info->comp, &text);
- itip_view_set_summary (ITIP_VIEW (info->view), text.value ? text.value : _("None"));
+ itip_view_set_summary (ITIP_VIEW (info->view), text.value ? text.value : C_("cal-itip", "None"));
e_cal_component_get_location (info->comp, &string);
itip_view_set_location (ITIP_VIEW (info->view), string);