From 24506f9ac0c895e16b9ef9e56d97a12406898a4e Mon Sep 17 00:00:00 2001
From: Huluti <hugo.posnic@gmail.com>
Date: Thu, 12 Jan 2017 17:36:22 +0100
Subject: [PATCH] Make two strings translatables

---
 pacman_mirrors/pacman_mirrors_gui.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pacman_mirrors/pacman_mirrors_gui.py b/pacman_mirrors/pacman_mirrors_gui.py
index ca248969..a359989f 100644
--- a/pacman_mirrors/pacman_mirrors_gui.py
+++ b/pacman_mirrors/pacman_mirrors_gui.py
@@ -99,14 +99,14 @@ class PacmanMirrors(Gtk.Window):
 
     def done(self, button):
         # Confirm choice
-        dialog = Gtk.Dialog("Are you sure?", None, 0,
+        dialog = Gtk.Dialog(_("Are you sure?"), None, 0,
         (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL,
         Gtk.STOCK_OK, Gtk.ResponseType.OK))
         dialog.set_transient_for(self)
         dialog.set_border_width(10)
         box = dialog.get_content_area()
         box.set_spacing(10)
-        box.add(Gtk.Label("Are you sure to replace your list of mirrors?"))
+        box.add(Gtk.Label(_("Are you sure to replace your list of mirrors?")))
         dialog.show_all()
         response = dialog.run()
 
-- 
GitLab