Mark a few forgotten strings as translatable

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2010-12-23 18:30:23 +00:00
parent ac0a2ff6e7
commit afa16287ea
2 changed files with 6 additions and 5 deletions

View File

@ -213,7 +213,7 @@ public:
LabelWidget *getPlayerIDLabel() {return m_player_ID_label;}
std::string deviceName;
core::stringw deviceName;
std::string m_kartInternalName;
PlayerKartWidget(KartSelectionScreen* parent, StateManager::ActivePlayer* associatedPlayer,
@ -245,11 +245,11 @@ public:
// ---- Player ID label
if (associatedPlayer->getDevice()->getType() == DT_KEYBOARD)
{
deviceName += "keyboard";
deviceName += _("keyboard");
}
else if (associatedPlayer->getDevice()->getType() == DT_GAMEPAD)
{
deviceName += "gamepad";
deviceName += _("gamepad");
}
m_player_ID_label = new LabelWidget(false, true);

View File

@ -1113,8 +1113,9 @@ void RaceGUI::drawGlobalMusicDescription()
core::stringw thetext_composer;
if (mi->getComposer()!="")
{
std::string s = "by "+mi->getComposer();
thetext_composer = s.c_str();
thetext_composer = _("by");
thetext_composer += " ";
thetext_composer += mi->getComposer().c_str();
textWidth2 = font->getDimension(thetext_composer.c_str()).Width;
}
const int max_text_size = (int)(UserConfigParams::m_width*2.0f/3.0f);