Skip to content

Commit

Permalink
allow duplicate keys in translations
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitalita committed Dec 21, 2024
1 parent 4bffce3 commit dd29d79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporters/translation_exporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ Ref<ExportReport> TranslationExporter::export_resource(const String &output_dir,
WARN_PRINT(vformat("Found matching key '%s' for message '%s' but key is used for message '%s'", matching_key, msg, key_to_message[matching_key]));
} else {
print_verbose(vformat("WARNING: Found duplicate key '%s' for message '%s'", matching_key, msg));
// keys.push_back(matching_key);
// continue;
keys.push_back(matching_key);
continue;
}
} else {
print_verbose(vformat("Could not find key for message '%s'", msg));
Expand Down

0 comments on commit dd29d79

Please sign in to comment.