mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
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:
parent
26d1577f39
commit
32369d2b6d
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user