diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-07-30 13:42:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 13:42:20 +0200 |
commit | 6d5c1086c3cc5442b4b8f7c752c941a0ce3150c5 (patch) | |
tree | a44be3b4a694ccae73f5d3884d705e9548b9f93e /editor | |
parent | 714fa370b76ea56ff75be5b54b5d82771e1688c3 (diff) | |
parent | 07dbe2045ab0e1c39779fe6c7bb29d54042a319b (diff) |
Merge pull request #50982 from Calinou/editor-use-bullet-points
Use bullet points in the editor instead of dashes where relevant
Diffstat (limited to 'editor')
-rw-r--r-- | editor/project_export.cpp | 4 | ||||
-rw-r--r-- | editor/script_create_dialog.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp index fcb714bdf7..14158b02c8 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -1171,7 +1171,7 @@ ProjectExportDialog::ProjectExportDialog() { script_key = memnew(LineEdit); script_key->connect("text_changed", callable_mp(this, &ProjectExportDialog::_script_encryption_key_changed)); script_key_error = memnew(Label); - script_key_error->set_text("- " + TTR("Invalid Encryption Key (must be 64 hexadecimal characters long)")); + script_key_error->set_text(String::utf8("• ") + TTR("Invalid Encryption Key (must be 64 hexadecimal characters long)")); script_key_error->add_theme_color_override("font_color", EditorNode::get_singleton()->get_gui_base()->get_theme_color(SNAME("error_color"), SNAME("Editor"))); sec_vb->add_margin_child(TTR("Encryption Key (256-bits as hexadecimal):"), script_key); sec_vb->add_child(script_key_error); @@ -1250,7 +1250,7 @@ ProjectExportDialog::ProjectExportDialog() { Label *export_error2 = memnew(Label); export_templates_error->add_child(export_error2); export_error2->add_theme_color_override("font_color", EditorNode::get_singleton()->get_gui_base()->get_theme_color(SNAME("error_color"), SNAME("Editor"))); - export_error2->set_text(" - " + TTR("Export templates for this platform are missing:") + " "); + export_error2->set_text(String::utf8("• ") + TTR("Export templates for this platform are missing:") + " "); error_dialog = memnew(AcceptDialog); error_dialog->set_title(TTR("Error")); diff --git a/editor/script_create_dialog.cpp b/editor/script_create_dialog.cpp index 9a4b38db74..4cbc859e0c 100644 --- a/editor/script_create_dialog.cpp +++ b/editor/script_create_dialog.cpp @@ -604,7 +604,7 @@ void ScriptCreateDialog::_path_submitted(const String &p_path) { } void ScriptCreateDialog::_msg_script_valid(bool valid, const String &p_msg) { - error_label->set_text("- " + p_msg); + error_label->set_text(String::utf8("• ") + p_msg); if (valid) { error_label->add_theme_color_override("font_color", get_theme_color(SNAME("success_color"), SNAME("Editor"))); } else { @@ -613,7 +613,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("- " + p_msg); + path_error_label->set_text(String::utf8("• ") + p_msg); if (valid) { path_error_label->add_theme_color_override("font_color", get_theme_color(SNAME("success_color"), SNAME("Editor"))); } else { |