Merge pull request #10597 from loadrunner/v3

added Romanian language
This commit is contained in:
minggo 2015-02-26 10:51:46 +08:00
commit 5d8071bdcf
7 changed files with 23 additions and 1 deletions

View File

@ -66,7 +66,8 @@ enum class LanguageType
NORWEGIAN,
POLISH,
TURKISH,
UKRAINIAN
UKRAINIAN,
ROMANIAN
};
// END of platform group

View File

@ -184,6 +184,10 @@ LanguageType Application::getCurrentLanguage()
{
ret = LanguageType::UKRAINIAN;
}
else if (0 == strcmp("ro", pLanguageName))
{
ret = LanguageType::ROMANIAN;
}
return ret;
}

View File

@ -158,6 +158,9 @@ LanguageType Application::getCurrentLanguage()
else if ([languageCode isEqualToString:@"uk"]){
ret = LanguageType::UKRAINIAN;
}
else if ([languageCode isEqualToString:@"ro"]){
ret = LanguageType::ROMANIAN;
}
return ret;
}

View File

@ -253,6 +253,10 @@ LanguageType Application::getCurrentLanguage()
{
ret = LanguageType::UKRAINIAN;
}
else if (0 == strcmp("ro", pLanguageName))
{
ret = LanguageType::ROMANIAN;
}
return ret;
}

View File

@ -212,6 +212,9 @@ LanguageType Application::getCurrentLanguage()
else if ([languageCode isEqualToString:@"uk"]){
ret = LanguageType::UKRAINIAN;
}
else if ([languageCode isEqualToString:@"ro"]){
ret = LanguageType::ROMANIAN;
}
return ret;
}

View File

@ -191,6 +191,9 @@ LanguageType Application::getCurrentLanguage()
case LANG_UKRAINIAN:
ret = LanguageType::UKRAINIAN;
break;
case LANG_ROMANIAN:
ret = LanguageType::ROMANIAN;
break;
}
return ret;

View File

@ -201,6 +201,10 @@ LanguageType Application::getCurrentLanguage()
{
ret = LanguageType::UKRAINIAN;
}
else if (strncmp(code, "ro", 2) == 0)
{
ret = LanguageType::ROMANIAN;
}
return ret;
}