[evolution-data-server] Add translator comments above '%s : %s' explaining its purpose



commit 01b088cc3def6822ce531f346d48cda59114713e
Author: Milan Crha <mcrha redhat com>
Date:   Fri Aug 19 10:16:36 2016 +0200

    Add translator comments above '%s : %s' explaining its purpose

 camel/camel-folder-summary.c               |    6 +++++
 camel/camel-folder.c                       |   33 ++++++++++++++++++++++-----
 camel/camel-offline-folder.c               |   15 +++++++++++-
 camel/camel-vee-folder.c                   |    4 +++
 camel/providers/imapx/camel-imapx-folder.c |    6 +++++
 camel/providers/imapx/camel-imapx-server.c |    6 +++++
 6 files changed, 62 insertions(+), 8 deletions(-)
---
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 71a8d31..a063e1d 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -2165,6 +2165,9 @@ cfs_try_release_memory (CamelFolderSummary *summary)
                return FALSE;
        }
 
+       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+          is replaced with a full path name. The spaces around ':' are intentional, as
+          the whole '%s : %s' is meant as an absolute identification of the folder. */
        description = g_strdup_printf (_("Release unused memory for folder '%s : %s'"),
                camel_service_get_display_name (CAMEL_SERVICE (parent_store)),
                camel_folder_get_full_name (summary->priv->folder));
