Updated Branches:
  refs/heads/master 0c770f05b -> 48044610a

cleanup/standardize default validator errors


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/48044610
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/48044610
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/48044610

Branch: refs/heads/master
Commit: 48044610a0d241d57a9a25cfd693f56b86713c69
Parents: 0c770f0
Author: Igor Vaynberg <igor.vaynb...@gmail.com>
Authored: Sat Nov 24 10:55:16 2012 -0800
Committer: Igor Vaynberg <igor.vaynb...@gmail.com>
Committed: Sat Nov 24 10:55:34 2012 -0800

----------------------------------------------------------------------
 .../java/org/apache/wicket/Application.properties  |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/48044610/wicket-core/src/main/java/org/apache/wicket/Application.properties
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/Application.properties 
b/wicket-core/src/main/java/org/apache/wicket/Application.properties
index ce71922..1991d83 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Application.properties
+++ b/wicket-core/src/main/java/org/apache/wicket/Application.properties
@@ -12,18 +12,18 @@
 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 #  See the License for the specific language governing permissions and
 #  limitations under the License.
-Required=Field '${label}' is required.
+Required='${label}' is required.
 IConverter='${label}' is not a valid ${type}.
 
-RangeValidator.exact=${label} is must be exactly ${minimum}.
-RangeValidator.range=${label} is not between ${minimum} and ${maximum}.
-RangeValidator.minimum='${label}' is smaller than the minimum of ${minimum}.
-RangeValidator.maximum='${label}' is larger than the maximum of ${maximum}.
+RangeValidator.exact='${label}' must be exactly ${minimum}.
+RangeValidator.range='${label}' must be between ${minimum} and ${maximum}.
+RangeValidator.minimum='${label}' must be at least ${minimum}.
+RangeValidator.maximum='${label}' must be at most ${maximum}.
 
 #deprecated, use RangeValidator.minimum
-MinimumValidator='${label}' is smaller than the minimum of ${minimum}.
+MinimumValidator='${label}' must be at least ${minimum}.
 #deprecated, use RangeValidator.maximum
-MaximumValidator='${label}' is larger than the maximum of ${maximum}.
+MaximumValidator='${label}' must be at most ${maximum}.
 
 #raplaced with RangeValidator 
 NumberValidator.positive='${label}' must be a positive number.

Reply via email to