diff options
author | Chris Lumens <clumens@redhat.com> | 2011-03-30 14:59:30 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2011-03-30 14:59:30 -0400 |
commit | 7764c732aa108888d7682b41bf45b00feb5cb737 (patch) | |
tree | 2dacf6b8ab84ae2377498eb740e75e0343f1b598 /pyanaconda/iw/upgrade_swap_gui.py | |
parent | 66895d2f7c30bb7e0bd704ca47ea43136d34c29b (diff) | |
download | anaconda-7764c732aa108888d7682b41bf45b00feb5cb737.tar.gz anaconda-7764c732aa108888d7682b41bf45b00feb5cb737.tar.xz anaconda-7764c732aa108888d7682b41bf45b00feb5cb737.zip |
Improve the translatability of strings with more than one format specifier.
Diffstat (limited to 'pyanaconda/iw/upgrade_swap_gui.py')
-rw-r--r-- | pyanaconda/iw/upgrade_swap_gui.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pyanaconda/iw/upgrade_swap_gui.py b/pyanaconda/iw/upgrade_swap_gui.py index ddb873579..a998154dc 100644 --- a/pyanaconda/iw/upgrade_swap_gui.py +++ b/pyanaconda/iw/upgrade_swap_gui.py @@ -89,10 +89,11 @@ class UpgradeSwapWindow (InstallWindow): box = gtk.VBox (False, 5) box.set_border_width (5) - label = gtk.Label(_("You currently have %dMB of swap configured, which " - "is less than the recommended miminum of %sMB. You " + label = gtk.Label(_("You currently have %(swapAmount)dMB of swap configured, which " + "is less than the recommended miminum of %(swapSuggestion)sMB. You " "may optionally create more swap space on one of " - "your file systems now.") % (iutil.swapAmount()/1024, iutil.swapSuggestion()[0]/1024)) + "your file systems now.") % {"swapAmount": iutil.swapAmount()/1024, + "swapSuggestion": iutil.swapSuggestion()[0]/1024}) label.set_alignment (0.5, 0.0) label.set_line_wrap (True) |