From 62b4d9af96f8baa5fa37a89ea687c902f3416db3 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 16 Feb 2010 11:12:39 -0500 Subject: 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(+) (limited to 'modules') diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c index 669e505e54..abe4132fa4 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 a55218172f..8a840f760e 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 b6a111c5b1..102553136f 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 766489fbe2..b3d19fc172 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"), -- cgit v1.2.3