|
15 | 15 | */ |
16 | 16 | package org.ocpsoft.prettytime.i18n; |
17 | 17 |
|
18 | | -import java.util.ListResourceBundle; |
19 | | - |
20 | | -public class Resources extends ListResourceBundle |
| 18 | +/** |
| 19 | + * Default resource bundle (English.) |
| 20 | + * |
| 21 | + * @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a> |
| 22 | + */ |
| 23 | +public class Resources extends Resources_en |
21 | 24 | { |
22 | | - private static final Object[][] OBJECTS = new Object[][] { |
23 | | - { "CenturyPattern", "%n %u" }, |
24 | | - { "CenturyFuturePrefix", "" }, |
25 | | - { "CenturyFutureSuffix", " from now" }, |
26 | | - { "CenturyPastPrefix", "" }, |
27 | | - { "CenturyPastSuffix", " ago" }, |
28 | | - { "CenturySingularName", "century" }, |
29 | | - { "CenturyPluralName", "centuries" }, |
30 | | - { "DayPattern", "%n %u" }, |
31 | | - { "DayFuturePrefix", "" }, |
32 | | - { "DayFutureSuffix", " from now" }, |
33 | | - { "DayPastPrefix", "" }, |
34 | | - { "DayPastSuffix", " ago" }, |
35 | | - { "DaySingularName", "day" }, |
36 | | - { "DayPluralName", "days" }, |
37 | | - { "DecadePattern", "%n %u" }, |
38 | | - { "DecadeFuturePrefix", "" }, |
39 | | - { "DecadeFutureSuffix", " from now" }, |
40 | | - { "DecadePastPrefix", "" }, |
41 | | - { "DecadePastSuffix", " ago" }, |
42 | | - { "DecadeSingularName", "decade" }, |
43 | | - { "DecadePluralName", "decades" }, |
44 | | - { "HourPattern", "%n %u" }, |
45 | | - { "HourFuturePrefix", "" }, |
46 | | - { "HourFutureSuffix", " from now" }, |
47 | | - { "HourPastPrefix", "" }, |
48 | | - { "HourPastSuffix", " ago" }, |
49 | | - { "HourSingularName", "hour" }, |
50 | | - { "HourPluralName", "hours" }, |
51 | | - { "JustNowPattern", "%u" }, |
52 | | - { "JustNowFuturePrefix", "" }, |
53 | | - { "JustNowFutureSuffix", "moments from now" }, |
54 | | - { "JustNowPastPrefix", "moments ago" }, |
55 | | - { "JustNowPastSuffix", "" }, |
56 | | - { "JustNowSingularName", "" }, |
57 | | - { "JustNowPluralName", "" }, |
58 | | - { "MillenniumPattern", "%n %u" }, |
59 | | - { "MillenniumFuturePrefix", "" }, |
60 | | - { "MillenniumFutureSuffix", " from now" }, |
61 | | - { "MillenniumPastPrefix", "" }, |
62 | | - { "MillenniumPastSuffix", " ago" }, |
63 | | - { "MillenniumSingularName", "millennium" }, |
64 | | - { "MillenniumPluralName", "millennia" }, |
65 | | - { "MillisecondPattern", "%n %u" }, |
66 | | - { "MillisecondFuturePrefix", "" }, |
67 | | - { "MillisecondFutureSuffix", " from now" }, |
68 | | - { "MillisecondPastPrefix", "" }, |
69 | | - { "MillisecondPastSuffix", " ago" }, |
70 | | - { "MillisecondSingularName", "millisecond" }, |
71 | | - { "MillisecondPluralName", "milliseconds" }, |
72 | | - { "MinutePattern", "%n %u" }, |
73 | | - { "MinuteFuturePrefix", "" }, |
74 | | - { "MinuteFutureSuffix", " from now" }, |
75 | | - { "MinutePastPrefix", "" }, |
76 | | - { "MinutePastSuffix", " ago" }, |
77 | | - { "MinuteSingularName", "minute" }, |
78 | | - { "MinutePluralName", "minutes" }, |
79 | | - { "MonthPattern", "%n %u" }, |
80 | | - { "MonthFuturePrefix", "" }, |
81 | | - { "MonthFutureSuffix", " from now" }, |
82 | | - { "MonthPastPrefix", "" }, |
83 | | - { "MonthPastSuffix", " ago" }, |
84 | | - { "MonthSingularName", "month" }, |
85 | | - { "MonthPluralName", "months" }, |
86 | | - { "SecondPattern", "%n %u" }, |
87 | | - { "SecondFuturePrefix", "" }, |
88 | | - { "SecondFutureSuffix", " from now" }, |
89 | | - { "SecondPastPrefix", "" }, |
90 | | - { "SecondPastSuffix", " ago" }, |
91 | | - { "SecondSingularName", "second" }, |
92 | | - { "SecondPluralName", "seconds" }, |
93 | | - { "WeekPattern", "%n %u" }, |
94 | | - { "WeekFuturePrefix", "" }, |
95 | | - { "WeekFutureSuffix", " from now" }, |
96 | | - { "WeekPastPrefix", "" }, |
97 | | - { "WeekPastSuffix", " ago" }, |
98 | | - { "WeekSingularName", "week" }, |
99 | | - { "WeekPluralName", "weeks" }, |
100 | | - { "YearPattern", "%n %u" }, |
101 | | - { "YearFuturePrefix", "" }, |
102 | | - { "YearFutureSuffix", " from now" }, |
103 | | - { "YearPastPrefix", "" }, |
104 | | - { "YearPastSuffix", " ago" }, |
105 | | - { "YearSingularName", "year" }, |
106 | | - { "YearPluralName", "years" }, |
107 | | - { "AbstractTimeUnitPattern", "" }, |
108 | | - { "AbstractTimeUnitFuturePrefix", "" }, |
109 | | - { "AbstractTimeUnitFutureSuffix", "" }, |
110 | | - { "AbstractTimeUnitPastPrefix", "" }, |
111 | | - { "AbstractTimeUnitPastSuffix", "" }, |
112 | | - { "AbstractTimeUnitSingularName", "" }, |
113 | | - { "AbstractTimeUnitPluralName", "" } }; |
114 | | - |
115 | | - @Override |
116 | | - public Object[][] getContents() |
117 | | - { |
118 | | - return OBJECTS; |
119 | | - } |
120 | 25 |
|
121 | 26 | } |
0 commit comments