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
22 changed files with 30 additions and 30 deletions

View File

@@ -268,7 +268,7 @@ String LightOccluder2D::get_configuration_warning() const {
}
if (occluder_polygon.is_valid() && occluder_polygon->get_polygon().size() == 0) {
return TTR("The occluder polygon for this occluder is empty. Please draw a polygon!");
return TTR("The occluder polygon for this occluder is empty. Please draw a polygon.");
}
return String();