mirror of https://github.com/axmolengine/axmol.git
Added Bulgarian language.
This commit is contained in:
parent
1e271a9d96
commit
2aec39ad56
|
@ -67,7 +67,8 @@ enum class LanguageType
|
|||
POLISH,
|
||||
TURKISH,
|
||||
UKRAINIAN,
|
||||
ROMANIAN
|
||||
ROMANIAN,
|
||||
BULGARIAN
|
||||
};
|
||||
|
||||
// END of platform group
|
||||
|
|
|
@ -188,6 +188,10 @@ LanguageType Application::getCurrentLanguage()
|
|||
{
|
||||
ret = LanguageType::ROMANIAN;
|
||||
}
|
||||
else if (0 == strcmp("bg", pLanguageName))
|
||||
{
|
||||
ret = LanguageType::BULGARIAN;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -161,6 +161,9 @@ LanguageType Application::getCurrentLanguage()
|
|||
else if ([languageCode isEqualToString:@"ro"]){
|
||||
ret = LanguageType::ROMANIAN;
|
||||
}
|
||||
else if ([languageCode isEqualToString:@"bg"]){
|
||||
ret = LanguageType::BULGARIAN;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -257,6 +257,10 @@ LanguageType Application::getCurrentLanguage()
|
|||
{
|
||||
ret = LanguageType::ROMANIAN;
|
||||
}
|
||||
else if (0 == strcmp("bg", pLanguageName))
|
||||
{
|
||||
ret = LanguageType::BULGARIAN;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -215,6 +215,9 @@ LanguageType Application::getCurrentLanguage()
|
|||
else if ([languageCode isEqualToString:@"ro"]){
|
||||
ret = LanguageType::ROMANIAN;
|
||||
}
|
||||
else if ([languageCode isEqualToString:@"bg"]){
|
||||
ret = LanguageType::BULGARIAN;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -194,6 +194,9 @@ LanguageType Application::getCurrentLanguage()
|
|||
case LANG_ROMANIAN:
|
||||
ret = LanguageType::ROMANIAN;
|
||||
break;
|
||||
case LANG_BULGARIAN:
|
||||
ret = LanguageType::BULGARIAN;
|
||||
break;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
|
@ -205,6 +205,10 @@ LanguageType Application::getCurrentLanguage()
|
|||
{
|
||||
ret = LanguageType::ROMANIAN;
|
||||
}
|
||||
else if (strncmp(code, "bg", 2) == 0)
|
||||
{
|
||||
ret = LanguageType::BULGARIAN;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue