From 199929b2d067f16ff47d04e9333cfb90db8db08a Mon Sep 17 00:00:00 2001 From: steffen123 Date: Tue, 17 Aug 2010 23:30:15 +0200 Subject: [PATCH] a couple of l10n related fixes to fpdb.pyw --- pyfpdb/fpdb.pyw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/fpdb.pyw b/pyfpdb/fpdb.pyw index f0d73b8f..d3004bdb 100755 --- a/pyfpdb/fpdb.pyw +++ b/pyfpdb/fpdb.pyw @@ -873,7 +873,7 @@ class fpdb: sys.exit() log = Configuration.get_logger("logging.conf", "fpdb", log_dir=self.config.dir_log) - print _("Logfile is ") + os.path.join(self.config.dir_log, self.config.log_file) + "\n" + print (_("Logfile is %s\n") % os.path.join(self.config.dir_log, self.config.log_file)) if self.config.example_copy: self.info_box(_("Config file") , _("has been created at:\n%s.\n") % self.config.file @@ -901,7 +901,7 @@ class fpdb: self.db = Database.Database(self.config, sql = self.sql) if self.db.get_backend_name() == 'SQLite': # tell sqlite users where the db file is - print _("Connected to SQLite: %(database)s") % {'database':self.db.db_path} + print (_("Connected to SQLite: %s") % self.db.db_path) except Exceptions.FpdbMySQLAccessDenied: err_msg = _("MySQL Server reports: Access denied. Are your permissions set correctly?") except Exceptions.FpdbMySQLNoDatabase: