Skip to content

Commit 122d311

Browse files
committed
add hebrew languages and tests
1 parent 3a6cc8f commit 122d311

3 files changed

Lines changed: 561 additions & 0 deletions

File tree

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
package org.ocpsoft.prettytime.i18n;
2+
3+
import java.util.ListResourceBundle;
4+
5+
public class Resources_he extends ListResourceBundle
6+
{
7+
private static final Object[][] OBJECTS = {
8+
{ "CenturyPattern", "%n %u" },
9+
{ "CenturyFuturePrefix", "" },
10+
{ "CenturyFutureSuffix", " מעכשיו" },
11+
{ "CenturyPastSuffix", "" },
12+
{ "CenturyPastPrefix", " לפני" },
13+
{ "CenturySingularName", "מאה" },
14+
{ "CenturyPluralName", "מאות" },
15+
{ "DayPattern", "%n %u" },
16+
{ "DayFuturePrefix", "" },
17+
{ "DayFutureSuffix", " מעכשיו" },
18+
{ "DayPastPrefix", " לפני" },
19+
{ "DayPastSuffix", "" },
20+
{ "DaySingularName", "יום" },
21+
{ "DayPluralName", "ימים" },
22+
{ "DecadePattern", "%n %u" },
23+
{ "DecadeFuturePrefix", "" },
24+
{ "DecadeFutureSuffix", " מעכשיו" },
25+
{ "DecadePastPrefix", " לפני" },
26+
{ "DecadePastSuffix", "" },
27+
{ "DecadeSingularName", "עשור" },
28+
{ "DecadePluralName", "עשורים" },
29+
{ "HourPattern", "%n %u" },
30+
{ "HourFuturePrefix", "" },
31+
{ "HourFutureSuffix", " מעכשיו" },
32+
{ "HourPastPrefix", " לפני" },
33+
{ "HourPastSuffix", "" },
34+
{ "HourSingularName", "שעה" },
35+
{ "HourPluralName", "שעות" },
36+
{ "JustNowPattern", "%u" },
37+
{ "JustNowFuturePrefix", "" },
38+
{ "JustNowFutureSuffix", "בעוד מספר רגעים" },
39+
{ "JustNowPastPrefix", "לפני מספר רגעים" },
40+
{ "JustNowPastSuffix", "" },
41+
{ "JustNowSingularName", "" },
42+
{ "JustNowPluralName", "" },
43+
{ "MillenniumPattern", "%n %u" },
44+
{ "MillenniumFuturePrefix", "" },
45+
{ "MillenniumFutureSuffix", " מעכשיו" },
46+
{ "MillenniumPastPrefix", " לפני" },
47+
{ "MillenniumPastSuffix", "" },
48+
{ "MillenniumSingularName", "מילניום" },
49+
{ "MillenniumPluralName", "אלפים" },
50+
{ "MillisecondPattern", "%n %u" },
51+
{ "MillisecondFuturePrefix", "" },
52+
{ "MillisecondFutureSuffix", " מעכשיו" },
53+
{ "MillisecondPastPrefix", " לפני" },
54+
{ "MillisecondPastSuffix", "" },
55+
{ "MillisecondSingularName", "אלפית השניה" },
56+
{ "MillisecondPluralName", "אלפיות השניה" },
57+
{ "MinutePattern", "%n %u" },
58+
{ "MinuteFuturePrefix", "" },
59+
{ "MinuteFutureSuffix", " מעכשיו" },
60+
{ "MinutePastPrefix", " לפני" },
61+
{ "MinutePastSuffix", "" },
62+
{ "MinuteSingularName", "דקה" },
63+
{ "MinutePluralName", "דקות" },
64+
{ "MonthPattern", "%n %u" },
65+
{ "MonthFuturePrefix", "" },
66+
{ "MonthFutureSuffix", " מעכשיו" },
67+
{ "MonthPastPrefix", " לפני" },
68+
{ "MonthPastSuffix", "" },
69+
{ "MonthSingularName", "חודשים" },
70+
{ "MonthPluralName", "חודשים" },
71+
{ "SecondPattern", "%n %u" },
72+
{ "SecondFuturePrefix", "" },
73+
{ "SecondFutureSuffix", " מעכשיו" },
74+
{ "SecondPastPrefix", " לפני" },
75+
{ "SecondPastSuffix", "" },
76+
{ "SecondSingularName", "שניה" },
77+
{ "SecondPluralName", "שניות" },
78+
{ "WeekPattern", "%n %u" },
79+
{ "WeekFuturePrefix", "" },
80+
{ "WeekFutureSuffix", " מעכשיו" },
81+
{ "WeekPastPrefix", " לפני" },
82+
{ "WeekPastSuffix", "" },
83+
{ "WeekSingularName", "שבוע" },
84+
{ "WeekPluralName", "שבועות" },
85+
{ "YearPattern", "%n %u" },
86+
{ "YearFuturePrefix", "" },
87+
{ "YearFutureSuffix", " מעכשיו" },
88+
{ "YearPastPrefix", " לפני" },
89+
{ "YearPastSuffix", "" },
90+
{ "YearSingularName", "שנה" },
91+
{ "YearPluralName", "שנים" },
92+
{ "AbstractTimeUnitPattern", "" },
93+
{ "AbstractTimeUnitFuturePrefix", "" },
94+
{ "AbstractTimeUnitFutureSuffix", "" },
95+
{ "AbstractTimeUnitPastPrefix", "" },
96+
{ "AbstractTimeUnitPastSuffix", "" },
97+
{ "AbstractTimeUnitSingularName", "" },
98+
{ "AbstractTimeUnitPluralName", "" } };
99+
100+
public Object[][] getContents()
101+
{
102+
return OBJECTS;
103+
}
104+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package org.ocpsoft.prettytime.i18n;
2+
3+
4+
public class Resources_iw extends Resources_he
5+
{
6+
7+
}

0 commit comments

Comments
 (0)