1
2
3
4
5 package org.apache.myfaces.trinidad.resource;
6
7 import java.util.ListResourceBundle;
8
9 public class MessageBundle extends ListResourceBundle {
10 @Override
11 public Object[][] getContents() {
12 return new Object[][] {
13 {"org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED", "A value is required."},
14 {"org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED_detail", "You must enter a value."},
15 {"org.apache.myfaces.trinidad.UIXSelectMany.REQUIRED", "A selection is required."},
16 {"org.apache.myfaces.trinidad.UIXSelectMany.REQUIRED_detail", "You must make at least one selection."},
17 {"org.apache.myfaces.trinidad.UIXSelectOne.REQUIRED", "A selection is required."},
18 {"org.apache.myfaces.trinidad.UIXSelectOne.REQUIRED_detail", "You must make a selection."},
19 {"org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED", "A row selection is required."},
20 {"org.apache.myfaces.trinidad.UIXTableSelectOne.REQUIRED_detail", "You must select a row."},
21 {"org.apache.myfaces.trinidad.UIXTableSelectMany.REQUIRED", "A row selection is required."},
22 {"org.apache.myfaces.trinidad.UIXTableSelectMany.REQUIRED_detail", "You must select one or more rows."},
23 {"org.apache.myfaces.trinidad.UIXSelectMany.UNSUPPORTED_MODEL_TYPE", "Unsupported model type."},
24 {"org.apache.myfaces.trinidad.UIXSelectMany.UNSUPPORTED_MODEL_TYPE_detail", "SelectMany does not support a model of type {0}."},
25 {"org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION", "The value is not the in correct format."},
26 {"org.apache.myfaces.trinidad.UIXEditableValue.CONVERSION_detail", "Enter a value that matches this pattern: {2}"},
27 {"org.apache.myfaces.trinidad.UPLOAD_FAILURE", "The file upload failed."},
28 {"org.apache.myfaces.trinidad.UPLOAD_FAILURE_detail", "{0}"},
29 {"org.apache.myfaces.trinidad.validator.RangeValidator.MAXIMUM_HINT", "Enter a number less than or equal to {0}."},
30 {"org.apache.myfaces.trinidad.validator.RangeValidator.MINIMUM_HINT", "Enter a number greater than or equal to {0}."},
31 {"org.apache.myfaces.trinidad.validator.RangeValidator.RANGE_HINT", "Enter a number between {0} and {1}."},
32 {"org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM_HINT", "Enter {0} or fewer characters."},
33 {"org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM_HINT", "Enter {0} or more characters."},
34 {"org.apache.myfaces.trinidad.validator.LengthValidator.EXACT_HINT", "Enter {0} characters."},
35 {"org.apache.myfaces.trinidad.validator.LengthValidator.RANGE_HINT", "Enter between {0} and {1} characters."},
36 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_HINT", "Enter a date on or before {0}."},
37 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM_HINT", "Enter a date on or after {0}."},
38 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.RANGE_HINT", "Enter a date between {0} and {1}."},
39 {"org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY_HINT", "Enter a date that falls on one of the following days: {0}"},
40 {"org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH_HINT", "Enter a date from one of the following months: {0}"},
41 {"javax.faces.validator.LongRangeValidator.MINIMUM", "The number is too low."},
42 {"javax.faces.validator.LongRangeValidator.MINIMUM_detail", "The number must be greater than or equal to {2}."},
43 {"javax.faces.validator.LongRangeValidator.MAXIMUM", "The number is too high."},
44 {"javax.faces.validator.LongRangeValidator.MAXIMUM_detail", "The number must be less than or equal to {2}."},
45 {"javax.faces.LongRange", "The number is not a whole number."},
46 {"javax.faces.LongRange_detail", "Enter a whole number."},
47 {"org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM", "The value is too long."},
48 {"org.apache.myfaces.trinidad.validator.ByteLengthValidator.MAXIMUM_detail", "Enter a value that is not more than {2} bytes long."},
49 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM", "The date is after the valid range."},
50 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MAXIMUM_detail", "The date must be on or before {2}."},
51 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM", "The date is before the valid range."},
52 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.MINIMUM_detail", "The date must be on or after {2}."},
53 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.NOT_IN_RANGE", "The date is outside the valid range."},
54 {"org.apache.myfaces.trinidad.validator.DateTimeRangeValidator.NOT_IN_RANGE_detail", "The date must be between {2} and {3}."},
55 {"org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY", "The date is not valid."},
56 {"org.apache.myfaces.trinidad.validator.DateRestrictionValidator.DAY_detail", "Enter one of the valid dates."},
57 {"org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH", "Dates in this month are not valid."},
58 {"org.apache.myfaces.trinidad.validator.DateRestrictionValidator.MONTH_detail", "Enter a date in one of the following months: {2}"},
59 {"org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY", "The day of the week for this date is not valid."},
60 {"org.apache.myfaces.trinidad.validator.DateRestrictionValidator.WEEKDAY_detail", "Enter a date that is on one of the following days: {2}"},
61 {"org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MAXIMUM", "The number is too high."},
62 {"org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MAXIMUM_detail", "The number must be less than or equal to {2}."},
63 {"org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MINIMUM", "The number is too low."},
64 {"org.apache.myfaces.trinidad.validator.DoubleRangeValidator.MINIMUM_detail", "The number must be greater than or equal to {2}."},
65 {"org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE", "The number is outside the valid range."},
66 {"org.apache.myfaces.trinidad.validator.DoubleRangeValidator.NOT_IN_RANGE_detail", "The number must be between {2} and {3}."},
67 {"org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM", "There are too many characters."},
68 {"org.apache.myfaces.trinidad.validator.LengthValidator.MAXIMUM_detail", "Enter {2} or fewer characters, not more."},
69 {"org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM", "There are too few characters."},
70 {"org.apache.myfaces.trinidad.validator.LengthValidator.MINIMUM_detail", "Enter {2} or more characters, not fewer."},
71 {"org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE", "The number of characters is out of range."},
72 {"org.apache.myfaces.trinidad.validator.LengthValidator.NOT_IN_RANGE_detail", "Enter {2} or more characters, up to a maximum of {3}."},
73 {"org.apache.myfaces.trinidad.validator.LengthValidator.EXACT", "The number of characters is incorrect."},
74 {"org.apache.myfaces.trinidad.validator.LengthValidator.EXACT_detail", "Enter exactly {2} characters."},
75 {"org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM", "The number is too high."},
76 {"org.apache.myfaces.trinidad.validator.LongRangeValidator.MAXIMUM_detail", "The number must be less than or equal to {2}."},
77 {"org.apache.myfaces.trinidad.validator.LongRangeValidator.MINIMUM", "The number is too low."},
78 {"org.apache.myfaces.trinidad.validator.LongRangeValidator.MINIMUM_detail", "The number must be greater than or equal to {2}."},
79 {"org.apache.myfaces.trinidad.validator.LongRangeValidator.NOT_IN_RANGE", "The number is out of range."},
80 {"org.apache.myfaces.trinidad.validator.LongRangeValidator.NOT_IN_RANGE_detail", "The number must be between {2} and {3}."},
81 {"org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH", "The format is incorrect."},
82 {"org.apache.myfaces.trinidad.validator.RegExpValidator.NO_MATCH_detail", "The value must match this pattern: {2}"},
83 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.DATE_HINT", "Example: {0}"},
84 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.TIME_HINT", "Example: {0}"},
85 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.BOTH_HINT", "Example format: {0}"},
86 {"org.apache.myfaces.trinidad.convert.ColorConverter.FORMAT_HINT", "Example format: {0}"},
87 {"org.apache.myfaces.trinidad.convert.NumberConverter.FORMAT_HINT", "Example format: {0}"},
88 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE", "The date is not in the correct format."},
89 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE_detail", "Enter a date in the same format as this example: {2}"},
90 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME", "The time is not in the correct format."},
91 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_TIME_detail", "Enter a time in the same format as this example: {2}"},
92 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH", "The date and time is not in the correct format."},
93 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_BOTH_detail", "Enter a date and time in the same format as this example: {2}"},
94 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE_INVALID_DATE", "The date or time entered is not valid."},
95 {"org.apache.myfaces.trinidad.convert.DateTimeConverter.CONVERT_DATE_INVALID_DATE_detail", "Enter a valid date or time."},
96 {"org.apache.myfaces.trinidad.convert.ColorConverter.CONVERT", "The color is not in the correct format."},
97 {"org.apache.myfaces.trinidad.convert.ColorConverter.CONVERT_detail", "Enter a color in the same format as this example: {2}."},
98 {"org.apache.myfaces.trinidad.convert.ColorConverter.TRANSPARENT", "Transparent"},
99 {"org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT", "The number is not a whole number."},
100 {"org.apache.myfaces.trinidad.convert.IntegerConverter.CONVERT_detail", "Enter a whole number."},
101 {"org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM", "The number is too low."},
102 {"org.apache.myfaces.trinidad.convert.IntegerConverter.MINIMUM_detail", "The number must be greater than or equal to {2}."},
103 {"org.apache.myfaces.trinidad.convert.IntegerConverter.MAXIMUM", "The number is too high."},
104 {"org.apache.myfaces.trinidad.convert.IntegerConverter.MAXIMUM_detail", "The number must be less than or equal to {2}."},
105 {"org.apache.myfaces.trinidad.convert.LongConverter.CONVERT", "The number is not a whole number."},
106 {"org.apache.myfaces.trinidad.convert.LongConverter.CONVERT_detail", "Enter a whole number."},
107 {"org.apache.myfaces.trinidad.convert.LongConverter.MINIMUM", "The number is too low."},
108 {"org.apache.myfaces.trinidad.convert.LongConverter.MINIMUM_detail", "The number must be greater than or equal to {2}."},
109 {"org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM", "The number is too high."},
110 {"org.apache.myfaces.trinidad.convert.LongConverter.MAXIMUM_detail", "The number must be less than or equal to {2}."},
111 {"org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN", "The format is incorrect."},
112 {"org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PATTERN_detail", "The format of the number must match this pattern: {2}"},
113 {"org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_NUMBER", "The value is not a number."},
114 {"org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_NUMBER_detail", "The value must be a number."},
115 {"org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_CURRENCY", "The currency format is incorrect."},
116 {"org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_CURRENCY_detail", "Enter a currency in the same format as this example: {2}"},
117 {"org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT", "The percentage is not in the correct format."},
118 {"org.apache.myfaces.trinidad.convert.NumberConverter.CONVERT_PERCENT_detail", "Enter a percentage in the same format as this example: {2}"},
119 {"org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT", "The number is not a whole number."},
120 {"org.apache.myfaces.trinidad.convert.ShortConverter.CONVERT_detail", "Enter a whole number."},
121 {"org.apache.myfaces.trinidad.convert.ShortConverter.MINIMUM", "The number is too low."},
122 {"org.apache.myfaces.trinidad.convert.ShortConverter.MINIMUM_detail", "The number must be greater than or equal to {2}."},
123 {"org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM", "The number is too high."},
124 {"org.apache.myfaces.trinidad.convert.ShortConverter.MAXIMUM_detail", "The number must be less than or equal to {2}."},
125 {"org.apache.myfaces.trinidad.convert.ByteConverter.CONVERT", "The number is not a whole number."},
126 {"org.apache.myfaces.trinidad.convert.ByteConverter.CONVERT_detail", "Enter a whole number."},
127 {"org.apache.myfaces.trinidad.convert.ByteConverter.MINIMUM", "The number is too low."},
128 {"org.apache.myfaces.trinidad.convert.ByteConverter.MINIMUM_detail", "The number must be greater than or equal to {2}."},
129 {"org.apache.myfaces.trinidad.convert.ByteConverter.MAXIMUM", "The number is too high."},
130 {"org.apache.myfaces.trinidad.convert.ByteConverter.MAXIMUM_detail", "The number must be less than or equal to {2}."},
131 {"org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT", "The value is not a number."},
132 {"org.apache.myfaces.trinidad.convert.DoubleConverter.CONVERT_detail", "The value must be a number."},
133 {"org.apache.myfaces.trinidad.convert.FloatConverter.CONVERT", "The value is not a number."},
134 {"org.apache.myfaces.trinidad.convert.FloatConverter.CONVERT_detail", "The value must be a number."},
135 {"org.apache.myfaces.trinidad.convert.ALERT_FORMAT", "{0} - {1}"},
136 {"org.apache.myfaces.trinidad.convert.ALERT_FORMAT_detail", "{0} - {1}"},
137 {"org.apache.myfaces.trinidad.event.FileDownloadActionListener.DOWNLOAD_ERROR", "An error occurred downloading the file."},
138 {"org.apache.myfaces.trinidad.event.FileDownloadActionListener.DOWNLOAD_ERROR_detail", "The file was not downloaded or was not downloaded correctly."},
139 {"org.apache.myfaces.trinidad.component.core.input.CoreInputFile.INPUT_FILE_ERROR", "An error occurred uploading the file."},
140 {"org.apache.myfaces.trinidad.component.core.input.CoreInputFile.INPUT_FILE_ERROR_detail", "A file upload error has occurred, please verify your upload data and file name."},
141 };
142 }
143 }