Shortened names of backends

This commit is contained in:
Doug Blank 2016-04-17 15:41:09 -04:00
parent 4537895941
commit 3f7b441a54
4 changed files with 5 additions and 5 deletions

View File

@ -330,7 +330,7 @@ class DbManager(CLIDbManager):
self.column.set_sort_column_id(NAME_COL) self.column.set_sort_column_id(NAME_COL)
self.column.set_sort_indicator(True) self.column.set_sort_indicator(True)
self.column.set_resizable(True) self.column.set_resizable(True)
self.column.set_min_width(235) self.column.set_min_width(250)
self.dblist.append_column(self.column) self.dblist.append_column(self.column)
self.name_renderer = render self.name_renderer = render
@ -832,7 +832,7 @@ class DbManager(CLIDbManager):
for plugin in pmgr.get_reg_databases(): for plugin in pmgr.get_reg_databases():
if plugin.id == dbid: if plugin.id == dbid:
return plugin._name return plugin._name
return _("Unknown Database") return _("Unknown")
def _create_new_db(self, title=None, create_db=True, dbid=None): def _create_new_db(self, title=None, create_db=True, dbid=None):
""" """

View File

@ -20,7 +20,7 @@
plg = newplugin() plg = newplugin()
plg.id = 'bsddb' plg.id = 'bsddb'
plg.name = _("BSDDB Database") plg.name = _("BSDDB")
plg.name_accell = _("_BSDDB Database") plg.name_accell = _("_BSDDB Database")
plg.description = _("Berkeley Software Distribution Database Backend") plg.description = _("Berkeley Software Distribution Database Backend")
plg.version = '1.0' plg.version = '1.0'

View File

@ -20,7 +20,7 @@
register(DATABASE, register(DATABASE,
id = 'dbapi', id = 'dbapi',
name = _("DB-API Database"), name = _("DB-API"),
name_accell = _("DB-_API Database"), name_accell = _("DB-_API Database"),
description = _("DB-API Database"), description = _("DB-API Database"),
version = '1.0.32', version = '1.0.32',

View File

@ -20,7 +20,7 @@
register(DATABASE, register(DATABASE,
id = 'inmemorydb', id = 'inmemorydb',
name = _("In-Memory Database"), name = _("In-Memory"),
name_accell = _("In-_Memory Database"), name_accell = _("In-_Memory Database"),
description = _("In-Memory Database"), description = _("In-Memory Database"),
version = '1.0.0', version = '1.0.0',