Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
This commit is contained in:
parent
e38686f85b
commit
15b8185c68
10 changed files with 48 additions and 48 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue