Shortened names of backends
This commit is contained in:
		@@ -330,7 +330,7 @@ class DbManager(CLIDbManager):
 | 
			
		||||
        self.column.set_sort_column_id(NAME_COL)
 | 
			
		||||
        self.column.set_sort_indicator(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.name_renderer = render
 | 
			
		||||
 | 
			
		||||
@@ -832,7 +832,7 @@ class DbManager(CLIDbManager):
 | 
			
		||||
        for plugin in pmgr.get_reg_databases():
 | 
			
		||||
            if plugin.id == dbid:
 | 
			
		||||
                return plugin._name
 | 
			
		||||
        return _("Unknown Database")
 | 
			
		||||
        return _("Unknown")
 | 
			
		||||
 | 
			
		||||
    def _create_new_db(self, title=None, create_db=True, dbid=None):
 | 
			
		||||
        """
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@
 | 
			
		||||
 | 
			
		||||
plg = newplugin()
 | 
			
		||||
plg.id    = 'bsddb'
 | 
			
		||||
plg.name  = _("BSDDB Database")
 | 
			
		||||
plg.name  = _("BSDDB")
 | 
			
		||||
plg.name_accell  = _("_BSDDB Database")
 | 
			
		||||
plg.description =  _("Berkeley Software Distribution Database Backend")
 | 
			
		||||
plg.version = '1.0'
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@
 | 
			
		||||
 | 
			
		||||
register(DATABASE,
 | 
			
		||||
         id    = 'dbapi',
 | 
			
		||||
         name  = _("DB-API Database"),
 | 
			
		||||
         name  = _("DB-API"),
 | 
			
		||||
         name_accell  = _("DB-_API Database"),
 | 
			
		||||
         description =  _("DB-API Database"),
 | 
			
		||||
         version = '1.0.32',
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@
 | 
			
		||||
 | 
			
		||||
register(DATABASE,
 | 
			
		||||
         id    = 'inmemorydb',
 | 
			
		||||
         name  = _("In-Memory Database"),
 | 
			
		||||
         name  = _("In-Memory"),
 | 
			
		||||
         name_accell  = _("In-_Memory Database"),
 | 
			
		||||
         description =  _("In-Memory Database"),
 | 
			
		||||
         version = '1.0.0',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user