From 7c6b659bd799080ca3a84110b112313a8cd12b1f Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 8 Nov 2022 19:53:22 +0100 Subject: Add PropertyInfo overload for GLOBAL_DEF --- core/string/translation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/string') diff --git a/core/string/translation.cpp b/core/string/translation.cpp index d1ac91957a..6fbe6bf0c8 100644 --- a/core/string/translation.cpp +++ b/core/string/translation.cpp @@ -688,7 +688,7 @@ void TranslationServer::setup() { pseudolocalization_skip_placeholders_enabled = GLOBAL_DEF("internationalization/pseudolocalization/skip_placeholders", true); #ifdef TOOLS_ENABLED - ProjectSettings::get_singleton()->set_custom_property_info("internationalization/locale/fallback", PropertyInfo(Variant::STRING, "internationalization/locale/fallback", PROPERTY_HINT_LOCALE_ID, "")); + ProjectSettings::get_singleton()->set_custom_property_info(PropertyInfo(Variant::STRING, "internationalization/locale/fallback", PROPERTY_HINT_LOCALE_ID, "")); #endif } -- cgit v1.2.3