summaryrefslogtreecommitdiffstats
path: root/scene/gui/range.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-07-09 00:17:04 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-07-09 00:18:00 +0200
commitff7184c5cb501cb1674e2547fc31bbb9975cc0f2 (patch)
tree66cbb44a4e8b7691b1340038e56c929a39ffe5a8 /scene/gui/range.cpp
parent56269e2db835e50a4cf2681bb73c44ae41fcca10 (diff)
downloadredot-engine-ff7184c5cb501cb1674e2547fc31bbb9975cc0f2.tar.gz
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
Diffstat (limited to 'scene/gui/range.cpp')
-rw-r--r--scene/gui/range.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/range.cpp b/scene/gui/range.cpp
index d00acaf08a..e709bac377 100644
--- a/scene/gui/range.cpp
+++ b/scene/gui/range.cpp
@@ -35,9 +35,9 @@ String Range::get_configuration_warning() const {
if (shared->exp_ratio && shared->min <= 0) {
if (warning != String()) {
- warning += "\n";
+ warning += "\n\n";
}
- warning += TTR("If exp_edit is true min_value must be > 0.");
+ warning += TTR("If \"Exp Edit\" is enabled, \"Min Value\" must be greater than 0.");
}
return warning;