Don't use TTR/RTR for ERR/WARN prints

We don't translate those, only editor strings are translated.
This commit is contained in:
Rémi Verschelde 2023-11-11 22:59:05 +01:00
parent e38686f85b
commit 15b8185c68
No known key found for this signature in database
GPG key ID: C3336907360768E1
10 changed files with 48 additions and 48 deletions

View file

@ -1870,7 +1870,7 @@ void Node::_acquire_unique_name_in_owner() {
Node **which = data.owner->data.owned_unique_nodes.getptr(key);
if (which != nullptr && *which != this) {
String which_path = is_inside_tree() ? (*which)->get_path() : data.owner->get_path_to(*which);
WARN_PRINT(vformat(RTR("Setting node name '%s' to be unique within scene for '%s', but it's already claimed by '%s'.\n'%s' is no longer set as having a unique name."),
WARN_PRINT(vformat("Setting node name '%s' to be unique within scene for '%s', but it's already claimed by '%s'.\n'%s' is no longer set as having a unique name.",
get_name(), is_inside_tree() ? get_path() : data.owner->get_path_to(this), which_path, which_path));
data.unique_name_in_owner = false;
return;