mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +08:00
Ref T172, added ecosystem column
This commit is contained in:
@@ -29,6 +29,7 @@ namespace BlackGui
|
|||||||
this->m_columns.addColumn(CColumn::standardString("port", CServer::IndexPort));
|
this->m_columns.addColumn(CColumn::standardString("port", CServer::IndexPort));
|
||||||
this->m_columns.addColumn(CColumn::standardString("realname", { CServer::IndexUser, CUser::IndexRealName }));
|
this->m_columns.addColumn(CColumn::standardString("realname", { CServer::IndexUser, CUser::IndexRealName }));
|
||||||
this->m_columns.addColumn(CColumn::standardString("userid", { CServer::IndexUser, CUser::IndexId }));
|
this->m_columns.addColumn(CColumn::standardString("userid", { CServer::IndexUser, CUser::IndexId }));
|
||||||
|
this->m_columns.addColumn(CColumn::standardString("eco", { CServer::IndexEcosystem, CEcosystem::IndexSystemString }));
|
||||||
this->m_columns.addColumn(CColumn::standardString("type", CServer::IndexServerTypeAsString));
|
this->m_columns.addColumn(CColumn::standardString("type", CServer::IndexServerTypeAsString));
|
||||||
|
|
||||||
// force strings for translation in resource files
|
// force strings for translation in resource files
|
||||||
@@ -38,6 +39,7 @@ namespace BlackGui
|
|||||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "port");
|
(void)QT_TRANSLATE_NOOP("ServerListModel", "port");
|
||||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "realname");
|
(void)QT_TRANSLATE_NOOP("ServerListModel", "realname");
|
||||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "userid");
|
(void)QT_TRANSLATE_NOOP("ServerListModel", "userid");
|
||||||
|
(void)QT_TRANSLATE_NOOP("ServerListModel", "eco");
|
||||||
(void)QT_TRANSLATE_NOOP("ServerListModel", "type");
|
(void)QT_TRANSLATE_NOOP("ServerListModel", "type");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user