Fix translations handling in the splash screen
Don't use the splash/ prefix, it doesn't exist in our XLIFF files.
This commit is contained in:
parent
4ee9021eab
commit
6d6e1809f0
1 changed files with 2 additions and 3 deletions
|
@ -644,11 +644,10 @@ void fgSplashProgress( const char *identifier, unsigned int percent )
|
|||
std::string text;
|
||||
if (identifier[0] != 0)
|
||||
{
|
||||
std::string id = std::string("splash/") + identifier;
|
||||
text = globals->get_locale()->getLocalizedString(id.c_str(), "sys", "");
|
||||
text = globals->get_locale()->getLocalizedString(identifier, "sys");
|
||||
|
||||
if( text.empty() )
|
||||
text = "<incomplete language resource>: " + id;
|
||||
text = std::string("<incomplete language resource>: ") + identifier;
|
||||
}
|
||||
|
||||
if (!strcmp(identifier,"downloading-scenery")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue