String: Remove TTR and DTR defines in non-tools build
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
This commit is contained in:
parent
2e85105959
commit
7119d355eb
65 changed files with 202 additions and 207 deletions
|
|
@ -171,11 +171,11 @@ TypedArray<String> CollisionPolygon3D::get_configuration_warnings() const {
|
|||
TypedArray<String> warnings = Node::get_configuration_warnings();
|
||||
|
||||
if (!Object::cast_to<CollisionObject3D>(get_parent())) {
|
||||
warnings.push_back(TTR("CollisionPolygon3D only serves to provide a collision shape to a CollisionObject3D derived node. Please only use it as a child of Area3D, StaticBody3D, RigidDynamicBody3D, CharacterBody3D, etc. to give them a shape."));
|
||||
warnings.push_back(RTR("CollisionPolygon3D only serves to provide a collision shape to a CollisionObject3D derived node. Please only use it as a child of Area3D, StaticBody3D, RigidDynamicBody3D, CharacterBody3D, etc. to give them a shape."));
|
||||
}
|
||||
|
||||
if (polygon.is_empty()) {
|
||||
warnings.push_back(TTR("An empty CollisionPolygon3D has no effect on collision."));
|
||||
warnings.push_back(RTR("An empty CollisionPolygon3D has no effect on collision."));
|
||||
}
|
||||
|
||||
return warnings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue