Add version to window title (#613)

Also updated the translation files for missing strings and updated the Polish translation.
This commit is contained in:
Pyraqq 2021-12-23 23:53:26 +01:00 committed by GitHub
parent d9e69cca06
commit 26851be536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 3611 additions and 2564 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,9 @@ Lobby::Lobby(AOApplication *p_ao_app) : QMainWindow()
{
ao_app = p_ao_app;
//
this->setWindowTitle(tr("Attorney Online 2"));
this->setWindowTitle(tr("Attorney Online %1").arg(ao_app->applicationVersion()));
this->setWindowIcon(QIcon(":/logo.png"));
this->setWindowFlags( (this->windowFlags() | Qt::CustomizeWindowHint) & ~Qt::WindowMaximizeButtonHint);

View File

@ -268,7 +268,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
courtroom_loaded = false;
window_title = tr("Attorney Online 2");
window_title = tr("Attorney Online %1").arg(applicationVersion());
int selected_server = w_lobby->get_selected_server();
QString server_address = "", server_name = "";