[evolution] Bug 609836 - Add translator comments to ambiguous strings
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 609836 - Add translator comments to ambiguous strings
- Date: Tue, 16 Feb 2010 16:13:25 +0000 (UTC)
commit 62b4d9af96f8baa5fa37a89ea687c902f3416db3
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Feb 16 11:12:39 2010 -0500
Bug 609836 - Add translator comments to ambiguous strings
modules/calendar/e-cal-shell-sidebar.c | 6 ++++++
modules/calendar/e-memo-shell-sidebar.c | 6 ++++++
modules/calendar/e-task-shell-sidebar.c | 6 ++++++
modules/mail/e-mail-shell-view-actions.c | 2 ++
4 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 669e505..abe4132 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -155,6 +155,11 @@ cal_shell_sidebar_backend_error_cb (ECalShellSidebar *cal_shell_sidebar,
uri = e_cal_get_uri (client);
uri_no_passwd = get_uri_without_password (uri);
+ /* Translators: This string is displayed in a message dialog when
+ * our connection to the calendar service detects an
+ * out-of-band error. The first string is a URI for
+ * the source of the error, the second string is the
+ * error message. */
dialog = gtk_message_dialog_new (
GTK_WINDOW (shell_window),
GTK_DIALOG_DESTROY_WITH_PARENT,
@@ -941,6 +946,7 @@ e_cal_shell_sidebar_add_source (ECalShellSidebar *cal_shell_sidebar,
e_source_selector_select_source (selector, source);
uri = e_cal_get_uri (client);
+ /* Translators: The string field is a URI. */
message = g_strdup_printf (_("Opening calendar at %s"), uri);
cal_shell_sidebar_emit_status_message (cal_shell_sidebar, message);
g_free (message);
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c
index a552181..8a840f7 100644
--- a/modules/calendar/e-memo-shell-sidebar.c
+++ b/modules/calendar/e-memo-shell-sidebar.c
@@ -150,6 +150,11 @@ memo_shell_sidebar_backend_error_cb (EMemoShellSidebar *memo_shell_sidebar,
uri = e_cal_get_uri (client);
uri_no_passwd = get_uri_without_password (uri);
+ /* Translators: This string is displayed in a message dialog when
+ * our connection to the calendar service detects an
+ * out-of-band error. The first string is a URI for
+ * the source of the error, the second string is the
+ * error message. */
dialog = gtk_message_dialog_new (
GTK_WINDOW (shell_window),
GTK_DIALOG_DESTROY_WITH_PARENT,
@@ -859,6 +864,7 @@ e_memo_shell_sidebar_add_source (EMemoShellSidebar *memo_shell_sidebar,
e_source_selector_select_source (selector, source);
uri = e_cal_get_uri (client);
+ /* Translators: The string field is a URI. */
message = g_strdup_printf (_("Opening memos at %s"), uri);
memo_shell_sidebar_emit_status_message (memo_shell_sidebar, message);
g_free (message);
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c
index b6a111c..1025531 100644
--- a/modules/calendar/e-task-shell-sidebar.c
+++ b/modules/calendar/e-task-shell-sidebar.c
@@ -150,6 +150,11 @@ task_shell_sidebar_backend_error_cb (ETaskShellSidebar *task_shell_sidebar,
uri = e_cal_get_uri (client);
uri_no_passwd = get_uri_without_password (uri);
+ /* Translators: This string is displayed in a message dialog when
+ * our connection to the calendar service detects an
+ * out-of-band error. The first string is a URI for
+ * the source of the error, the second string is the
+ * error message. */
dialog = gtk_message_dialog_new (
GTK_WINDOW (shell_window),
GTK_DIALOG_DESTROY_WITH_PARENT,
@@ -859,6 +864,7 @@ e_task_shell_sidebar_add_source (ETaskShellSidebar *task_shell_sidebar,
e_source_selector_select_source (selector, source);
uri = e_cal_get_uri (client);
+ /* Translators: The string field is a URI. */
message = g_strdup_printf (_("Opening tasks at %s"), uri);
task_shell_sidebar_emit_status_message (task_shell_sidebar, message);
g_free (message);
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index 766489f..b3d19fc 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -983,6 +983,8 @@ static GtkActionEntry mail_entries[] = {
NULL, /* XXX Add a tooltip! */
G_CALLBACK (action_mail_label_new_cb) },
+ /* Translators: "None" is used in the message label context menu.
+ * It removes all labels from the selected messages. */
{ "mail-label-none",
NULL,
N_("N_one"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]