1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

CSV translation import plugin

This commit is contained in:
Juan Linietsky
2017-02-01 20:41:05 -03:00
parent 2cd2ca7bbc
commit b3aebcf6df
11 changed files with 292 additions and 15 deletions

View File

@@ -751,6 +751,20 @@ static const char* locale_names[]={
0
};
bool TranslationServer::is_locale_valid(const String& p_locale) {
const char **ptr=locale_list;
while (*ptr) {
if (*ptr==p_locale)
return true;
ptr++;
}
return false;
}
Vector<String> TranslationServer::get_all_locales() {