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



commit a3386ef54f92f6714434e8e753bfb5d5b4f14568
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]