[master] [PATCH] Fix the final progress message on live installations

Vratislav Podzimek vpodzime at redhat.com
Tue Dec 18 11:01:14 UTC 2012


It needs to be translated and the product name should be used.

Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
 pyanaconda/ui/gui/hubs/progress.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/ui/gui/hubs/progress.py b/pyanaconda/ui/gui/hubs/progress.py
index 73597a4..7de2cff 100644
--- a/pyanaconda/ui/gui/hubs/progress.py
+++ b/pyanaconda/ui/gui/hubs/progress.py
@@ -24,6 +24,7 @@ from __future__ import division
 import gettext
 _ = lambda x: gettext.ldgettext("anaconda", x)
 
+# pylint: disable-msg=E0611
 from gi.repository import GLib, Gtk
 
 import itertools
@@ -176,8 +177,10 @@ class ProgressHub(Hub):
 
         if flags.livecdInstall:
             continueText = self.builder.get_object("rebootLabel")
-            continueText.set_text("%s is now successfully installed on your system and ready "
-                                  "for you to use!  When you are ready, reboot your system to start using it!")
+            continueText.set_text(_("%s is now successfully installed on your "
+                                    "system and ready for you to use! When you "
+                                    "are ready, reboot your system to start "
+                                    "using it!") % productName)
             self.continueButton.set_label("_Quit")
 
         self._progressBar = self.builder.get_object("progressBar")
-- 
1.7.11.7



More information about the anaconda-patches mailing list