[folks] Fix translator comments



commit 62ffbbb36302ffa9f1729a98b0318edae53fd920
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sat Jan 28 02:06:42 2017 +0100

    Fix translator comments
    
    They need to be exactly one line above a string to show up in .po files.

 backends/telepathy/lib/tpf-persona-store.vala |    4 ++--
 backends/telepathy/lib/tpf-persona.vala       |    4 ++--
 tools/import.vala                             |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala
index 975ac07..ce71544 100644
--- a/backends/telepathy/lib/tpf-persona-store.vala
+++ b/backends/telepathy/lib/tpf-persona-store.vala
@@ -1269,8 +1269,8 @@ public class Tpf.PersonaStore : Folks.PersonaStore
         }
       catch (GLib.Error e)
         {
-          /* Translators: the parameter is an error message. */
           throw new PersonaStoreError.REMOVE_FAILED (
+              /* Translators: the parameter is an error message. */
               _("Failed to remove a persona from store: %s"), e.message);
         }
     }
@@ -1337,8 +1337,8 @@ public class Tpf.PersonaStore : Folks.PersonaStore
         }
       catch (GLib.Error e)
         {
-          /* Translators: the parameter is an error message. */
           throw new PersonaStoreError.CREATE_FAILED (
+              /* Translators: the parameter is an error message. */
               _("Failed to add a persona from details: %s"), e.message);
         }
     }
diff --git a/backends/telepathy/lib/tpf-persona.vala b/backends/telepathy/lib/tpf-persona.vala
index aa7b66b..f3defd3 100644
--- a/backends/telepathy/lib/tpf-persona.vala
+++ b/backends/telepathy/lib/tpf-persona.vala
@@ -527,8 +527,8 @@ public class Tpf.Persona : Folks.Persona,
         }
       catch (GLib.Error e)
         {
-          /* Translators: the parameter is an error message. */
           throw new PropertyError.UNKNOWN_ERROR (
+              /* Translators: the parameter is an error message. */
               _("Failed to change group membership: %s"), e.message);
         }
 
@@ -593,8 +593,8 @@ public class Tpf.Persona : Folks.Persona,
         }
       catch (GLib.Error e)
         {
-          /* Translators: the parameter is an error message. */
           throw new PropertyError.UNKNOWN_ERROR (
+              /* Translators: the parameter is an error message. */
               _("Failed to change group membership: %s"), e.message);
         }
 
diff --git a/tools/import.vala b/tools/import.vala
index ae9ebc2..400dc53 100644
--- a/tools/import.vala
+++ b/tools/import.vala
@@ -161,9 +161,9 @@ public class Folks.ImportTool : Object
         }
       catch (GLib.Error e3)
         {
-          /* Translators: the first parameter is a backend identifier and the
-           * second parameter is an error message. */
           stderr.printf (
+              /* Translators: the first parameter is a backend identifier and the
+               * second parameter is an error message. */
               _("Couldn’t prepare the ‘%s’ backend’s persona store: %s") + "\n",
               e3.message);
           return false;


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