mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
This commit is contained in:
@@ -1052,7 +1052,7 @@ TranslationServer *TranslationServer::singleton = NULL;
|
||||
|
||||
bool TranslationServer::_load_translations(const String &p_from) {
|
||||
|
||||
if (ProjectSettings::get_singleton()->has(p_from)) {
|
||||
if (ProjectSettings::get_singleton()->has_setting(p_from)) {
|
||||
PoolVector<String> translations = ProjectSettings::get_singleton()->get(p_from);
|
||||
|
||||
int tcount = translations.size();
|
||||
|
||||
Reference in New Issue
Block a user