mirror of
https://github.com/ENSL/NS.git
synced 2024-11-25 05:51:11 +00:00
localization map update
This commit is contained in:
parent
664a578775
commit
ca5246501b
1 changed files with 2 additions and 1 deletions
|
@ -313,7 +313,6 @@ bool LocalizeString(const char* inMessage, string& outputString)
|
||||||
|
|
||||||
if((CHudTextMessage::LocaliseTextString(theInputString, theOutputString, kMaxLocalizedStringLength) != NULL))
|
if((CHudTextMessage::LocaliseTextString(theInputString, theOutputString, kMaxLocalizedStringLength) != NULL))
|
||||||
{
|
{
|
||||||
LocalizationMap[inMessage] = theOutputString;
|
|
||||||
outputString = theOutputString;
|
outputString = theOutputString;
|
||||||
|
|
||||||
if(theOutputString[0] != '#')
|
if(theOutputString[0] != '#')
|
||||||
|
@ -326,6 +325,8 @@ bool LocalizeString(const char* inMessage, string& outputString)
|
||||||
theTempString = theTempString.substr(1, theTempString.length());
|
theTempString = theTempString.substr(1, theTempString.length());
|
||||||
outputString = theTempString;
|
outputString = theTempString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LocalizationMap[inMessage] = outputString;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue