[master 3/4] Properly parameterize a translated string
dashea
installerbot-noreply at redhat.com
Mon Jul 20 21:18:19 UTC 2015
From: David Shea <dshea at redhat.com>
---
pyanaconda/rescue.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/rescue.py b/pyanaconda/rescue.py
index 9411ed5..c4b3669 100644
--- a/pyanaconda/rescue.py
+++ b/pyanaconda/rescue.py
@@ -341,10 +341,10 @@ def refresh(self, args=None):
if flags.automatedInstall:
log.info("System has been mounted under: %s", iutil.getSysroot())
else:
- text = TextWidget(_("Your system has been mounted under %s.\n\nIf "
+ text = TextWidget(_("Your system has been mounted under %(mountpoint)s.\n\nIf "
"you would like to make your system the root "
- "environment, run the command:\n\n\tchroot %s\n")
- % (iutil.getSysroot(), iutil.getSysroot()))
+ "environment, run the command:\n\n\tchroot %(mountpoint)s\n")
+ % {"mountpoint": iutil.getSysroot()} )
self._window.append(text)
rootmounted = True
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/df2411b706e66b4b3084d68323418ecdcf32ff1d
More information about the anaconda-patches
mailing list