diff options
author | Valeriy Molchanov <valeriy.molchanov.77@gmail.com> | 2024-07-09 20:57:25 +0200 |
---|---|---|
committer | Valeriy Molchanov <valeriy.molchanov.77@gmail.com> | 2024-07-09 22:36:18 +0200 |
commit | 32369d2b6d90825abcaf5968a69cc4ac2a6a0056 (patch) | |
tree | 17ee8e5de030fa3ca4e76eb35361609b2bfba601 | |
parent | 26d1577f3985363faab48a65e9a0d9eed0e26d86 (diff) | |
download | redot-engine-32369d2b6d90825abcaf5968a69cc4ac2a6a0056.tar.gz |
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
-rw-r--r-- | scene/2d/animated_sprite_2d.cpp | 2 | ||||
-rw-r--r-- | 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 b3f735e044..014419573c 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 8ac585719c..50218a6d86 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; } |