From c012fbc8b235b86ed70c501834825d91292f8811 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 3 Nov 2021 23:06:17 +0100 Subject: Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR` This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`. --- 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 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"); } -- cgit v1.2.3