summaryrefslogtreecommitdiffstats
path: root/scene/gui/subviewport_container.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-03-28 15:24:14 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-03-28 20:26:35 +0200
commit7119d355eb6dfe18df5d6f505c4216791bfdbd92 (patch)
tree5d2182ed9122b8c8dfe1c856ac3f7a258c7d3b5d /scene/gui/subviewport_container.cpp
parent2e8510595996478524e5d8ed48d90318f4a56777 (diff)
downloadredot-engine-7119d355eb6dfe18df5d6f505c4216791bfdbd92.tar.gz
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.
Diffstat (limited to 'scene/gui/subviewport_container.cpp')
-rw-r--r--scene/gui/subviewport_container.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/subviewport_container.cpp b/scene/gui/subviewport_container.cpp
index 799eea7eac..4d59a12f97 100644
--- a/scene/gui/subviewport_container.cpp
+++ b/scene/gui/subviewport_container.cpp
@@ -234,7 +234,7 @@ TypedArray<String> SubViewportContainer::get_configuration_warnings() const {
}
}
if (!has_viewport) {
- warnings.push_back(TTR("This node doesn't have a SubViewport as child, so it can't display its intended content.\nConsider adding a SubViewport as a child to provide something displayable."));
+ warnings.push_back(RTR("This node doesn't have a SubViewport as child, so it can't display its intended content.\nConsider adding a SubViewport as a child to provide something displayable."));
}
return warnings;