You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Use compile-time Unicode string conversion
Thanks to this syntax introduced in C++11, this reduces the amount of work that needs to be performed at run-time while making the code more terse.
This commit is contained in:
@@ -269,9 +269,9 @@ EditorPropertyNameProcessor::EditorPropertyNameProcessor() {
|
||||
capitalize_string_remaps["uri"] = "URI";
|
||||
capitalize_string_remaps["url"] = "URL";
|
||||
capitalize_string_remaps["urls"] = "URLs";
|
||||
capitalize_string_remaps["us"] = String::utf8("(µs)"); // Unit.
|
||||
capitalize_string_remaps["us"] = U"(µs)"; // Unit.
|
||||
capitalize_string_remaps["usb"] = "USB";
|
||||
capitalize_string_remaps["usec"] = String::utf8("(µsec)"); // Unit.
|
||||
capitalize_string_remaps["usec"] = U"(µsec)"; // Unit.
|
||||
capitalize_string_remaps["uuid"] = "UUID";
|
||||
capitalize_string_remaps["uv"] = "UV";
|
||||
capitalize_string_remaps["uv1"] = "UV1";
|
||||
|
||||
Reference in New Issue
Block a user