From 13da314a64c139b1aed513018437a685d61097e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedat=20G=C3=BCnel?= Date: Sat, 26 Dec 2020 17:58:17 +0300 Subject: Fix incorrect title and button text in Inherit dialog --- editor/script_create_dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index 9c3e381dc8..2b95231542 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -568,6 +568,8 @@ void ScriptCreateDialog::_create() { void ScriptCreateDialog::_browse_class_in_tree() { select_class->set_base_type(base_type); select_class->popup_create(true); + select_class->set_title(vformat(TTR("Inherit %s"), base_type)); + select_class->get_ok_button()->set_text(TTR("Inherit")); } void ScriptCreateDialog::_path_changed(const String &p_path) { -- cgit v1.2.3