From bf22c051e1ff8a832065425cbb9ed8e57396375c Mon Sep 17 00:00:00 2001 From: Steffen Schaumburg Date: Wed, 6 Apr 2011 19:43:44 +0200 Subject: [PATCH] rename preferences to advanced preferences --- pyfpdb/GuiPrefs.py | 4 ++-- pyfpdb/fpdb.pyw | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyfpdb/GuiPrefs.py b/pyfpdb/GuiPrefs.py index 59b1c0e6..db37ba44 100755 --- a/pyfpdb/GuiPrefs.py +++ b/pyfpdb/GuiPrefs.py @@ -175,12 +175,12 @@ if __name__=="__main__": config = Configuration.Config() win = gtk.Window(gtk.WINDOW_TOPLEVEL) - win.set_title(_("Test Preferences Dialog")) + win.set_title(_("Advanced Preferences Dialog")) win.set_border_width(1) win.set_default_size(600, 500) win.set_resizable(True) - dia = gtk.Dialog(_("Preferences"), + dia = gtk.Dialog(_("Advanced Preferences"), win, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, diff --git a/pyfpdb/fpdb.pyw b/pyfpdb/fpdb.pyw index a17dae71..d8c8cb8b 100755 --- a/pyfpdb/fpdb.pyw +++ b/pyfpdb/fpdb.pyw @@ -311,7 +311,7 @@ class fpdb: log.debug("........." + str(t.__class__)) def dia_preferences(self, widget, data=None): - dia = gtk.Dialog(_("Preferences"), + dia = gtk.Dialog(_("Advanced Preferences"), self.window, gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT, (gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT, @@ -456,7 +456,7 @@ class fpdb: diaHudTable.vbox.add(label) label.show() - label = gtk.Label(_("To configure things like colouring you will still have to use the Preferences dialogue or manually edit your HUD_config.xml.")) + label = gtk.Label(_("To configure things like colouring you will still have to use the Advanced Preferences dialogue or manually edit your HUD_config.xml.")) diaHudTable.vbox.add(label) label.show() @@ -795,7 +795,7 @@ class fpdb: - + @@ -843,7 +843,7 @@ class fpdb: ('Quit', gtk.STOCK_QUIT, _('_Quit'), None, 'Quit the Program', self.quit), ('LoadProf', None, _('_Load Profile (broken)'), _('L'), 'Load your profile', self.dia_load_profile), ('SaveProf', None, _('_Save Profile (todo)'), _('S'), 'Save your profile', self.dia_save_profile), - ('Preferences', None, _('Pre_ferences'), _('F'), 'Edit your preferences', self.dia_preferences), + ('advanced_preferences', None, _('Advanced Pre_ferences'), _('F'), 'Edit your preferences', self.dia_preferences), ('import', None, _('_Import')), ('bulkimp', None, _('_Bulk Import'), _('B'), 'Bulk Import', self.tab_bulk_import), ('tourneyimp', None, _('Tournament _Results Import'), _('R'), 'Tournament Results Import', self.tab_tourney_import), @@ -896,7 +896,7 @@ class fpdb: if self.config.example_copy: self.info_box(_("Config file"), _("has been created at:\n%s.\n") % self.config.file - + _("Edit your screen_name and hand history path in the supported_sites section of the Preferences window (Main menu) before trying to import hands.")) + + _("Edit your screen_name and hand history path in the supported_sites section of the Advanced Preferences window (Main menu) before trying to import hands.")) self.settings = {} self.settings['global_lock'] = self.lock if (os.sep == "/"):