[evolution-mapi] Bug 774524 - Translator comments are missing in the .pot/.po files



commit a9627c1eb04522f26a62f1477dd62d41c7b1040e
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Mon Nov 21 11:28:48 2016 +0100

    Bug 774524 - Translator comments are missing in the .pot/.po files

 src/camel/camel-mapi-folder.c |    4 ++--
 src/camel/camel-mapi-store.c  |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/camel/camel-mapi-folder.c b/src/camel/camel-mapi-folder.c
index 9292ea5..52b8757 100644
--- a/src/camel/camel-mapi-folder.c
+++ b/src/camel/camel-mapi-folder.c
@@ -1469,11 +1469,11 @@ mapi_folder_get_message_sync (CamelFolder *folder,
 
        mi = camel_folder_summary_get (camel_folder_get_folder_summary (folder), uid);
        if (mi == NULL) {
-               /* Translators: The first %s is replaced with a message ID,
-                  the second %s is replaced with a detailed error string */
                g_set_error (
                        error, CAMEL_FOLDER_ERROR,
                        CAMEL_FOLDER_ERROR_INVALID_UID,
+                       /* Translators: The first %s is replaced with a message ID,
+                          the second %s is replaced with a detailed error string */
                        _("Cannot get message %s: %s"), uid,
                        _("No such message"));
                return NULL;
diff --git a/src/camel/camel-mapi-store.c b/src/camel/camel-mapi-store.c
index 2a8a4d9..d79d68e 100644
--- a/src/camel/camel-mapi-store.c
+++ b/src/camel/camel-mapi-store.c
@@ -1515,9 +1515,9 @@ mapi_store_rename_folder_sync (CamelStore *store,
        /* Need a full name of a folder */
        old_fid_str = camel_mapi_store_folder_id_lookup (mapi_store, old_name);
        if (!old_fid_str) {
-               /*To translators : '%s' is current name of the folder */
                g_set_error (
                        error, CAMEL_ERROR, CAMEL_ERROR_GENERIC,
+                       /* Translators: '%s' is current name of the folder */
                        _("Cannot rename MAPI folder '%s'. Folder does not exist"),
                        old_name);
                return FALSE;
@@ -1525,10 +1525,10 @@ mapi_store_rename_folder_sync (CamelStore *store,
 
        /*Do not allow rename for system folders.*/
        if (mapi_fid_is_system_folder (mapi_store, old_fid_str)) {
-               /*To translators : '%s to %s' is current name of the folder  and
-                new name of the folder.*/
                g_set_error (
                        error, CAMEL_ERROR, CAMEL_ERROR_GENERIC,
+                       /* Translators: '%s to %s' is current name of the folder and
+                          new name of the folder.*/
                        _("Cannot rename MAPI default folder '%s' to '%s'"),
                        old_name, new_name);
                return FALSE;


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