Improve the node configuration warning display

- Refer to properties explicitly when possible
- When multiple warnings are returned, always separate them by one
  blank line to make them easier to distinguish
- Improve grammar and formatting
This commit is contained in:
Hugo Locurcio 2019-07-09 00:17:04 +02:00
parent 56269e2db8
commit ff7184c5cb
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
22 changed files with 30 additions and 30 deletions

View file

@ -1780,7 +1780,7 @@ String TileMap::get_configuration_warning() const {
if (use_parent && !collision_parent) {
if (!warning.empty()) {
warning += "\n";
warning += "\n\n";
}
return TTR("TileMap with Use Parent on needs a parent CollisionObject2D to give shapes to. Please use it as a child of Area2D, StaticBody2D, RigidBody2D, KinematicBody2D, etc. to give them a shape.");
}