summaryrefslogtreecommitdiff
path: root/core/config
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-04 15:04:59 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-03-04 18:11:31 +0200
commit12cb6386f6bb4e82dcc1105616181a7dc251fe02 (patch)
tree4abae767b1007e752bacc018ea467419d6ccb78e /core/config
parentbb8c4acdc9f07d318154a95331c4f77b00825bf5 (diff)
Improve app name and system permission message localization.
Add localizable string (Dictionary<Lang Code, String>) 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.
Diffstat (limited to 'core/config')
-rw-r--r--core/config/project_settings.cpp2
1 files changed, 2 insertions, 0 deletions
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", "");