Frontend: Add missing translation for network error messages
This commit is contained in:
parent
ed42b4b0d2
commit
6ce111301f
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ static bool WarnMessage(const std::string& title, const std::string& text) {
|
|||
}
|
||||
|
||||
void ShowError(const ConnectionError& e) {
|
||||
QMessageBox::critical(nullptr, QObject::tr("Error"), QString::fromStdString(e.GetString()));
|
||||
QMessageBox::critical(nullptr, QObject::tr("Error"), QObject::tr(e.GetString().c_str()));
|
||||
}
|
||||
|
||||
bool WarnCloseRoom() {
|
||||
|
|
Loading…
Reference in a new issue