[evolution] Bug 774521 - Translator comments are missing in the .pot/.po files
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 774521 - Translator comments are missing in the .pot/.po files
- Date: Mon, 21 Nov 2016 10:22:55 +0000 (UTC)
commit f5e23a70e33fc04fefc5ffa49424d322c22517c5
Author: Piotr Drąg <piotrdrag gmail com>
Date: Mon Nov 21 11:23:20 2016 +0100
Bug 774521 - Translator comments are missing in the .pot/.po files
src/calendar/gui/e-alarm-list.c | 16 ++++----
src/calendar/gui/e-meeting-list-view.c | 2 +-
src/calendar/gui/e-memo-table.c | 4 +-
src/calendar/gui/ea-day-view.c | 16 ++++----
src/calendar/gui/print.c | 2 +-
src/calendar/importers/icalendar-importer.c | 6 ++--
src/e-util/e-activity.c | 4 +-
src/e-util/e-table-group-container.c | 26 +++++++-------
src/em-format/e-mail-formatter-headers.c | 6 ++--
src/libemail-engine/mail-ops.c | 6 ++--
src/mail/e-mail-reader.c | 8 ++--
src/mail/em-folder-tree.c | 36 ++++++++++----------
src/mail/importers/evolution-mbox-importer.c | 4 +-
src/modules/mail/e-mail-shell-view-actions.c | 4 +-
src/modules/vcard-inline/e-mail-formatter-vcard.c | 2 +-
.../email-custom-header/email-custom-header.c | 4 +-
src/plugins/mail-notification/mail-notification.c | 2 +-
src/plugins/mail-to-task/mail-to-task.c | 6 ++--
18 files changed, 77 insertions(+), 77 deletions(-)
---
diff --git a/src/calendar/gui/e-alarm-list.c b/src/calendar/gui/e-alarm-list.c
index 61234db..15f6073 100644
--- a/src/calendar/gui/e-alarm-list.c
+++ b/src/calendar/gui/e-alarm-list.c
@@ -446,15 +446,15 @@ get_alarm_string (ECalComponentAlarm *alarm)
if (dur) {
if (trigger.u.rel_duration.is_neg)
- /*Translator: The first %s refers to the base, which would be actions like
- * "Play a Sound". Second %s refers to the duration string e.g:"15 minutes"*/
str = g_strdup_printf (
+ /*Translator: The first %s refers to the base, which would be actions
like
+ * "Play a Sound". Second %s refers to the duration string e.g:"15
minutes"*/
C_("cal-reminders", "%s %s before the start"),
base, dur);
else
- /*Translator: The first %s refers to the base, which would be actions like
- * "Play a Sound". Second %s refers to the duration string e.g:"15 minutes"*/
str = g_strdup_printf (
+ /*Translator: The first %s refers to the base, which would be actions
like
+ * "Play a Sound". Second %s refers to the duration string e.g:"15
minutes"*/
C_("cal-reminders", "%s %s after the start"),
base, dur);
@@ -471,15 +471,15 @@ get_alarm_string (ECalComponentAlarm *alarm)
if (dur) {
if (trigger.u.rel_duration.is_neg)
- /* Translator: The first %s refers to the base, which would be actions like
- * "Play a Sound". Second %s refers to the duration string e.g:"15 minutes" */
str = g_strdup_printf (
+ /* Translator: The first %s refers to the base, which would be
actions like
+ * "Play a Sound". Second %s refers to the duration string e.g:"15
minutes" */
C_("cal-reminders", "%s %s before the end"),
base, dur);
else
- /* Translator: The first %s refers to the base, which would be actions like
- * "Play a Sound". Second %s refers to the duration string e.g:"15 minutes" */
str = g_strdup_printf (
+ /* Translator: The first %s refers to the base, which would be
actions like
+ * "Play a Sound". Second %s refers to the duration string e.g:"15
minutes" */
C_("cal-reminders", "%s %s after the end"),
base, dur);
diff --git a/src/calendar/gui/e-meeting-list-view.c b/src/calendar/gui/e-meeting-list-view.c
index 08d0037..8224bdf 100644
--- a/src/calendar/gui/e-meeting-list-view.c
+++ b/src/calendar/gui/e-meeting-list-view.c
@@ -668,8 +668,8 @@ build_table (EMeetingListView *lview)
g_hash_table_insert (edit_table, GINT_TO_POINTER (E_MEETING_STORE_ROLE_COL), renderer);
renderer = create_combo_cell_renderer (get_rsvp_strings ());
- /* To translators: RSVP means "please reply" */
pos = gtk_tree_view_insert_column_with_attributes (
+ /* To translators: RSVP means "please reply" */
view, -1, _("RSVP"), renderer,
"text", E_MEETING_STORE_RSVP_COL,
NULL);
diff --git a/src/calendar/gui/e-memo-table.c b/src/calendar/gui/e-memo-table.c
index 71922da..fc139ab 100644
--- a/src/calendar/gui/e-memo-table.c
+++ b/src/calendar/gui/e-memo-table.c
@@ -487,9 +487,9 @@ memo_table_query_tooltip (GtkWidget *widget,
if (ptr) {
ptr++;
- /* Translators: It will display
- * "Organizer: NameOfTheUser <email ofuser com>" */
tmp = g_strdup_printf (
+ /* Translators: It will display
+ * "Organizer: NameOfTheUser <email ofuser com>" */
_("Organizer: %s <%s>"), organizer.cn, ptr);
} else {
/* With SunOne accounts, there may be no ':' in
diff --git a/src/calendar/gui/ea-day-view.c b/src/calendar/gui/ea-day-view.c
index 1022c01..b082d11 100644
--- a/src/calendar/gui/ea-day-view.c
+++ b/src/calendar/gui/ea-day-view.c
@@ -98,10 +98,10 @@ ea_day_view_get_name (AtkObject *accessible)
/* the child main item is always there */
--n_events;
if (n_events >= 1)
- /* To translators: Here, "It" is either like "Work Week View: July
- 10th - July 14th, 2006." or "Day View: Thursday July 13th, 2006." */
event_str = g_strdup_printf (
ngettext (
+ /* To translators: Here, "It" is either like "Work Week View: July
+ 10th - July 14th, 2006." or "Day View: Thursday July 13th, 2006." */
"It has %d event.",
"It has %d events.",
n_events),
@@ -112,17 +112,17 @@ ea_day_view_get_name (AtkObject *accessible)
event_str = g_strdup (_("It has no events."));
if (e_day_view_get_work_week_view (day_view))
- /* To translators: First %s is the week, for example "July 10th -
- July 14th, 2006". Second %s is the number of events in this work
- week, for example "It has %d event/events." or "It has no events." */
name_str = g_strdup_printf (
+ /* To translators: First %s is the week, for example "July 10th -
+ July 14th, 2006". Second %s is the number of events in this work
+ week, for example "It has %d event/events." or "It has no events." */
_("Work Week View: %s. %s"),
label_text, event_str);
else
- /* To translators: First %s is the day, for example "Thursday July
- 13th, 2006". Second %s is the number of events on this day, for
- example "It has %d event/events." or "It has no events." */
name_str = g_strdup_printf (
+ /* To translators: First %s is the day, for example "Thursday July
+ 13th, 2006". Second %s is the number of events on this day, for
+ example "It has %d event/events." or "It has no events." */
_("Day View: %s. %s"),
label_text, event_str);
diff --git a/src/calendar/gui/print.c b/src/calendar/gui/print.c
index ba2bddd..2f3c148 100644
--- a/src/calendar/gui/print.c
+++ b/src/calendar/gui/print.c
@@ -721,9 +721,9 @@ instance_cb (ECalComponent *comp,
}
const gchar *daynames[] = {
+ /* G_DATE_BAD_WEEKDAY */ "",
/* Translators: These are workday abbreviations,
* e.g. Su=Sunday and Th=thursday */
- /* G_DATE_BAD_WEEKDAY */ "",
/* G_DATE_MONDAY */ N_("Mo"),
/* G_DATE_TUESDAY */ N_("Tu"),
/* G_DATE_WEDNESDAY */ N_("We"),
diff --git a/src/calendar/importers/icalendar-importer.c b/src/calendar/importers/icalendar-importer.c
index 9044678..f96fade 100644
--- a/src/calendar/importers/icalendar-importer.c
+++ b/src/calendar/importers/icalendar-importer.c
@@ -1565,18 +1565,18 @@ ical_get_preview (icalcomponent *icalcomp)
gtk_tree_view_set_model (tree_view, GTK_TREE_MODEL (store));
g_object_unref (store);
- /* Translators: Column header for a component type; it can be Event, Task or Memo */
gtk_tree_view_insert_column_with_attributes (
+ /* Translators: Column header for a component type; it can be Event, Task or Memo */
tree_view, -1, C_("iCalImp", "Type"),
gtk_cell_renderer_text_new (), "text", 0, NULL);
- /* Translators: Column header for a component start date/time */
gtk_tree_view_insert_column_with_attributes (
+ /* Translators: Column header for a component start date/time */
tree_view, -1, C_("iCalImp", "Start"),
gtk_cell_renderer_text_new (), "text", 1, NULL);
- /* Translators: Column header for a component summary */
gtk_tree_view_insert_column_with_attributes (
+ /* Translators: Column header for a component summary */
tree_view, -1, C_("iCalImp", "Summary"),
gtk_cell_renderer_text_new (), "text", 2, NULL);
diff --git a/src/e-util/e-activity.c b/src/e-util/e-activity.c
index 8adc210..eb37a6a 100644
--- a/src/e-util/e-activity.c
+++ b/src/e-util/e-activity.c
@@ -267,9 +267,9 @@ activity_describe (EActivity *activity)
} else if (percent <= 0.0) {
g_string_printf (string, _("%s"), text);
} else {
- /* Translators: This is a running activity whose
- * percent complete is known. */
g_string_printf (
+ /* Translators: This is a running activity whose
+ * percent complete is known. */
string, _("%s (%d%% complete)"),
text, (gint) (percent));
}
diff --git a/src/e-util/e-table-group-container.c b/src/e-util/e-table-group-container.c
index 7b9d339..717605c 100644
--- a/src/e-util/e-table-group-container.c
+++ b/src/e-util/e-table-group-container.c
@@ -354,29 +354,29 @@ compute_text (ETableGroupContainer *etgc,
gchar *text;
if (etgc->ecol->text) {
- /* Translators: This text is used as a special row when an ETable
- * has turned on grouping on a column, which has set a title.
- * The first %s is replaced with a column title.
- * The second %s is replaced with an actual group value.
- * Finally the %d is replaced with count of items in this group.
- * Example: "Family name: Smith (13 items)"
- */
text = g_strdup_printf (
ngettext (
+ /* Translators: This text is used as a special row when an ETable
+ * has turned on grouping on a column, which has set a title.
+ * The first %s is replaced with a column title.
+ * The second %s is replaced with an actual group value.
+ * Finally the %d is replaced with count of items in this group.
+ * Example: "Family name: Smith (13 items)"
+ */
"%s: %s (%d item)",
"%s: %s (%d items)",
child_node->count),
etgc->ecol->text, child_node->string,
(gint) child_node->count);
} else {
- /* Translators: This text is used as a special row when an ETable
- * has turned on grouping on a column, which doesn't have set a title.
- * The %s is replaced with an actual group value.
- * The %d is replaced with count of items in this group.
- * Example: "Smith (13 items)"
- */
text = g_strdup_printf (
ngettext (
+ /* Translators: This text is used as a special row when an ETable
+ * has turned on grouping on a column, which doesn't have set a title.
+ * The %s is replaced with an actual group value.
+ * The %d is replaced with count of items in this group.
+ * Example: "Smith (13 items)"
+ */
"%s (%d item)",
"%s (%d items)",
child_node->count),
diff --git a/src/em-format/e-mail-formatter-headers.c b/src/em-format/e-mail-formatter-headers.c
index 0346865..3f0760a 100644
--- a/src/em-format/e-mail-formatter-headers.c
+++ b/src/em-format/e-mail-formatter-headers.c
@@ -331,11 +331,11 @@ format_full_headers (EMailFormatter *formatter,
buffer, "<td align=\"left\" width=\"100%\">");
bold_sender = g_strconcat ("<b>", header_sender, "</b>", NULL);
bold_from = g_strconcat ("<b>", header_from, "</b>", NULL);
- /* Translators: This message suggests to the receipients
- * that the sender of the mail is different from the one
- * listed in From field. */
g_string_append_printf (
buffer,
+ /* Translators: This message suggests to the receipients
+ * that the sender of the mail is different from the one
+ * listed in From field. */
_("This message was sent by %s on behalf of %s"),
bold_sender, bold_from);
g_string_append (buffer, "</td></tr></table></td></tr>");
diff --git a/src/libemail-engine/mail-ops.c b/src/libemail-engine/mail-ops.c
index bb4e842..91611dd 100644
--- a/src/libemail-engine/mail-ops.c
+++ b/src/libemail-engine/mail-ops.c
@@ -1034,10 +1034,10 @@ send_queue_exec (struct _send_queue_msg *m,
if (j > 0)
report_status (
m, CAMEL_FILTER_STATUS_END, 100,
- /* Translators: The string is distinguished by total
- * count of messages to be sent. Failed messages is
- * always more than zero. */
ngettext (
+ /* Translators: The string is distinguished by total
+ * count of messages to be sent. Failed messages is
+ * always more than zero. */
"Failed to send a message",
"Failed to send %d of %d messages",
send_uids->len),
diff --git a/src/mail/e-mail-reader.c b/src/mail/e-mail-reader.c
index 6ca3a50..9619525 100644
--- a/src/mail/e-mail-reader.c
+++ b/src/mail/e-mail-reader.c
@@ -4251,11 +4251,11 @@ e_mail_reader_init (EMailReader *reader,
/* Likewise the "mail-reply-group" action. */
- /* For Translators: "Group Reply" will reply either to a mailing list
- * (if possible and if that configuration option is enabled), or else
- * it will reply to all. The word "Group" was chosen because it covers
- * either of those, without too strongly implying one or the other. */
menu_tool_action = e_menu_tool_action_new (
+ /* For Translators: "Group Reply" will reply either to a mailing list
+ * (if possible and if that configuration option is enabled), or else
+ * it will reply to all. The word "Group" was chosen because it covers
+ * either of those, without too strongly implying one or the other. */
"mail-reply-group", _("Group Reply"),
_("Reply to the mailing list, or to all recipients"));
diff --git a/src/mail/em-folder-tree.c b/src/mail/em-folder-tree.c
index 42d3e56..1cd037d 100644
--- a/src/mail/em-folder-tree.c
+++ b/src/mail/em-folder-tree.c
@@ -824,25 +824,25 @@ folder_tree_render_display_name (GtkTreeViewColumn *column,
} else if (!editable && unread > 0) {
gchar *name_and_unread;
- /* Translators: This is the string used for displaying the
- * folder names in folder trees. The first "%s" will be
- * replaced by the folder's name and "%u" will be replaced
- * with the number of unread messages in the folder. The
- * second %s will be replaced with a "+" letter for collapsed
- * folders with unread messages in some subfolder too,
- * or with an empty string for other cases.
- *
- * Most languages should translate this as "%s (%u%s)". The
- * languages that use localized digits (like Persian) may
- * need to replace "%u" with "%Iu". Right-to-left languages
- * (like Arabic and Hebrew) may need to add bidirectional
- * formatting codes to take care of the cases the folder
- * name appears in either direction.
- *
- * Do not translate the "folder-display|" part. Remove it
- * from your translation.
- */
name_and_unread = g_strdup_printf (
+ /* Translators: This is the string used for displaying the
+ * folder names in folder trees. The first "%s" will be
+ * replaced by the folder's name and "%u" will be replaced
+ * with the number of unread messages in the folder. The
+ * second %s will be replaced with a "+" letter for collapsed
+ * folders with unread messages in some subfolder too,
+ * or with an empty string for other cases.
+ *
+ * Most languages should translate this as "%s (%u%s)". The
+ * languages that use localized digits (like Persian) may
+ * need to replace "%u" with "%Iu". Right-to-left languages
+ * (like Arabic and Hebrew) may need to add bidirectional
+ * formatting codes to take care of the cases the folder
+ * name appears in either direction.
+ *
+ * Do not translate the "folder-display|" part. Remove it
+ * from your translation.
+ */
C_("folder-display", "%s (%u%s)"),
name, unread, subdirs_unread ? "+" : "");
g_object_set (renderer, "text", name_and_unread, NULL);
diff --git a/src/mail/importers/evolution-mbox-importer.c b/src/mail/importers/evolution-mbox-importer.c
index 2324ce8..bc0ff9e 100644
--- a/src/mail/importers/evolution-mbox-importer.c
+++ b/src/mail/importers/evolution-mbox-importer.c
@@ -505,13 +505,13 @@ mbox_get_preview (EImport *ei,
gtk_tree_view_set_model (tree_view, GTK_TREE_MODEL (store));
g_object_unref (store);
- /* Translators: Column header for a message subject */
gtk_tree_view_insert_column_with_attributes (
+ /* Translators: Column header for a message subject */
tree_view, -1, C_("mboxImp", "Subject"),
gtk_cell_renderer_text_new (), "text", 0, NULL);
- /* Translators: Column header for a message From address */
gtk_tree_view_insert_column_with_attributes (
+ /* Translators: Column header for a message From address */
tree_view, -1, C_("mboxImp", "From"),
gtk_cell_renderer_text_new (), "text", 1, NULL);
diff --git a/src/modules/mail/e-mail-shell-view-actions.c b/src/modules/mail/e-mail-shell-view-actions.c
index cb32b73..a747714 100644
--- a/src/modules/mail/e-mail-shell-view-actions.c
+++ b/src/modules/mail/e-mail-shell-view-actions.c
@@ -1793,10 +1793,10 @@ 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,
+ /* Translators: "None" is used in the message label context menu.
+ * It removes all labels from the selected messages. */
N_("N_one"),
NULL,
NULL, /* XXX Add a tooltip! */
diff --git a/src/modules/vcard-inline/e-mail-formatter-vcard.c
b/src/modules/vcard-inline/e-mail-formatter-vcard.c
index 9f226e7..a92ce37 100644
--- a/src/modules/vcard-inline/e-mail-formatter-vcard.c
+++ b/src/modules/vcard-inline/e-mail-formatter-vcard.c
@@ -187,8 +187,8 @@ mail_formatter_vcard_format (EMailFormatterExtension *extension,
info = _("There is one other contact.");
} else if (length > 2) {
- /* Translators: This will always be two or more. */
info = g_strdup_printf (ngettext (
+ /* Translators: This will always be two or more. */
"There is %d other contact.",
"There are %d other contacts.",
length - 1), length - 1);
diff --git a/src/plugins/email-custom-header/email-custom-header.c
b/src/plugins/email-custom-header/email-custom-header.c
index e51445e..ea0058b 100644
--- a/src/plugins/email-custom-header/email-custom-header.c
+++ b/src/plugins/email-custom-header/email-custom-header.c
@@ -352,11 +352,11 @@ epech_setup_widgets (CustomHeaderOptionsDialog *mch)
sub_combo_box_ptr->header_value_combo_box), str);
}
- /* 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_text_append_text (
GTK_COMBO_BOX_TEXT (
sub_combo_box_ptr->header_value_combo_box),
+ /* 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 */
C_("email-custom-header", "None"));
gtk_widget_show (sub_combo_box_ptr->header_value_combo_box);
}
diff --git a/src/plugins/mail-notification/mail-notification.c
b/src/plugins/mail-notification/mail-notification.c
index 2a4f28f..803d3cf 100644
--- a/src/plugins/mail-notification/mail-notification.c
+++ b/src/plugins/mail-notification/mail-notification.c
@@ -393,8 +393,8 @@ new_notify_status (EMEventTargetFolder *t)
status_count = t->new;
- /* Translators: '%d' is the count of mails received. */
text = g_strdup_printf (ngettext (
+ /* Translators: '%d' is the count of mails received. */
"You have received %d new message.",
"You have received %d new messages.",
status_count), status_count);
diff --git a/src/plugins/mail-to-task/mail-to-task.c b/src/plugins/mail-to-task/mail-to-task.c
index 9264797..0e7582b 100644
--- a/src/plugins/mail-to-task/mail-to-task.c
+++ b/src/plugins/mail-to-task/mail-to-task.c
@@ -619,22 +619,22 @@ get_question_add_all_mails (ECalClientSourceType source_type,
switch (source_type) {
case E_CAL_CLIENT_SOURCE_TYPE_EVENTS:
- /* Translators: Note there are always more than 10 mails selected */
ask = ngettext (
+ /* Translators: Note there are always more than 10 mails selected */
"You have selected %d mails to be converted to events. Do you really want to add them
all?",
"You have selected %d mails to be converted to events. Do you really want to add them
all?",
count);
break;
case E_CAL_CLIENT_SOURCE_TYPE_TASKS:
- /* Translators: Note there are always more than 10 mails selected */
ask = ngettext (
+ /* Translators: Note there are always more than 10 mails selected */
"You have selected %d mails to be converted to tasks. Do you really want to add them
all?",
"You have selected %d mails to be converted to tasks. Do you really want to add them
all?",
count);
break;
case E_CAL_CLIENT_SOURCE_TYPE_MEMOS:
- /* Translators: Note there are always more than 10 mails selected */
ask = ngettext (
+ /* Translators: Note there are always more than 10 mails selected */
"You have selected %d mails to be converted to memos. Do you really want to add them
all?",
"You have selected %d mails to be converted to memos. Do you really want to add them
all?",
count);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]