summaryrefslogtreecommitdiffstats
path: root/scene/3d/label_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/label_3d.cpp')
-rw-r--r--scene/3d/label_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/label_3d.cpp b/scene/3d/label_3d.cpp
index 3fb472335e..718ddd4982 100644
--- a/scene/3d/label_3d.cpp
+++ b/scene/3d/label_3d.cpp
@@ -208,7 +208,7 @@ void Label3D::_notification(int p_what) {
viewport->disconnect("size_changed", callable_mp(this, &Label3D::_font_changed));
} break;
case NOTIFICATION_TRANSLATION_CHANGED: {
- String new_text = tr(text);
+ String new_text = atr(text);
if (new_text == xl_text) {
return; // Nothing new.
}
@@ -636,7 +636,7 @@ void Label3D::_shape() {
void Label3D::set_text(const String &p_string) {
text = p_string;
- xl_text = tr(p_string);
+ xl_text = atr(p_string);
dirty_text = true;
_queue_update();
}