Avoid concatenating translated strings, and moved comment so that
translators can see where the string is used. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
9dc4c7a7e9
commit
3fae9270c2
@ -275,13 +275,23 @@ irr::core::stringw Binding::getAsString() const
|
||||
}
|
||||
else
|
||||
{
|
||||
//I18N: to appear in input configuration screen, for gamepad axes
|
||||
if (m_range == Input::AR_HALF)
|
||||
{
|
||||
//I18N: to appear in input configuration screen, for gamepad axes
|
||||
s = _("Axis %d %s", m_id, (m_dir == Input::AD_NEGATIVE) ? L"-" : L"+");
|
||||
}
|
||||
else
|
||||
{
|
||||
irr::core::stringw inv = _("inverted");
|
||||
s = _("Axis %d %s", m_id, (m_dir == Input::AD_NEGATIVE) ? inv : L"");
|
||||
if(m_dir == Input::AD_NEGATIVE)
|
||||
{
|
||||
//I18N: to appear in input configuration screen, for gamepad axes
|
||||
s = _("Axis %d inverted", m_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
//I18N: to appear in input configuration screen, for gamepad axes
|
||||
s = _("Axis %d", m_id);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user