diff options
author | Preston Cody <codeman@gentoo.org> | 2008-05-26 02:32:19 +0000 |
---|---|---|
committer | Preston Cody <codeman@gentoo.org> | 2008-05-26 02:32:19 +0000 |
commit | a9d7deced7117267103bd6ad96164119b576e1e3 (patch) | |
tree | 5a3da5e091a00e822f23157c2f395e062f922646 /src/fe | |
parent | committing changes to gtkfe in stages. (diff) | |
download | gli-a9d7deced7117267103bd6ad96164119b576e1e3.tar.gz gli-a9d7deced7117267103bd6ad96164119b576e1e3.tar.bz2 gli-a9d7deced7117267103bd6ad96164119b576e1e3.zip |
committing changes to gtkfe in stages.
adding internalization support written by
Jesus Rivero (Neurogeek)
basically sets everything in gettext.
last file in this dir.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/trunk@1907 f8877401-5920-0410-a79b-8e2d7e04ca0d
Diffstat (limited to 'src/fe')
-rw-r--r-- | src/fe/gtk/ExtraPackages.py | 14 |
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) |