translate a few CLI strings
svn: r21838
This commit is contained in:
parent
7ee109ea98
commit
efdaa1fd14
@ -73,7 +73,7 @@ Application options
|
|||||||
-d, --debug=LOGGER_NAME Enable debug logs
|
-d, --debug=LOGGER_NAME Enable debug logs
|
||||||
-l List Family Trees
|
-l List Family Trees
|
||||||
-L List Family Trees in Detail
|
-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
|
-u, --force-unlock Force unlock of family tree
|
||||||
-s, --show Show config settings
|
-s, --show Show config settings
|
||||||
-c, --config=[config.setting[:value]] Set config setting(s) and start Gramps
|
-c, --config=[config.setting[:value]] Set config setting(s) and start Gramps
|
||||||
|
@ -208,19 +208,19 @@ class CLIDbManager(object):
|
|||||||
tval, enable, stock_id) = item
|
tval, enable, stock_id) = item
|
||||||
count, bsddb_version, schema_version = self.get_dbdir_summary(dirpath, name)
|
count, bsddb_version, schema_version = self.get_dbdir_summary(dirpath, name)
|
||||||
retval = {}
|
retval = {}
|
||||||
retval["Number of people"] = count
|
retval[_("Number of people")] = count
|
||||||
if enable:
|
if enable:
|
||||||
retval["Locked?"] = "yes"
|
retval[_("Locked?")] = _("yes")
|
||||||
else:
|
else:
|
||||||
retval["Locked?"] = "no"
|
retval[_("Locked?")] = _("no")
|
||||||
retval["Bsddb version"] = bsddb_version
|
retval[_("Bsddb version")] = bsddb_version
|
||||||
retval["Schema version"] = schema_version
|
retval[_("Schema version")] = schema_version
|
||||||
if sys.version_info[0] < 3:
|
if sys.version_info[0] < 3:
|
||||||
retval["Family tree"] = name.encode(glocale.getfilesystemencoding())
|
retval[_("Family tree")] = name.encode(glocale.getfilesystemencoding())
|
||||||
else:
|
else:
|
||||||
retval["Family tree"] = name
|
retval[_("Family tree")] = name
|
||||||
retval["Path"] = dirpath
|
retval[_("Path")] = dirpath
|
||||||
retval["Last accessed"] = time.strftime('%x %X',
|
retval[_("Last accessed")] = time.strftime('%x %X',
|
||||||
time.localtime(tval))
|
time.localtime(tval))
|
||||||
summary_list.append( retval )
|
summary_list.append( retval )
|
||||||
return summary_list
|
return summary_list
|
||||||
|
Loading…
Reference in New Issue
Block a user