aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe/gtk/ExtraPackages.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fe/gtk/ExtraPackages.py b/src/fe/gtk/ExtraPackages.py
index 284859d..1616b7d 100644
--- a/src/fe/gtk/ExtraPackages.py
+++ b/src/fe/gtk/ExtraPackages.py
@@ -16,8 +16,8 @@ class Panel(GLIScreen):
@license: GPL
"""
# Attributes:
- title="Do you need any extra packages?"
- _helptext = """
+ title = _("Do you need any extra packages?")
+ _helptext = _("""
<b><u>Extra Packages</u></b>
All of the packages listed on the right are available for the installer to \
@@ -27,7 +27,7 @@ the internet.
If you choose a graphical desktop such as gnome, kde, or fluxbox, be sure to \
also select xorg-x11 from the list. Otherwise, you will not have a fully \
functioning graphical environment.
-"""
+""")
# list of packages to emerge from the checked off items.
checked_items = []
@@ -39,12 +39,12 @@ functioning graphical environment.
self.vert2 = gtk.VBox(False, 10)
def draw_screen(self):
- content_str = """
+ content_str = _("""
This is where you emerge extra packages that your system may need. Packages that
are fetch-restricted or require you to accept licenses (e.g. many
big games) will cause your install to fail. Add additional packages with
caution. These trouble packages can be installed manually after you reboot.
-"""
+""")
# pack the description
self.vert.pack_start(gtk.Label(content_str), expand=False, fill=False, padding=5)
@@ -86,7 +86,7 @@ caution. These trouble packages can be installed manually after you reboot.
self.vert2.pack_start(hbox,expand=False,fill=False,padding=0)
# add the custom space-separated list bar
- entry_description = gtk.Label("Enter a space separated list of extra packages to install on the system ( in addition to those checked above ):")
+ entry_description = gtk.Label(_("Enter a space separated list of extra packages to install on the system ( in addition to those checked above ):"))
self.entry=gtk.Entry()
if self.controller.install_type == "networkless":
self.entry.set_sensitive(False)
@@ -152,7 +152,7 @@ caution. These trouble packages can be installed manually after you reboot.
self.controller.install_profile.set_install_packages(None, packages_to_emerge, None)
#print packages_to_emerge
except:
- box = Widgets().error_Box("Error saving packages","You need to fix your input! \n Theres a problem, are you sure didn't enter \n funny characters?")
+ box = Widgets().error_Box(_("Error saving packages","You need to fix your input! \n Theres a problem, are you sure didn't enter \n funny characters?"))
box.show()
return
progress = ProgressDialog(self.controller, ('install_mta','install_packages'), self.progress_callback)