@@ -2381,6 +2384,9 @@ cfs_reload_from_db (CamelFolderSummary *summary,
                if (session) {
                        gchar *description;
 
+                       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                          is replaced with a full path name. The spaces around ':' are intentional, as
+                          the whole '%s : %s' is meant as an absolute identification of the folder. */
                        description = g_strdup_printf (_("Update preview data for folder '%s : %s'"),
                                camel_service_get_display_name (CAMEL_SERVICE (parent_store)),
                                camel_folder_get_full_name (summary->priv->folder));
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 8c33f95..a314393 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -319,8 +319,9 @@ folder_filter (CamelSession *session,
        if (data->junk) {
                gboolean success = TRUE;
 
-               /* Translators: The first %s is replaced with account name and
-                * the second %s with the folder name where the operation is running. */
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
                camel_operation_push_message (
                        cancellable, dngettext (GETTEXT_PACKAGE,
                        "Learning new spam message in '%s : %s'",
@@ -361,8 +362,9 @@ folder_filter (CamelSession *session,
        if (data->notjunk) {
                gboolean success = TRUE;
 
-               /* Translators: The first %s is replaced with account name and
-                * the second %s with the folder name where the operation is running. */
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
                camel_operation_push_message (
                        cancellable, dngettext (GETTEXT_PACKAGE,
                        "Learning new ham message in '%s : %s'",
@@ -411,8 +413,9 @@ folder_filter (CamelSession *session,
                CamelService *service;
                const gchar *store_uid;
 
-               /* Translators: The first %s is replaced with account name and
-                * the second %s with the folder name where the operation is running. */
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
                camel_operation_push_message (
                        cancellable, dngettext (GETTEXT_PACKAGE,
                        "Filtering new message in '%s : %s'",
@@ -1068,6 +1071,9 @@ folder_get_quota_info_sync (CamelFolder *folder,
 {
        g_set_error (
                error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
                _("Quota information not supported for folder '%s : %s'"),
                camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store (folder))),
                camel_folder_get_full_name (folder));
@@ -1164,6 +1170,9 @@ folder_changed (CamelFolder *folder,
                        folder->priv->changed_frozen, info);
                g_mutex_unlock (&folder->priv->change_lock);
 
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
                description = g_strdup_printf (_("Filtering folder '%s : %s'"),
                        camel_service_get_display_name (CAMEL_SERVICE (parent_store)),
                        camel_folder_get_full_name (folder));
@@ -2901,6 +2910,9 @@ camel_folder_expunge_sync (CamelFolder *folder,
                return FALSE;
        }
 
+       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+          is replaced with a full path name. The spaces around ':' are intentional, as
+          the whole '%s : %s' is meant as an absolute identification of the folder. */
        camel_operation_push_message (cancellable, _("Expunging folder '%s : %s'"),
                camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store (folder))),
                camel_folder_get_full_name (folder));
@@ -3032,6 +3044,9 @@ camel_folder_get_message_sync (CamelFolder *folder,
        g_return_val_if_fail (class->get_message_sync != NULL, NULL);
 
        camel_operation_push_message (
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
                cancellable, _("Retrieving message '%s' in '%s : %s'"),
                message_uid, camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store 
(folder))),
                camel_folder_get_full_name (folder));
@@ -3222,6 +3237,9 @@ camel_folder_get_quota_info_sync (CamelFolder *folder,
        class = CAMEL_FOLDER_GET_CLASS (folder);
        g_return_val_if_fail (class->get_quota_info_sync != NULL, NULL);
 
+       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+          is replaced with a full path name. The spaces around ':' are intentional, as
+          the whole '%s : %s' is meant as an absolute identification of the folder. */
        camel_operation_push_message (cancellable, _("Retrieving quota information for '%s : %s'"),
                camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store (folder))),
                camel_folder_get_full_name (folder));
@@ -3517,6 +3535,9 @@ camel_folder_refresh_info_sync (CamelFolder *folder,
                return FALSE;
        }
 
+       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+          is replaced with a full path name. The spaces around ':' are intentional, as
+          the whole '%s : %s' is meant as an absolute identification of the folder. */
        camel_operation_push_message (cancellable, _("Refreshing folder '%s : %s'"),
                camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store (folder))),
                camel_folder_get_full_name (folder));
diff --git a/camel/camel-offline-folder.c b/camel/camel-offline-folder.c
index 0b5cb94..9d3da37 100644
--- a/camel/camel-offline-folder.c
+++ b/camel/camel-offline-folder.c
@@ -90,8 +90,10 @@ offline_folder_downsync_background (CamelSession *session,
                                     GError **error)
 {
        camel_operation_push_message (
-               cancellable,
-               _("Downloading new messages for offline mode in '%s : %s'"),
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
+               cancellable, _("Downloading new messages for offline mode in '%s : %s'"),
                camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store (data->folder))),
                camel_folder_get_full_name (data->folder));
 
@@ -159,6 +161,9 @@ offline_folder_schedule_store_changes_job (gpointer user_data)
                if (session) {
                        gchar *description;
 
+                       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                          is replaced with a full path name. The spaces around ':' are intentional, as
+                          the whole '%s : %s' is meant as an absolute identification of the folder. */
                        description = g_strdup_printf (_("Storing changes in folder '%s : %s'"),
                                camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store 
(CAMEL_FOLDER (offline_folder)))),
                                camel_folder_get_full_name (CAMEL_FOLDER (offline_folder)));
@@ -246,6 +251,9 @@ offline_folder_changed (CamelFolder *folder,
                camel_folder_change_info_cat (data->changes, changes);
                data->folder = g_object_ref (folder);
 
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
                description = g_strdup_printf (_("Checking download of new messages for offline in '%s : 
%s'"),
                        camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store 
(folder))),
                        camel_folder_get_full_name (folder));
@@ -359,6 +367,9 @@ offline_folder_downsync_sync (CamelOfflineFolder *offline,
        GPtrArray *uids, *uncached_uids = NULL;
        gint i;
 
+       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+          is replaced with a full path name. The spaces around ':' are intentional, as
+          the whole '%s : %s' is meant as an absolute identification of the folder. */
        camel_operation_push_message (cancellable, _("Syncing messages in folder '%s : %s' to disk"),
                camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store (folder))),
                camel_folder_get_full_name (folder));
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c
index 70f3542..1c9fcc9 100644
--- a/camel/camel-vee-folder.c
+++ b/camel/camel-vee-folder.c
@@ -899,6 +899,10 @@ vee_folder_get_message_sync (CamelFolder *folder,
                g_set_error (
                        error, CAMEL_FOLDER_ERROR,
                        CAMEL_FOLDER_ERROR_INVALID_UID,
+                       /* Translators: The first '%s' is replaced with a message UID, the second '%s'
+                          is replaced with an account name and the third '%s' is replaced with a full
+                          path name. The spaces around ':' are intentional, as the whole '%s : %s' is
+                          meant as an absolute identification of the folder. */
                        _("No such message %s in '%s : %s'"), uid,
                        camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store 
(folder))),
                        camel_folder_get_full_name (folder));
diff --git a/camel/providers/imapx/camel-imapx-folder.c b/camel/providers/imapx/camel-imapx-folder.c
index 30ac2e8..1002a30 100644
--- a/camel/providers/imapx/camel-imapx-folder.c
+++ b/camel/providers/imapx/camel-imapx-folder.c
@@ -699,6 +699,9 @@ imapx_get_quota_info_sync (CamelFolder *folder,
        if (quota_info == NULL)
                g_set_error (
                        error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
+                       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                          is replaced with a full path name. The spaces around ':' are intentional, as
+                          the whole '%s : %s' is meant as an absolute identification of the folder. */
                        _("No quota information available for folder '%s : %s'"),
                        camel_service_get_display_name (CAMEL_SERVICE (store)),
                        camel_folder_get_full_name (folder));
@@ -1291,6 +1294,9 @@ camel_imapx_folder_list_mailbox (CamelIMAPXFolder *folder,
                g_set_error (
                        error, CAMEL_FOLDER_ERROR,
                        CAMEL_FOLDER_ERROR_INVALID_STATE,
+                       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                          is replaced with a full path name. The spaces around ':' are intentional, as
+                          the whole '%s : %s' is meant as an absolute identification of the folder. */
                        _("No IMAP mailbox available for folder '%s : %s'"),
                        camel_service_get_display_name (CAMEL_SERVICE (parent_store)),
                        camel_folder_get_full_name (CAMEL_FOLDER (folder)));
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index bebfa2a..f2bd005 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -4907,6 +4907,9 @@ imapx_server_fetch_changes (CamelIMAPXServer *is,
        is->priv->fetch_changes_last_progress = 0;
 
        camel_operation_push_message (cancellable,
+               /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                  is replaced with a full path name. The spaces around ':' are intentional, as
+                  the whole '%s : %s' is meant as an absolute identification of the folder. */
                _("Scanning for changed messages in '%s : %s'"),
                camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store (folder))),
                camel_folder_get_full_name (folder));
@@ -4929,6 +4932,9 @@ imapx_server_fetch_changes (CamelIMAPXServer *is,
                imapx_uidset_init (&uidset, 0, 100);
 
                camel_operation_push_message (cancellable,
+                       /* Translators: The first '%s' is replaced with an account name and the second '%s'
+                          is replaced with a full path name. The spaces around ':' are intentional, as
+                          the whole '%s : %s' is meant as an absolute identification of the folder. */
                        _("Fetching summary information for new messages in '%s : %s'"),
                        camel_service_get_display_name (CAMEL_SERVICE (camel_folder_get_parent_store 
(folder))),
                        camel_folder_get_full_name (folder));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]