You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix TTR misuse
This commit is contained in:
@@ -603,7 +603,7 @@ void ScriptCreateDialog::_path_entered(const String &p_path) {
|
||||
}
|
||||
|
||||
void ScriptCreateDialog::_msg_script_valid(bool valid, const String &p_msg) {
|
||||
error_label->set_text("- " + TTR(p_msg));
|
||||
error_label->set_text("- " + p_msg);
|
||||
if (valid) {
|
||||
error_label->add_theme_color_override("font_color", gc->get_theme_color("success_color", "Editor"));
|
||||
} else {
|
||||
@@ -612,7 +612,7 @@ void ScriptCreateDialog::_msg_script_valid(bool valid, const String &p_msg) {
|
||||
}
|
||||
|
||||
void ScriptCreateDialog::_msg_path_valid(bool valid, const String &p_msg) {
|
||||
path_error_label->set_text("- " + TTR(p_msg));
|
||||
path_error_label->set_text("- " + p_msg);
|
||||
if (valid) {
|
||||
path_error_label->add_theme_color_override("font_color", gc->get_theme_color("success_color", "Editor"));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user