diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-04 00:18:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 00:18:44 +0100 |
commit | 78931aa040bb0d0586345f95cc982605c0720ba1 (patch) | |
tree | fd79549cd57fd58007c0f6a2e0a3d589e7a7f9d8 /core/string/translation.cpp | |
parent | 536757b80b092a0cc3b2819d502e0129196d6a19 (diff) | |
parent | c012fbc8b235b86ed70c501834825d91292f8811 (diff) |
Merge pull request #54571 from Calinou/rename-noeditor-property-hint
Diffstat (limited to 'core/string/translation.cpp')
-rw-r--r-- | core/string/translation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/translation.cpp b/core/string/translation.cpp index 6ff31a4a02..b98aad9b58 100644 --- a/core/string/translation.cpp +++ b/core/string/translation.cpp @@ -938,7 +938,7 @@ void Translation::_bind_methods() { GDVIRTUAL_BIND(_get_plural_message, "src_message", "src_plural_message", "n", "context"); GDVIRTUAL_BIND(_get_message, "src_message", "context"); - ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "messages", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NOEDITOR | PROPERTY_USAGE_INTERNAL), "_set_messages", "_get_messages"); + ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "messages", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL), "_set_messages", "_get_messages"); ADD_PROPERTY(PropertyInfo(Variant::STRING, "locale"), "set_locale", "get_locale"); } |