diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2018-05-29 19:21:49 -0500 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-07-28 19:00:34 +0200 |
| commit | 762702aff852701c44eb0f07ee02c0fdfd1fd85b (patch) | |
| tree | c88c3e6d0c7ea48cdc039339adbd63d95e83662f /src/lobby.cpp | |
| parent | 319cb0adee1b8a65d1daf78aa903d6ffd2952c9c (diff) | |
Make all strings translatable
Diffstat (limited to 'src/lobby.cpp')
| -rw-r--r-- | src/lobby.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp index 4a96e567..776528c9 100644 --- a/src/lobby.cpp +++ b/src/lobby.cpp @@ -71,9 +71,9 @@ void Lobby::set_widgets() qDebug() << "W: did not find lobby width or height in " << filename; // Most common symptom of bad config files and missing assets. - call_notice("It doesn't look like your client is set up correctly.\n" + call_notice(tr("It doesn't look like your client is set up correctly.\n" "Did you download all resources correctly from tiny.cc/getao, " - "including the large 'base' folder?"); + "including the large 'base' folder?")); this->resize(517, 666); } @@ -144,11 +144,11 @@ void Lobby::set_widgets() ui_loading_text->setFrameStyle(QFrame::NoFrame); ui_loading_text->setStyleSheet("background-color: rgba(0, 0, 0, 0);" "color: rgba(255, 128, 0, 255);"); - ui_loading_text->append("Loading"); + ui_loading_text->append(tr("Loading")); set_size_and_pos(ui_progress_bar, "progress_bar"); set_size_and_pos(ui_cancel, "cancel"); - ui_cancel->setText("Cancel"); + ui_cancel->setText(tr("Cancel")); ui_loading_background->hide(); @@ -313,7 +313,7 @@ void Lobby::on_server_list_clicked(QModelIndex p_model) ui_description->moveCursor(QTextCursor::Start); ui_description->ensureCursorVisible(); - ui_player_count->setText("Offline"); + ui_player_count->setText(tr("Offline")); ui_connect->setEnabled(false); |
