[gnome-software] Disambiguate the word "Review"



commit 9864877e4014d0c59bb71931af3e093599b5bbd5
Author: Rafal Luzynski <digitalfreak lingonborough com>
Date:   Fri Feb 12 23:26:19 2016 +0100

    Disambiguate the word "Review"
    
    The word "Review" is now ambiguous and needs a translation context.
    "Review (browse) updates" is a different translation than
    "Review (evaluate) an application".
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761976
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 src/gs-review-dialog.ui |    2 +-
 src/gs-update-monitor.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-review-dialog.ui b/src/gs-review-dialog.ui
index 1f241a9..2cea851 100644
--- a/src/gs-review-dialog.ui
+++ b/src/gs-review-dialog.ui
@@ -179,7 +179,7 @@
                   <object class="GtkLabel" id="label3">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="label" translatable="yes">Review</property>
+                    <property name="label" translatable="yes" context="app review" comments="Translators: 
This is where the users enter their opinions about the apps.">Review</property>
                     <property name="xalign">0</property>
                     <attributes>
                       <attribute name="weight" value="bold"/>
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index dda4e64..25eebb1 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -454,7 +454,7 @@ get_updates_historical_cb (GObject *object, GAsyncResult *res, gpointer data)
        notification = g_notification_new (title);
        g_notification_set_body (notification, message);
        /* TRANSLATORS: to look at the updates that were installed */
-       g_notification_add_button_with_target (notification, _("Review"), "app.set-mode", "s", "updated");
+       g_notification_add_button_with_target (notification, C_("updates", "Review"), "app.set-mode", "s", 
"updated");
        g_notification_set_default_action_and_target (notification, "app.set-mode", "s", "updated");
        g_application_send_notification (monitor->application, "offline-updates", notification);
 


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