From efdaa1fd14fd8e24a862d71f0d3c7a125e0f61fc Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 1 Apr 2013 14:58:55 +0000 Subject: [PATCH] translate a few CLI strings svn: r21838 --- gramps/cli/argparser.py | 2 +- gramps/cli/clidbman.py | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gramps/cli/argparser.py b/gramps/cli/argparser.py index 5c590e48d..c684039be 100644 --- a/gramps/cli/argparser.py +++ b/gramps/cli/argparser.py @@ -73,7 +73,7 @@ Application options -d, --debug=LOGGER_NAME Enable debug logs -l List Family Trees -L List Family Trees in Detail - -t List Family Trees in tabular (tab delimited) form + -t List Family Trees, tab delimited -u, --force-unlock Force unlock of family tree -s, --show Show config settings -c, --config=[config.setting[:value]] Set config setting(s) and start Gramps diff --git a/gramps/cli/clidbman.py b/gramps/cli/clidbman.py index f1f723d96..ad1cd3f18 100644 --- a/gramps/cli/clidbman.py +++ b/gramps/cli/clidbman.py @@ -208,19 +208,19 @@ class CLIDbManager(object): tval, enable, stock_id) = item count, bsddb_version, schema_version = self.get_dbdir_summary(dirpath, name) retval = {} - retval["Number of people"] = count + retval[_("Number of people")] = count if enable: - retval["Locked?"] = "yes" + retval[_("Locked?")] = _("yes") else: - retval["Locked?"] = "no" - retval["Bsddb version"] = bsddb_version - retval["Schema version"] = schema_version + retval[_("Locked?")] = _("no") + retval[_("Bsddb version")] = bsddb_version + retval[_("Schema version")] = schema_version if sys.version_info[0] < 3: - retval["Family tree"] = name.encode(glocale.getfilesystemencoding()) + retval[_("Family tree")] = name.encode(glocale.getfilesystemencoding()) else: - retval["Family tree"] = name - retval["Path"] = dirpath - retval["Last accessed"] = time.strftime('%x %X', + retval[_("Family tree")] = name + retval[_("Path")] = dirpath + retval[_("Last accessed")] = time.strftime('%x %X', time.localtime(tval)) summary_list.append( retval ) return summary_list