From 425724aa863c394372d83a4578d32bddb91c6017 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Tue, 5 May 2026 18:06:25 +0200 Subject: [PATCH] Fix error names not being localized in editor resource saving error dialog --- editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index c35633eedc..7e01d49939 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1750,7 +1750,7 @@ void EditorNode::save_resource_in_path(const Ref &p_resource, const St if (ResourceLoader::is_imported(p_resource->get_path())) { show_accept(vformat(TTR("Cannot save resource at path \"%s\", as it is imported.\nImported resources can't be saved. Instead, modify the source file or change options in the Import dock."), path), TTR("OK")); } else { - show_accept(vformat(TTR("Error saving resource at path \"%s\": %s."), path, error_names[err]), TTR("OK")); + show_accept(vformat(TTR("Error saving resource at path \"%s\": %s."), path, TTR(error_names[err])), TTR("OK")); } saving_resources_in_path.erase(p_resource);