[gnome-flashback] monitor-manager: provide proper contexts for translators



commit 3a9d5014cc44c681374eaa786cd0e136edc3cf2d
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Jul 16 23:17:31 2019 +0300

    monitor-manager: provide proper contexts for translators
    
    Based on mutter commit:
    https://gitlab.gnome.org/GNOME/mutter/commit/20c5e2525e169f519937

 backends/gf-monitor-manager.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/backends/gf-monitor-manager.c b/backends/gf-monitor-manager.c
index deee31f..0e52525 100644
--- a/backends/gf-monitor-manager.c
+++ b/backends/gf-monitor-manager.c
@@ -1027,10 +1027,9 @@ make_display_name (GfMonitorManager *manager,
     {
       gchar *display_name;
 
-      /* TRANSLATORS: this is a monitor vendor name, followed by a
-       * size in inches, like 'Dell 15"'
-       */
-      display_name = g_strdup_printf (_("%s %s"), vendor_name, inches);
+      display_name = g_strdup_printf (C_("This is a monitor vendor name, followed by a "
+                                         "size in inches, like 'Dell 15\"'",
+                                         "%s %s"), vendor_name, inches);
 
       g_free (vendor_name);
       g_free (inches);
@@ -1041,11 +1040,11 @@ make_display_name (GfMonitorManager *manager,
     {
       gchar *display_name;
 
-      /* Translators: this is a monitor vendor name followed by
-       * product/model name where size in inches could not be calculated,
-       * e.g. Dell U2414H
-       */
-      display_name =  g_strdup_printf (_("%s %s"), vendor_name, product_name);
+      display_name =  g_strdup_printf (C_("This is a monitor vendor name followed by "
+                                          "product/model name where size in inches "
+                                          "could not be calculated, e.g. Dell U2414H",
+                                          "%s %s"), vendor_name, product_name);
+
       g_free (vendor_name);
 
       return display_name;


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