From 12cb6386f6bb4e82dcc1105616181a7dc251fe02 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Fri, 4 Mar 2022 15:04:59 +0200 Subject: Improve app name and system permission message localization. Add localizable string (Dictionary) property editor and property hint. Add localized "app name" property to the project settings. Add localized permission and copyright properties to the macOS and iOS export settings. Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties. --- core/config/project_settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/config') diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index c9b615fb0a..6db8100f59 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1203,6 +1203,8 @@ ProjectSettings::ProjectSettings() { singleton = this; GLOBAL_DEF_BASIC("application/config/name", ""); + GLOBAL_DEF_BASIC("application/config/name_localized", Dictionary()); + custom_prop_info["application/config/name_localized"] = PropertyInfo(Variant::DICTIONARY, "application/config/name_localized", PROPERTY_HINT_LOCALIZABLE_STRING); GLOBAL_DEF_BASIC("application/config/description", ""); custom_prop_info["application/config/description"] = PropertyInfo(Variant::STRING, "application/config/description", PROPERTY_HINT_MULTILINE_TEXT); GLOBAL_DEF_BASIC("application/run/main_scene", ""); -- cgit v1.2.3