[gnome-settings-daemon] Fix translator comments



commit 276a9b99f2624b0e7516201d6eeec3ed5df41eb0
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sat Jan 28 00:40:41 2017 +0100

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

 plugins/color/gsd-color-calibrate.c         |    2 +-
 plugins/media-keys/gsd-media-keys-manager.c |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plugins/color/gsd-color-calibrate.c b/plugins/color/gsd-color-calibrate.c
index 91773dd..5f35954 100644
--- a/plugins/color/gsd-color-calibrate.c
+++ b/plugins/color/gsd-color-calibrate.c
@@ -138,9 +138,9 @@ gcm_session_notify_recalibrate (GsdColorCalibrate *calibrate,
         notify_notification_set_urgency (notification, NOTIFY_URGENCY_LOW);
         notify_notification_set_app_name (notification, _("Color"));
 
-        /* TRANSLATORS: button: this is to open GCM */
         notify_notification_add_action (notification,
                                         "recalibrate",
+                                        /* TRANSLATORS: button: this is to open GCM */
                                         _("Recalibrate now"),
                                         gcm_session_notify_cb,
                                         priv, NULL);
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index c178752..e4b033b 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -2220,11 +2220,11 @@ screencast_start (GsdMediaKeysManager *manager)
         guint max_length;
         g_dbus_proxy_call (manager->priv->screencast_proxy,
                            "Screencast",
-                           /* Translators: this is a filename used for screencast
-                            * recording, where "%d" and "%t" date and time, e.g.
-                            * "Screencast from 07-17-2013 10:00:46 PM.webm" */
-                           /* xgettext:no-c-format */
                            g_variant_new_parsed ("(%s, @a{sv} {})",
+                                                 /* Translators: this is a filename used for screencast
+                                                  * recording, where "%d" and "%t" date and time, e.g.
+                                                  * "Screencast from 07-17-2013 10:00:46 PM.webm" */
+                                                 /* xgettext:no-c-format */
                                                  _("Screencast from %d %t.webm")),
                            G_DBUS_CALL_FLAGS_NONE, -1,
                            manager->priv->screencast_cancellable,


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