diff options
Diffstat (limited to 'src/fe/gtk/OtherSettings.py')
-rw-r--r-- | src/fe/gtk/OtherSettings.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/fe/gtk/OtherSettings.py b/src/fe/gtk/OtherSettings.py index 00583b0..6f132af 100644 --- a/src/fe/gtk/OtherSettings.py +++ b/src/fe/gtk/OtherSettings.py @@ -18,7 +18,7 @@ class Panel(GLIScreen): """ # Attributes: #title="Other Settings" - _helptext = """ + _helptext = _(""" <b><u>Other Settings</u></b> Display Manager: @@ -48,7 +48,7 @@ setting. Otherwise if you chose UTC in the Timezone screen, choose UTC here. Default Editor: Pick one. Nano is the default and recommended. -""" +""") # Operations def __init__(self, controller): @@ -65,7 +65,7 @@ Pick one. Nano is the default and recommended. # create the CLOCK object self.clock = self.Option("Clock") - self.clock.HelpText = "Should CLOCK be set to UTC or local? Unless you set your timezone to UTC you will want to choose local." + self.clock.HelpText = _("Should CLOCK be set to UTC or local? Unless you set your timezone to UTC you will want to choose local.") self.clock.Options = ["UTC","local"] self.clock.Type = self.Option.OptionType.COMBO clock_gtk = self.clock.Generate_GTK() @@ -73,7 +73,7 @@ Pick one. Nano is the default and recommended. # create the Windowkeys object self.windowkeys = self.Option("Windowkeys") - self.windowkeys.HelpText = "Should we first load the 'windowkeys' console keymap?" + self.windowkeys.HelpText = _("Should we first load the 'windowkeys' console keymap?") self.windowkeys.Options = ["Yes","No"] self.windowkeys.Type = self.Option.OptionType.COMBO clock_gtk = self.windowkeys.Generate_GTK() @@ -81,7 +81,7 @@ Pick one. Nano is the default and recommended. # create the Display Manager object self.displaymanager = self.Option("Display Manager") - self.displaymanager.HelpText = "Choose your display manager for Xorg-x11 (note you must make sure that package also gets installed for it to work)" + self.displaymanager.HelpText = _("Choose your display manager for Xorg-x11 (note you must make sure that package also gets installed for it to work)") self.displaymanager.Options = ["xdm","kdm","gdm"] self.displaymanager.Type = self.Option.OptionType.COMBO_ENTRY clock_gtk = self.displaymanager.Generate_GTK() @@ -89,7 +89,7 @@ Pick one. Nano is the default and recommended. # create the Default Editor object self.editor = self.Option("Default Editor") - self.editor.HelpText = "Choose your default editor" + self.editor.HelpText = _("Choose your default editor") self.editor.Options = ["/bin/nano","/usr/bin/vim","/usr/bin/emacs"] self.editor.Type = self.Option.OptionType.COMBO editor_gtk = self.editor.Generate_GTK() @@ -97,7 +97,7 @@ Pick one. Nano is the default and recommended. # create the Keymap object self.keymap = self.Option("Keymap") - self.keymap.HelpText = "Choose your desired keymap" + self.keymap.HelpText = _("Choose your desired keymap") self.keymap.Options = [""] + GLIUtility.generate_keymap_list() self.keymap.Type = self.Option.OptionType.COMBO editor_gtk = self.keymap.Generate_GTK() @@ -105,7 +105,7 @@ Pick one. Nano is the default and recommended. # create the Console Font object self.font = self.Option("Console Font") - self.font.HelpText = "Choose your default console font" + self.font.HelpText = _("Choose your default console font") self.font.Options = [""] + GLIUtility.generate_consolefont_list() self.font.Type = self.Option.OptionType.COMBO editor_gtk = self.font.Generate_GTK() @@ -120,7 +120,7 @@ Pick one. Nano is the default and recommended. # create the XSession object self.xsession = self.Option("XSession") - self.xsession.HelpText = "Choose what window manager you want to start default with X if run with xdm, startx, or xinit. (common options are Gnome or Xsession)" + self.xsession.HelpText = _("Choose what window manager you want to start default with X if run with xdm, startx, or xinit. (common options are Gnome or Xsession)") self.xsession.Options = ["Gnome","Xsession","fluxbox"] self.xsession.Type = self.Option.OptionType.COMBO_ENTRY editor_gtk = self.xsession.Generate_GTK() @@ -128,7 +128,7 @@ Pick one. Nano is the default and recommended. # create the Extended Keymaps object self.extkeymap = self.Option("Extended Keymaps") - self.extkeymap.HelpText = "This sets the maps to load for extended keyboards. Most users will leave this as is." + self.extkeymap.HelpText = _("This sets the maps to load for extended keyboards. Most users will leave this as is.") self.extkeymap.Type = self.Option.OptionType.TEXT editor_gtk = self.extkeymap.Generate_GTK() addme_to_vert.append(editor_gtk) @@ -210,7 +210,7 @@ Pick one. Nano is the default and recommended. try: self.controller.install_profile.set_etc_files(etc_files) except: - msgbox=Widgets().error_Box("Error","An internal error occurred!") + msgbox=Widgets().error_Box(_("Error"),_("An internal error occurred!")) msgbox.run() msgbox.destroy() |