diff --git a/core/string/translation.cpp b/core/string/translation.cpp index d898e8b75d1..bf48529e88b 100644 --- a/core/string/translation.cpp +++ b/core/string/translation.cpp @@ -77,6 +77,7 @@ void Translation::_set_messages(const Dictionary &p_messages) { for (const KeyValue &kv : p_messages) { switch (kv.key.get_type()) { // Old version, no context or plural support. + case Variant::STRING: case Variant::STRING_NAME: { const MessageKey msg_key = { StringName(), kv.key }; _check_for_incompatibility(msg_key.msgctxt, msg_key.msgid);