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
This commit is contained in:
Valeriy Molchanov 2024-07-09 20:57:25 +02:00
parent 26d1577f39
commit 32369d2b6d
No known key found for this signature in database
GPG Key ID: 9BC5B15B784DBEF2
2 changed files with 2 additions and 2 deletions

View File

@ -574,7 +574,7 @@ StringName AnimatedSprite2D::get_animation() const {
PackedStringArray AnimatedSprite2D::get_configuration_warnings() const { PackedStringArray AnimatedSprite2D::get_configuration_warnings() const {
PackedStringArray warnings = Node2D::get_configuration_warnings(); PackedStringArray warnings = Node2D::get_configuration_warnings();
if (frames.is_null()) { 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; return warnings;
} }

View File

@ -1435,7 +1435,7 @@ StringName AnimatedSprite3D::get_animation() const {
PackedStringArray AnimatedSprite3D::get_configuration_warnings() const { PackedStringArray AnimatedSprite3D::get_configuration_warnings() const {
PackedStringArray warnings = SpriteBase3D::get_configuration_warnings(); PackedStringArray warnings = SpriteBase3D::get_configuration_warnings();
if (frames.is_null()) { 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; return warnings;
} }