Fix inconsistent usage of localization_changed signal variable

This commit is contained in:
kobewi 2026-01-23 14:19:34 +01:00
parent a3e84cc2af
commit a23e2c0d0b
2 changed files with 3 additions and 3 deletions

View file

@ -484,7 +484,7 @@ void LocalizationEditor::_filesystem_files_moved(const String &p_old_file, const
if (remaps_changed) {
ProjectSettings::get_singleton()->set_setting("internationalization/locale/translation_remaps", remaps);
update_translations();
emit_signal("localization_changed");
emit_signal(localization_changed);
}
}
@ -524,7 +524,7 @@ void LocalizationEditor::_filesystem_file_removed(const String &p_file) {
if (remaps_changed) {
update_translations();
emit_signal("localization_changed");
emit_signal(localization_changed);
}
}

View file

@ -58,7 +58,7 @@ class LocalizationEditor : public VBoxContainer {
Button *template_generate_button = nullptr;
bool updating_translations = false;
String localization_changed;
StringName localization_changed;
LocalVector<Tree *> trees;
HashMap<Tree *, String> tree_data_types;