You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add ConstIterator to Dictionary.
This commit is contained in:
@@ -539,11 +539,9 @@ void LocalizationEditor::update_translations() {
|
||||
|
||||
if (ProjectSettings::get_singleton()->has_setting("internationalization/locale/translation_remaps")) {
|
||||
Dictionary remaps = GLOBAL_GET("internationalization/locale/translation_remaps");
|
||||
List<Variant> rk;
|
||||
remaps.get_key_list(&rk);
|
||||
Vector<String> keys;
|
||||
for (const Variant &E : rk) {
|
||||
keys.push_back(E);
|
||||
for (const KeyValue<Variant, Variant> &kv : remaps) {
|
||||
keys.push_back(kv.key);
|
||||
}
|
||||
keys.sort();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user