Fix UTF-8 encoding for copyright in About dialog

This commit is contained in:
Stanislav Labzyuk 2023-01-08 14:28:10 +01:00
parent fcba87e696
commit 0bde4a95e3

View file

@ -153,8 +153,8 @@ EditorAbout::EditorAbout() {
Label *about_text = memnew(Label); Label *about_text = memnew(Label);
about_text->set_v_size_flags(Control::SIZE_SHRINK_CENTER); about_text->set_v_size_flags(Control::SIZE_SHRINK_CENTER);
about_text->set_text(String::utf8("\xc2\xa9 2014-present ") + TTR("Godot Engine contributors") + about_text->set_text(String::utf8("\xc2\xa9 2014-present ") + TTR("Godot Engine contributors") + "." +
"\n\xc2\xa9 2007-2014 Juan Linietsky, Ariel Manzur.\n"); String::utf8("\n\xc2\xa9 2007-2014 Juan Linietsky, Ariel Manzur.\n"));
version_info_vbc->add_child(about_text); version_info_vbc->add_child(about_text);
hbc->add_child(version_info_vbc); hbc->add_child(version_info_vbc);