From d38b7ca080488157ec0629d928bb9997f86f5470 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Tue, 2 Dec 2014 18:38:54 -0500 Subject: [PATCH] Fix a few strings --- src/states_screens/create_server_screen.cpp | 2 +- src/states_screens/dialogs/user_info_dialog.cpp | 2 +- src/tracks/track_object_presentation.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/states_screens/create_server_screen.cpp b/src/states_screens/create_server_screen.cpp index 032559902..408bc0ba8 100644 --- a/src/states_screens/create_server_screen.cpp +++ b/src/states_screens/create_server_screen.cpp @@ -57,7 +57,7 @@ void CreateServerScreen::loadedFromFile() m_name_widget = getWidget("name"); assert(m_name_widget != NULL); - m_name_widget->setText(PlayerManager::getCurrentOnlineUserName() + _("'s server")); + m_name_widget->setText(_("%s's server", PlayerManager::getCurrentOnlineUserName())); m_max_players_widget = getWidget("max_players"); assert(m_max_players_widget != NULL); m_max_players_widget->setValue(8); diff --git a/src/states_screens/dialogs/user_info_dialog.cpp b/src/states_screens/dialogs/user_info_dialog.cpp index 698e396ce..fd828eb66 100644 --- a/src/states_screens/dialogs/user_info_dialog.cpp +++ b/src/states_screens/dialogs/user_info_dialog.cpp @@ -155,7 +155,7 @@ void UserInfoDialog::sendFriendRequest() true, false); ProfileManager::get()->getProfileByID(id)->setRelationInfo(info); OnlineProfileFriends::getInstance()->refreshFriendsList(); - info_text = _("Friend request send!"); + info_text = _("Friend request sent!"); } else { diff --git a/src/tracks/track_object_presentation.cpp b/src/tracks/track_object_presentation.cpp index 094667fdb..e3401868f 100644 --- a/src/tracks/track_object_presentation.cpp +++ b/src/tracks/track_object_presentation.cpp @@ -899,7 +899,7 @@ void TrackObjectPresentationActionTrigger::onTriggerItemApproached(Item* who) DeviceConfig* config = device->getConfiguration(); irr::core::stringw fire = config->getBindingAsString(PA_FIRE); - new TutorialMessageDialog(_("Press to look behind, to fire the weapon with <%s> while pressing to to fire behind!", fire), + new TutorialMessageDialog(_("Press to look behind, and fire the weapon with <%s> while pressing to fire behind!", fire), true); } else if (m_action == "tutorial_nitro_collect")