You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2008/06/13 18:05:46 UTC
svn commit: r667577 -
/myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts
Author: matzew
Date: Fri Jun 13 09:05:45 2008
New Revision: 667577
URL: http://svn.apache.org/viewvc?rev=667577&view=rev
Log:
TRINIDAD-1119 - Update messages for validators and converters
Modified:
myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts
Modified: myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts?rev=667577&r1=667576&r2=667577&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-api/src/main/xrts/org/apache/myfaces/trinidad/resource/MessageBundle.xrts Fri Jun 13 09:05:45 2008
@@ -37,25 +37,25 @@
<!-- value will be of the form <classname>.MSG_KEY, and the detailed -->
<!-- message will be of the form <classname>.MSG_KEY_detail. -->
<!-- {0} the label that identifies the selection -->
- <resource key="org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED">Value Required</resource>
- <resource key="org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED_detail">Enter a value.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED">A value is required.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED_detail">You must enter a value.</resource>
<!-- {0} the label that identifies the selection -->
- <resource key="org.apache.myfaces.trinidad.UIXSelectMany.REQUIRED">Selection Required</resource>
- <resource key="org.apache.myfaces.trinidad.UIXSelectMany.REQUIRED_detail">Select at least one value.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXSelectMany.REQUIRED">A selection is required.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXSelectMany.REQUIRED_detail">You must make at least one selection.</resource>
<!-- {0} the label that identifies the selection -->
- <resource key="org.apache.myfaces.trinidad.UIXSelectOne.REQUIRED">Selection Required</resource>
- <resource key="org.apache.myfaces.trinidad.UIXSelectOne.REQUIRED_detail">Select a value.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXSelectOne.REQUIRED">A selection is required.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXSelectOne.REQUIRED_detail">You must make at least one selection.</resource>
<!-- {0} the label that identifies the selection -->
- <resource key="org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED">Row must be Selected</resource>
- <resource key="org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED_detail">Select a row.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED">A row selection is required.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED_detail">You must select a row.</resource>
<!-- {0} the label that identifies the selection -->
- <resource key="org.apache.myfaces.trinidad.UIXTableSelectMany.REQUIRED">A Row must be Selected</resource>
- <resource key="org.apache.myfaces.trinidad.UIXTableSelectMany.REQUIRED_detail">Select at least one row.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXTableSelectMany.REQUIRED">A row selection is required.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXTableSelectMany.REQUIRED_detail">You must select one or more rows.</resource>
<!-- SelectManyRenderer ConversionException messages -->
@@ -67,26 +67,26 @@
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the message string returned by the ConverterException -->
- <resource key="org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION">Conversion Failed</resource>
- <resource key="org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION_detail">Enter a value like {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION">The value is not the in correct format.</resource>
+ <resource key="org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION_detail">Enter a value that matches this pattern: {2}</resource>
<!-- Upload ConversionException messages -->
- <resource key="org.apache.myfaces.trinidad.UPLOAD">File too large</resource>
- <resource key="org.apache.myfaces.trinidad.UPLOAD_detail">The size of the uploaded file was too large. Please contact the system administrator.</resource>
+ <resource key="org.apache.myfaces.trinidad.UPLOAD">The file is too large.</resource>
+ <resource key="org.apache.myfaces.trinidad.UPLOAD_detail">The file could not be uploaded because it is too large.</resource>
<!-- hints for validators -->
- <resource key="org.apache.myfaces.trinidad.validator.RangeValidator.MAXIMUM_HINT">Enter a value less than or equal to {0}.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.RangeValidator.MINIMUM_HINT">Enter a value greater than or equal to {0}.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.RangeValidator.RANGE_HINT">Enter a value between {0} and {1}.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM_HINT">Enter a value of {0} or fewer characters.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM_HINT">Enter a value of {0} or more characters.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.EXACT_HINT">Enter a value of {0} characters.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.RANGE_HINT">Enter a value of {0} to {1} characters.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_HINT">Enter a date before or on {0}.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM_HINT">Enter a date after or on {0}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.RangeValidator.MAXIMUM_HINT">Enter a number less than or equal to {0}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.RangeValidator.MINIMUM_HINT">Enter a number greater than or equal to {0}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.RangeValidator.RANGE_HINT">Enter a number between {0} and {1}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM_HINT">Enter {0} or fewer characters.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM_HINT">Enter {0} or more characters.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.EXACT_HINT">Enter {0} characters.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.RANGE_HINT">Enter between {0} and {1} characters.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_HINT">Enter a date on or before {0}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM_HINT">Enter a date on or after {0}.</resource>
<resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.RANGE_HINT">Enter a date between {0} and {1}.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY_HINT">Enter a date from the following weekday(s): {0}.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH_HINT">Enter a date from the following month(s): {0}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY_HINT">Enter a date that falls on one of the following days: {0}</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH_HINT">Enter a date from one of the following months: {0}</resource>
<!-- resource key="org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH_HINT">The value must match this pattern: {0}.</resource-->
<!-- resource key="org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM_HINT">The maximum allowed byte length for this value is {0}.</resource-->
@@ -98,21 +98,21 @@
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the minimum number allowed -->
- <resource key="javax.faces.validator.LongRangeValidator.MINIMUM">Value Too Small</resource>
- <resource key="javax.faces.validator.LongRangeValidator.MINIMUM_detail">Enter a value greater than or equal to {2}.</resource>
+ <resource key="javax.faces.validator.LongRangeValidator.MINIMUM">The number is too low.</resource>
+ <resource key="javax.faces.validator.LongRangeValidator.MINIMUM_detail">The number must be greater than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the maximum number allowed -->
- <resource key="javax.faces.validator.LongRangeValidator.MAXIMUM">Value Too Large</resource>
- <resource key="javax.faces.validator.LongRangeValidator.MAXIMUM_detail">Enter a value less than or equal to {2}.</resource>
+ <resource key="javax.faces.validator.LongRangeValidator.MAXIMUM">The number is too high.</resource>
+ <resource key="javax.faces.validator.LongRangeValidator.MAXIMUM_detail">The number must be less than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- NOTE: The format of this message must match the format of the -->
<!-- general javascript messages (see VALIDATION_ALERT_FORMAT below) -->
- <resource key="javax.faces.LongRange">Not an Integer</resource>
- <resource key="javax.faces.LongRange_detail">Enter an integer.</resource>
+ <resource key="javax.faces.LongRange">The number is not a whole number.</resource>
+ <resource key="javax.faces.LongRange_detail">Enter a whole number.</resource>
<!-- E.g. for input value "test" and maximum value set to "3" -->
<!-- the message would be: -->
@@ -122,155 +122,155 @@
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the maximum length -->
- <resource key="org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM">Value Too long</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM">The value is too long.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM_detail">The length of the value entered exceeds the maximum allowed byte length of {2}.</resource>
+ key="org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM_detail">Enter a value that is not more than {2} bytes long.</resource>
<!-- Date exceeds date range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the maximum allowed date -->
<resource
- key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM">Date after valid range</resource>
+ key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM">The date is after the valid range.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_detail">Enter a date on or before {2}.</resource>
+ key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_detail">The date must be on or before {2}.</resource>
<!-- Date preceeds date range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} represent Date which the user has set -->
<!-- {2} represents the minimum allowed date -->
<resource
- key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM"> Date Before Valid Range</resource>
+ key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM">The date is before the valid range.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM_detail"> Enter a date on or after {2}.</resource>
+ key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM_detail">The date must be on or after {2}.</resource>
<!-- Date outside date range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the minimum allowed date -->
<!-- {3} represents the maximum allowed date -->
- <resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.NOT_IN_RANGE">Date Outside Valid Range</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.NOT_IN_RANGE">The date is outside the valid range.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.NOT_IN_RANGE_detail">Enter a date on or between {2} and {3}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.NOT_IN_RANGE_detail">The date must be between {2} and {3}.</resource>
<!-- The validator has a list with dates, which are not allowed. In case of that the entered date is part of the list, this message will be shown -->
<!-- {0} the label that identifies the component -->
<!-- {1} date value entered by the user -->
<resource
- key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY">Date is not allowed.</resource>
+ key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY">The date is not valid.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY_detail">The date you entered is not allowed.</resource>
+ key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY_detail">Enter one of the valid dates.</resource>
<!-- Validator can check if a date is in an invalid month -->
<!-- {0} the label that identifies the component -->
<!-- {1} represent Date which the user has set -->
<resource
- key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH"> Invalid Month</resource>
+ key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH">Dates in this month are not valid.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH_detail">Enter a date from the following month(s): {2}.</resource>
+ key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH_detail">Enter a date in one of the following months: {2}</resource>
<!-- Validator can check if a date is an invalid weekday -->
<!-- {0} the label that identifies the component -->
<!-- {1} date value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY"> Invalid Weekday</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY">The day of the week for this date is not valid.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY_detail"> Enter a date from the following weekday(s): {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY_detail">Enter a date that is on one of the following days: {2}</resource>
<!-- Number exceeds number range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the maximum allowed number -->
<resource
- key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MAXIMUM">Value Too Large</resource>
+ key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MAXIMUM">The number is too high.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MAXIMUM_detail">Enter a value less than or equal to {2}.</resource>
+ key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MAXIMUM_detail">The number must be less than or equal to {2}.</resource>
<!-- Number exceeds number range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} represent Number which the user has set -->
<!-- {2} represents the minimum allowed number -->
<resource
- key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MINIMUM">Value Too Small</resource>
+ key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MINIMUM">The number is too low.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MINIMUM_detail">Enter a value greater than or equal to {2}.</resource>
+ key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MINIMUM_detail">The number must be greater than or equal to {2}.</resource>
<!-- Number outside number range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the minimum allowed number -->
<!-- {3} represents the maximum allowed number -->
- <resource key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE"> Value Outside Valid Range</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE">The number is outside the valid range.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail">Enter a value between {2} and {3}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail">The number must be between {2} and {3}.</resource>
<!-- Strign too long error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the maximum allowed length -->
<resource
- key="org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM">Value Too Long</resource>
+ key="org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM">There are too many characters.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM_detail"> Enter a value of {2} or fewer characters.</resource>
+ key="org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM_detail">Enter {2} or fewer characters, not more.</resource>
<!-- String too short error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the minimum allowed length -->
<resource
- key="org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM">Value Too Short</resource>
+ key="org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM">There are too few characters.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM_detail"> Enter a value of {2} or more characters.</resource>
+ key="org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM_detail">Enter {2} or more characters, not fewer.</resource>
<!-- String outside length range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the minimum allowed length -->
<!-- {3} represents the maximum allowed length -->
- <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE">Value of Invalid Length</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE">The number of characters is out of range.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE_detail">Enter a value of {2} to {3} characters.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE_detail">Enter {2} or more characters, up to a maximum of {3}.</resource>
<!-- String not of correct length error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the required length -->
<resource
- key="org.apache.myfaces.trinidad.validator.LengthValidator.EXACT">Value of Invalid Length</resource>
+ key="org.apache.myfaces.trinidad.validator.LengthValidator.EXACT">The number of characters is incorrect.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.LengthValidator.EXACT_detail"> Enter a value of {2} characters.</resource>
+ key="org.apache.myfaces.trinidad.validator.LengthValidator.EXACT_detail">Enter exactly {2} characters.</resource>
<!-- Number exceeds number range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the maximum allowed number -->
<resource
- key="org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM">Value Too Large</resource>
+ key="org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM">The number is too high.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM_detail"> Enter a value less than or equal to {2}.</resource>
+ key="org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM_detail">The number must be less than or equal to {2}.</resource>
<!-- Number exceeds number range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} represent Number which the user has set -->
<!-- {2} represents the minimum allowed number -->
<resource
- key="org.apache.myfaces.trinidad.validator.LongRangeValidator.MINIMUM">Value Too Small</resource>
+ key="org.apache.myfaces.trinidad.validator.LongRangeValidator.MINIMUM">The number is too low.</resource>
<resource
- key="org.apache.myfaces.trinidad.validator.LongRangeValidator.MINIMUM_detail"> Enter a value greater than or equal to {2}.</resource>
+ key="org.apache.myfaces.trinidad.validator.LongRangeValidator.MINIMUM_detail">The number must be greater than or equal to {2}.</resource>
<!-- Number outside number range error -->
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} represents the minimum allowed number -->
<!-- {3} represents the maximum allowed number -->
- <resource key="org.apache.myfaces.trinidad.validator.LongRangeValidator.NOT_IN_RANGE"> Value Outside Valid Range</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.LongRangeValidator.NOT_IN_RANGE">The number is out of range.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.LongRangeValidator.NOT_IN_RANGE_detail">Enter a value between {2} and {3}.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.LongRangeValidator.NOT_IN_RANGE_detail">The number must be between {2} and {3}.</resource>
<!-- Input does not match regular expression error -->
<!-- {0} the label that identifies the component -->
@@ -278,9 +278,9 @@
<!-- {2} represents the 'pattern' expected in the input -->
<!-- E.g. for input value "9912" and pattern "[9]*" the message would be: -->
<!-- 9912 does not match patern [9]* -->
- <resource key="org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH">Value does not match pattern.</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH">The format is incorrect.</resource>
- <resource key="org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH_detail">The value you entered does not match the regular expression pattern "{2}".</resource>
+ <resource key="org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH_detail">The value must match this pattern: {2}</resource>
<!-- hints for converters -->
@@ -311,131 +311,131 @@
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} an example of the format the converter is expecting -->
- <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE">Invalid Date Format</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE">The date is not in the correct format.</resource>
- <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE_detail">Valid example: {2}</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE_detail">Enter a date in the same format as this example: {2}</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} an example of the format the converter is expecting -->
- <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME">Invalid Time Format</resource>
- <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME_detail">Valid example: {2}</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME">The time is not in the correct format.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME_detail">Enter a time in the same format as this example: {2}</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} an example of the format the converter is expecting -->
- <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH"> Invalid Date Time Format</resource>
- <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH_detail">Valid example: {2}</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH">The date and time is in not the correct format.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH_detail">Enter a date and time in the same format as this example: {2}</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the pattern the converter is expecting -->
- <resource key="org.apache.myfaces.trinidad.convert.ColorConverter.CONVERT"> Invalid Color Format</resource>
- <resource key="org.apache.myfaces.trinidad.convert.ColorConverter.CONVERT_detail">Valid example: {2}</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ColorConverter.CONVERT">The color is not in the correct format.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ColorConverter.CONVERT_detail">Enter a color in the same format as this example: {2}.</resource>
<!-- Color converter transparent string -->
<resource key="org.apache.myfaces.trinidad.convert.ColorConverter.TRANSPARENT">Transparent</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT">Not an Integer</resource>
- <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT_detail">Enter an integer.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT">The number is not a whole number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT_detail">Enter a whole number.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the minimum number allowed -->
- <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM">Value Too Small</resource>
- <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM_detail"> Enter a value greater than or equal to {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM">The number is too low.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM_detail">The number must be greater than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the maximum number allowed -->
- <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.MAXIMUM">Value Too Large</resource>
- <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.MAXIMUM_detail"> Enter a value less than or equal to {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.MAXIMUM">The number is too high.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.IntegerConverter.MAXIMUM_detail">The number must be less than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.LongConverter.CONVERT">Not an Integer</resource>
- <resource key="org.apache.myfaces.trinidad.convert.LongConverter.CONVERT_detail">Enter an integer.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.LongConverter.CONVERT">The number is not a whole number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.LongConverter.CONVERT_detail">Enter a whole number.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the minimum number allowed -->
- <resource key="org.apache.myfaces.trinidad.convert.LongConverter.MINIMUM">Value Too Small</resource>
- <resource key="org.apache.myfaces.trinidad.convert.LongConverter.MINIMUM_detail">Enter a value greater than or equal to {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.LongConverter.MINIMUM">The number is too low.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.LongConverter.MINIMUM_detail">The number must be greater than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the maximum number allowed -->
- <resource key="org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM">Value Too Large</resource>
- <resource key="org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM_detail">Enter a value less than or equal to {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM">The number is too high.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM_detail">The number must be less than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the specified conversion pattern -->
- <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN">Not a number</resource>
- <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN_detail">The value you entered is not a number that matches the pattern "{2}".</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN">The format is incorrect.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN_detail">The format of the number must match this pattern: {2}</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_NUMBER">Not a Number</resource>
- <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_NUMBER_detail">Enter a number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_NUMBER">The value is not a number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_NUMBER_detail">The value must be a number.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_CURRENCY">Invalid Currency Format</resource>
- <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_CURRENCY_detail">Valid example: {2}</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_CURRENCY">The currency format is incorrect.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_CURRENCY_detail">Enter a currency in the same format as this example: {2}</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT">Invalid Percentage Format</resource>
- <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT_detail">Valid example: {2}</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT">The percentage is not in the correct format.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT_detail">Enter a percentage in the same format as this example: {2}</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT">Not an Integer</resource>
- <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT_detail">Enter an integer.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT">The number is not a whole number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT_detail">Enter a whole number.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the minimum number allowed -->
- <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.MINIMUM">Value Too Small</resource>
- <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.MINIMUM_detail">Enter a value greater than or equal to {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.MINIMUM">The number is too low.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.MINIMUM_detail">The number must be greater than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the maximum number allowed -->
- <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM">Value Too Large</resource>
- <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM_detail">Enter a value less than or equal to {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM">The number is too high.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM_detail">The number must be less than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.CONVERT">Not an Integer</resource>
- <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.CONVERT_detail">Enter an integer.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.CONVERT">The number is not a whole number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.CONVERT_detail">Enter a whole number.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the minimum number allowed -->
- <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.MINIMUM">Value Too Small</resource>
- <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.MINIMUM_detail">Enter a value greater than or equal to {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.MINIMUM">The number is too low.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.MINIMUM_detail">The number must be greater than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
<!-- {2} the maximum number allowed -->
- <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.MAXIMUM">Value Too Large</resource>
- <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.MAXIMUM_detail">Enter a value less than or equal to {2}.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.MAXIMUM">The number is too high.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.ByteConverter.MAXIMUM_detail">The number must be less than or equal to {2}.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT">Not a Number</resource>
- <resource key="org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT_detail">Enter a number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT">The value is not a number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT_detail">The value must be a number.</resource>
<!-- {0} the label that identifies the component -->
<!-- {1} value entered by the user -->
- <resource key="org.apache.myfaces.trinidad.convert.FloatConverter.CONVERT">Not a number.</resource>
- <resource key="org.apache.myfaces.trinidad.convert.FloatConverter.CONVERT_detail">The value you entered is not a number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.FloatConverter.CONVERT">The value is not a number.</resource>
+ <resource key="org.apache.myfaces.trinidad.convert.FloatConverter.CONVERT_detail">The value must be a number.</resource>
<!-- format for message in a javascript alert window -->
@@ -448,7 +448,7 @@
<resource key="org.apache.myfaces.trinidad.convert.ALERT_FORMAT_detail">{0} - {1}</resource>
<!-- message for error while downloading a file -->
- <resource key="org.apache.myfaces.trinidad.event.FileDownloadActionListener.DOWNLOAD_ERROR">Download Error</resource>
- <resource key="org.apache.myfaces.trinidad.event.FileDownloadActionListener.DOWNLOAD_ERROR_detail">An error was encountered while downloading.</resource>
+ <resource key="org.apache.myfaces.trinidad.event.FileDownloadActionListener.DOWNLOAD_ERROR">An error occurred downloading the file.</resource>
+ <resource key="org.apache.myfaces.trinidad.event.FileDownloadActionListener.DOWNLOAD_ERROR_detail">The file was not downloaded or was not downloaded correctly.</resource>
</resources>