[gnome-boxes/make-launch-string-translatable-master] app: Make "Launch" string translatable



commit 44d54c84679c1ccf093a41e5da7a049978cb15d8
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Mar 11 08:21:17 2019 +0000

    app: Make "Launch" string translatable
    
    The "Launch" button in the GNOME Shell notifications was not
    marked as translatable.
    
    Fixes #263

 src/app.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index dd764d8b..87813099 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -468,7 +468,7 @@ public void notify_machine_installed (Machine machine) {
 
         var msg = _("Box ā€œ%sā€ installed and ready to use").printf (machine.name);
         var notification = new GLib.Notification (msg);
-        notification.add_button ("Launch", "app.launch-box::" + machine.name);
+        notification.add_button (_("Launch"), "app.launch-box::" + machine.name);
 
         send_notification ("installed-" + machine.name, notification);
     }
@@ -653,4 +653,4 @@ public new void uninhibit () {
     construct {
         set_transient_for (App.app.main_window);
     }
-}
\ No newline at end of file
+}


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