1 |
|
2 |
|
3 | if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {
|
4 | Intl.RelativeTimeFormat.__addLocaleData({
|
5 | "data": {
|
6 | "day": {
|
7 | "-1": "yesterday",
|
8 | "0": "today",
|
9 | "1": "tomorrow",
|
10 | "future": {
|
11 | "one": "in {0} day",
|
12 | "other": "in {0} days"
|
13 | },
|
14 | "past": {
|
15 | "one": "{0} day ago",
|
16 | "other": "{0} days ago"
|
17 | }
|
18 | },
|
19 | "day-narrow": {
|
20 | "-1": "yesterday",
|
21 | "0": "today",
|
22 | "1": "tomorrow",
|
23 | "future": {
|
24 | "one": "in {0} day",
|
25 | "other": "in {0} days"
|
26 | },
|
27 | "past": {
|
28 | "one": "{0} day ago",
|
29 | "other": "{0} days ago"
|
30 | }
|
31 | },
|
32 | "day-short": {
|
33 | "-1": "yesterday",
|
34 | "0": "today",
|
35 | "1": "tomorrow",
|
36 | "future": {
|
37 | "one": "in {0} day",
|
38 | "other": "in {0} days"
|
39 | },
|
40 | "past": {
|
41 | "one": "{0} day ago",
|
42 | "other": "{0} days ago"
|
43 | }
|
44 | },
|
45 | "hour": {
|
46 | "0": "this hour",
|
47 | "future": {
|
48 | "one": "in {0} hour",
|
49 | "other": "in {0} hours"
|
50 | },
|
51 | "past": {
|
52 | "one": "{0} hour ago",
|
53 | "other": "{0} hours ago"
|
54 | }
|
55 | },
|
56 | "hour-narrow": {
|
57 | "0": "this hour",
|
58 | "future": {
|
59 | "one": "in {0} hr",
|
60 | "other": "in {0} hr"
|
61 | },
|
62 | "past": {
|
63 | "one": "{0} hr ago",
|
64 | "other": "{0} hr ago"
|
65 | }
|
66 | },
|
67 | "hour-short": {
|
68 | "0": "this hour",
|
69 | "future": {
|
70 | "one": "in {0} hr",
|
71 | "other": "in {0} hr"
|
72 | },
|
73 | "past": {
|
74 | "one": "{0} hr ago",
|
75 | "other": "{0} hr ago"
|
76 | }
|
77 | },
|
78 | "minute": {
|
79 | "0": "this minute",
|
80 | "future": {
|
81 | "one": "in {0} minute",
|
82 | "other": "in {0} minutes"
|
83 | },
|
84 | "past": {
|
85 | "one": "{0} minute ago",
|
86 | "other": "{0} minutes ago"
|
87 | }
|
88 | },
|
89 | "minute-narrow": {
|
90 | "0": "this minute",
|
91 | "future": {
|
92 | "one": "in {0} min",
|
93 | "other": "in {0} min"
|
94 | },
|
95 | "past": {
|
96 | "one": "{0} min ago",
|
97 | "other": "{0} min ago"
|
98 | }
|
99 | },
|
100 | "minute-short": {
|
101 | "0": "this minute",
|
102 | "future": {
|
103 | "one": "in {0} min",
|
104 | "other": "in {0} min"
|
105 | },
|
106 | "past": {
|
107 | "one": "{0} min ago",
|
108 | "other": "{0} min ago"
|
109 | }
|
110 | },
|
111 | "month": {
|
112 | "-1": "last month",
|
113 | "0": "this month",
|
114 | "1": "next month",
|
115 | "future": {
|
116 | "one": "in {0} month",
|
117 | "other": "in {0} months"
|
118 | },
|
119 | "past": {
|
120 | "one": "{0} month ago",
|
121 | "other": "{0} months ago"
|
122 | }
|
123 | },
|
124 | "month-narrow": {
|
125 | "-1": "last mo",
|
126 | "0": "this mo",
|
127 | "1": "next mo",
|
128 | "future": {
|
129 | "one": "in {0} mo",
|
130 | "other": "in {0} mo"
|
131 | },
|
132 | "past": {
|
133 | "one": "{0} mo ago",
|
134 | "other": "{0} mo ago"
|
135 | }
|
136 | },
|
137 | "month-short": {
|
138 | "-1": "last mo",
|
139 | "0": "this mo",
|
140 | "1": "next mo",
|
141 | "future": {
|
142 | "one": "in {0} mo",
|
143 | "other": "in {0} mo"
|
144 | },
|
145 | "past": {
|
146 | "one": "{0} mo ago",
|
147 | "other": "{0} mo ago"
|
148 | }
|
149 | },
|
150 | "nu": [
|
151 | "latn"
|
152 | ],
|
153 | "quarter": {
|
154 | "-1": "last quarter",
|
155 | "0": "this quarter",
|
156 | "1": "next quarter",
|
157 | "future": {
|
158 | "one": "in {0} quarter",
|
159 | "other": "in {0} quarters"
|
160 | },
|
161 | "past": {
|
162 | "one": "{0} quarter ago",
|
163 | "other": "{0} quarters ago"
|
164 | }
|
165 | },
|
166 | "quarter-narrow": {
|
167 | "-1": "last qtr.",
|
168 | "0": "this qtr.",
|
169 | "1": "next qtr.",
|
170 | "future": {
|
171 | "one": "in {0} qtr",
|
172 | "other": "in {0} qtr"
|
173 | },
|
174 | "past": {
|
175 | "one": "{0} qtr ago",
|
176 | "other": "{0} qtr ago"
|
177 | }
|
178 | },
|
179 | "quarter-short": {
|
180 | "-1": "last qtr.",
|
181 | "0": "this qtr.",
|
182 | "1": "next qtr.",
|
183 | "future": {
|
184 | "one": "in {0} qtr",
|
185 | "other": "in {0} qtr"
|
186 | },
|
187 | "past": {
|
188 | "one": "{0} qtr ago",
|
189 | "other": "{0} qtr ago"
|
190 | }
|
191 | },
|
192 | "second": {
|
193 | "0": "now",
|
194 | "future": {
|
195 | "one": "in {0} second",
|
196 | "other": "in {0} seconds"
|
197 | },
|
198 | "past": {
|
199 | "one": "{0} second ago",
|
200 | "other": "{0} seconds ago"
|
201 | }
|
202 | },
|
203 | "second-narrow": {
|
204 | "0": "now",
|
205 | "future": {
|
206 | "one": "in {0} sec",
|
207 | "other": "in {0} sec"
|
208 | },
|
209 | "past": {
|
210 | "one": "{0} sec ago",
|
211 | "other": "{0} sec ago"
|
212 | }
|
213 | },
|
214 | "second-short": {
|
215 | "0": "now",
|
216 | "future": {
|
217 | "one": "in {0} sec",
|
218 | "other": "in {0} sec"
|
219 | },
|
220 | "past": {
|
221 | "one": "{0} sec ago",
|
222 | "other": "{0} sec ago"
|
223 | }
|
224 | },
|
225 | "week": {
|
226 | "-1": "last week",
|
227 | "0": "this week",
|
228 | "1": "next week",
|
229 | "future": {
|
230 | "one": "in {0} week",
|
231 | "other": "in {0} weeks"
|
232 | },
|
233 | "past": {
|
234 | "one": "{0} week ago",
|
235 | "other": "{0} weeks ago"
|
236 | }
|
237 | },
|
238 | "week-narrow": {
|
239 | "-1": "last wk",
|
240 | "0": "this wk",
|
241 | "1": "next wk",
|
242 | "future": {
|
243 | "one": "in {0} wk",
|
244 | "other": "in {0} wk"
|
245 | },
|
246 | "past": {
|
247 | "one": "{0} wk ago",
|
248 | "other": "{0} wk ago"
|
249 | }
|
250 | },
|
251 | "week-short": {
|
252 | "-1": "last wk",
|
253 | "0": "this wk",
|
254 | "1": "next wk",
|
255 | "future": {
|
256 | "one": "in {0} wk",
|
257 | "other": "in {0} wk"
|
258 | },
|
259 | "past": {
|
260 | "one": "{0} wk ago",
|
261 | "other": "{0} wk ago"
|
262 | }
|
263 | },
|
264 | "year": {
|
265 | "-1": "last year",
|
266 | "0": "this year",
|
267 | "1": "next year",
|
268 | "future": {
|
269 | "one": "in {0} year",
|
270 | "other": "in {0} years"
|
271 | },
|
272 | "past": {
|
273 | "one": "{0} year ago",
|
274 | "other": "{0} years ago"
|
275 | }
|
276 | },
|
277 | "year-narrow": {
|
278 | "-1": "last yr",
|
279 | "0": "this yr",
|
280 | "1": "next yr",
|
281 | "future": {
|
282 | "one": "in {0} yr",
|
283 | "other": "in {0} yr"
|
284 | },
|
285 | "past": {
|
286 | "one": "{0} yr ago",
|
287 | "other": "{0} yr ago"
|
288 | }
|
289 | },
|
290 | "year-short": {
|
291 | "-1": "last yr",
|
292 | "0": "this yr",
|
293 | "1": "next yr",
|
294 | "future": {
|
295 | "one": "in {0} yr",
|
296 | "other": "in {0} yr"
|
297 | },
|
298 | "past": {
|
299 | "one": "{0} yr ago",
|
300 | "other": "{0} yr ago"
|
301 | }
|
302 | }
|
303 | },
|
304 | "locale": "en-LR"
|
305 | })
|
306 | }
|