From 32369d2b6d90825abcaf5968a69cc4ac2a6a0056 Mon Sep 17 00:00:00 2001 From: Valeriy Molchanov Date: Tue, 9 Jul 2024 20:57:25 +0200 Subject: [PATCH] Fix Issue #94145 Incorrect text in the Node Configuration Warning dialog Fix some translations Revert "Fix some translations" This reverts commit 61e586ef84fb962eefdc14593241c1d8b0fb7b6b. Revert "Fix Issue #94145 Incorrect text in the Node Configuration Warning dialog" This reverts commit d0832dc5e7f0657744780cdfc97ed40772ea717c. msgid warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Sprite Frames\" revert editor/translations/editor --- scene/2d/animated_sprite_2d.cpp | 2 +- scene/3d/sprite_3d.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/2d/animated_sprite_2d.cpp b/scene/2d/animated_sprite_2d.cpp index b3f735e0440..014419573c4 100644 --- a/scene/2d/animated_sprite_2d.cpp +++ b/scene/2d/animated_sprite_2d.cpp @@ -574,7 +574,7 @@ StringName AnimatedSprite2D::get_animation() const { PackedStringArray AnimatedSprite2D::get_configuration_warnings() const { PackedStringArray warnings = Node2D::get_configuration_warnings(); if (frames.is_null()) { - warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Frames\" property in order for AnimatedSprite2D to display frames.")); + warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Sprite Frames\" property in order for AnimatedSprite2D to display frames.")); } return warnings; } diff --git a/scene/3d/sprite_3d.cpp b/scene/3d/sprite_3d.cpp index 8ac585719c8..50218a6d868 100644 --- a/scene/3d/sprite_3d.cpp +++ b/scene/3d/sprite_3d.cpp @@ -1435,7 +1435,7 @@ StringName AnimatedSprite3D::get_animation() const { PackedStringArray AnimatedSprite3D::get_configuration_warnings() const { PackedStringArray warnings = SpriteBase3D::get_configuration_warnings(); if (frames.is_null()) { - warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Frames\" property in order for AnimatedSprite3D to display frames.")); + warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Sprite Frames\" property in order for AnimatedSprite3D to display frames.")); } return warnings; }