You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Merge pull request #113322 from nikitalita/fix-translation
Fix loading old-style translation files
This commit is contained in:
@@ -77,6 +77,7 @@ void Translation::_set_messages(const Dictionary &p_messages) {
|
||||
for (const KeyValue<Variant, Variant> &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);
|
||||
|
||||
Reference in New Issue
Block a user