forked from ocpsoft/prettytime
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to enable forced english locale
- Loading branch information
1 parent
e0a1f67
commit 0c52bc5
Showing
1 changed file
with
106 additions
and
0 deletions.
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
src/main/java/com/ocpsoft/pretty/time/i18n/Resources_en.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
package com.ocpsoft.pretty.time.i18n; | ||
|
||
import java.util.ListResourceBundle; | ||
|
||
public class Resources_en extends ListResourceBundle | ||
{ | ||
private static final Object[][] OBJECTS = new Object[][] { | ||
{ "CenturyPattern", "%n %u" }, | ||
{ "CenturyFuturePrefix", "" }, | ||
{ "CenturyFutureSuffix", " from now" }, | ||
{ "CenturyPastPrefix", "" }, | ||
{ "CenturyPastSuffix", " ago" }, | ||
{ "CenturyName", "century" }, | ||
{ "CenturyPluralName", "centuries" }, | ||
{ "DayPattern", "%n %u" }, | ||
{ "DayFuturePrefix", "" }, | ||
{ "DayFutureSuffix", " from now" }, | ||
{ "DayPastPrefix", "" }, | ||
{ "DayPastSuffix", " ago" }, | ||
{ "DayName", "day" }, | ||
{ "DayPluralName", "days" }, | ||
{ "DecadePattern", "%n %u" }, | ||
{ "DecadeFuturePrefix", "" }, | ||
{ "DecadeFutureSuffix", " from now" }, | ||
{ "DecadePastPrefix", "" }, | ||
{ "DecadePastSuffix", " ago" }, | ||
{ "DecadeName", "decade" }, | ||
{ "DecadePluralName", "decades" }, | ||
{ "HourPattern", "%n %u" }, | ||
{ "HourFuturePrefix", "" }, | ||
{ "HourFutureSuffix", " from now" }, | ||
{ "HourPastPrefix", "" }, | ||
{ "HourPastSuffix", " ago" }, | ||
{ "HourName", "hour" }, | ||
{ "HourPluralName", "hours" }, | ||
{ "JustNowPattern", "%u" }, | ||
{ "JustNowFuturePrefix", "" }, | ||
{ "JustNowFutureSuffix", "moments from now" }, | ||
{ "JustNowPastPrefix", "moments ago" }, | ||
{ "JustNowPastSuffix", "" }, | ||
{ "JustNowName", "" }, | ||
{ "JustNowPluralName", "" }, | ||
{ "MillenniumPattern", "%n %u" }, | ||
{ "MillenniumFuturePrefix", "" }, | ||
{ "MillenniumFutureSuffix", " from now" }, | ||
{ "MillenniumPastPrefix", "" }, | ||
{ "MillenniumPastSuffix", " ago" }, | ||
{ "MillenniumName", "millennium" }, | ||
{ "MillenniumPluralName", "millennia" }, | ||
{ "MillisecondPattern", "%n %u" }, | ||
{ "MillisecondFuturePrefix", "" }, | ||
{ "MillisecondFutureSuffix", " from now" }, | ||
{ "MillisecondPastPrefix", "" }, | ||
{ "MillisecondPastSuffix", " ago" }, | ||
{ "MillisecondName", "millisecond" }, | ||
{ "MillisecondPluralName", "milliseconds" }, | ||
{ "MinutePattern", "%n %u" }, | ||
{ "MinuteFuturePrefix", "" }, | ||
{ "MinuteFutureSuffix", " from now" }, | ||
{ "MinutePastPrefix", "" }, | ||
{ "MinutePastSuffix", " ago" }, | ||
{ "MinuteName", "minute" }, | ||
{ "MinutePluralName", "minutes" }, | ||
{ "MonthPattern", "%n %u" }, | ||
{ "MonthFuturePrefix", "" }, | ||
{ "MonthFutureSuffix", " from now" }, | ||
{ "MonthPastPrefix", "" }, | ||
{ "MonthPastSuffix", " ago" }, | ||
{ "MonthName", "month" }, | ||
{ "MonthPluralName", "months" }, | ||
{ "SecondPattern", "%n %u" }, | ||
{ "SecondFuturePrefix", "" }, | ||
{ "SecondFutureSuffix", " from now" }, | ||
{ "SecondPastPrefix", "" }, | ||
{ "SecondPastSuffix", " ago" }, | ||
{ "SecondName", "second" }, | ||
{ "SecondPluralName", "seconds" }, | ||
{ "WeekPattern", "%n %u" }, | ||
{ "WeekFuturePrefix", "" }, | ||
{ "WeekFutureSuffix", " from now" }, | ||
{ "WeekPastPrefix", "" }, | ||
{ "WeekPastSuffix", " ago" }, | ||
{ "WeekName", "week" }, | ||
{ "WeekPluralName", "weeks" }, | ||
{ "YearPattern", "%n %u" }, | ||
{ "YearFuturePrefix", "" }, | ||
{ "YearFutureSuffix", " from now" }, | ||
{ "YearPastPrefix", "" }, | ||
{ "YearPastSuffix", " ago" }, | ||
{ "YearName", "year" }, | ||
{ "YearPluralName", "years" }, | ||
{ "AbstractTimeUnitPattern", "" }, | ||
{ "AbstractTimeUnitFuturePrefix", "" }, | ||
{ "AbstractTimeUnitFutureSuffix", "" }, | ||
{ "AbstractTimeUnitPastPrefix", "" }, | ||
{ "AbstractTimeUnitPastSuffix", "" }, | ||
{ "AbstractTimeUnitName", "" }, | ||
{ "AbstractTimeUnitPluralName", "" } }; | ||
|
||
@Override | ||
public Object[][] getContents() | ||
{ | ||
return OBJECTS; | ||
} | ||
|
||
} |