[gnome-games] ui: Make "Add games" dialog buttons translatable



commit 0c18c2c4e72ca29cb54e9cad51afc31c5e125a5e
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Mon May 22 10:56:43 2017 +0200

    ui: Make "Add games" dialog buttons translatable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782824

 src/ui/application.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/application.vala b/src/ui/application.vala
index b0a4c56..874735a 100644
--- a/src/ui/application.vala
+++ b/src/ui/application.vala
@@ -118,8 +118,8 @@ public class Games.Application : Gtk.Application {
        public async void add_game_files_async () {
                var chooser = new Gtk.FileChooserDialog (
                        _("Select game files"), window, Gtk.FileChooserAction.OPEN,
-                       "_Cancel", Gtk.ResponseType.CANCEL,
-                       "_Add", Gtk.ResponseType.ACCEPT);
+                       _("_Cancel"), Gtk.ResponseType.CANCEL,
+                       _("_Add"), Gtk.ResponseType.ACCEPT);
 
                chooser.select_multiple = true;
 


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