javascript-time-ago 2.5.6 → 2.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/bundle/javascript-time-ago.js +1 -1
  2. package/bundle/javascript-time-ago.js.map +1 -1
  3. package/bundle/javascript-time-ago.min.js +1 -1
  4. package/bundle/javascript-time-ago.min.js.map +1 -1
  5. package/commonjs/TimeAgo.test.js.map +1 -1
  6. package/index.d.ts +1 -1
  7. package/load-all-locales/index.cjs +8 -0
  8. package/load-all-locales/index.cjs.js +8 -0
  9. package/load-all-locales/index.js +16 -0
  10. package/locale/bgc/package.json +16 -0
  11. package/locale/bgc.json +159 -0
  12. package/locale/bgc.json.d.ts +4 -0
  13. package/locale/bgc.json.js +159 -0
  14. package/locale/brx.json +66 -66
  15. package/locale/brx.json.js +66 -66
  16. package/locale/cv/package.json +16 -0
  17. package/locale/cv.json +159 -0
  18. package/locale/cv.json.d.ts +4 -0
  19. package/locale/cv.json.js +159 -0
  20. package/locale/dsb.json +6 -6
  21. package/locale/dsb.json.js +6 -6
  22. package/locale/en-AU.json +1 -1
  23. package/locale/en-AU.json.js +1 -1
  24. package/locale/en-CA.json +2 -8
  25. package/locale/en-CA.json.js +2 -8
  26. package/locale/en.json +16 -28
  27. package/locale/en.json.js +16 -28
  28. package/locale/eo/package.json +16 -0
  29. package/locale/eo.json +275 -0
  30. package/locale/eo.json.d.ts +4 -0
  31. package/locale/eo.json.js +275 -0
  32. package/locale/fa.json +2 -2
  33. package/locale/fa.json.js +2 -2
  34. package/locale/ff-Adlm.json +4 -4
  35. package/locale/ff-Adlm.json.js +4 -4
  36. package/locale/fil.json +52 -175
  37. package/locale/fil.json.js +52 -175
  38. package/locale/ga.json +21 -7
  39. package/locale/ga.json.js +21 -7
  40. package/locale/hi-Latn.json +75 -78
  41. package/locale/hi-Latn.json.js +75 -78
  42. package/locale/hu.json +6 -6
  43. package/locale/hu.json.js +6 -6
  44. package/locale/ks/package.json +16 -0
  45. package/locale/ks.json +159 -0
  46. package/locale/ks.json.d.ts +4 -0
  47. package/locale/ks.json.js +159 -0
  48. package/locale/mai/package.json +16 -0
  49. package/locale/mai.json +159 -0
  50. package/locale/mai.json.d.ts +4 -0
  51. package/locale/mai.json.js +159 -0
  52. package/locale/mi/package.json +16 -0
  53. package/locale/mi.json +159 -0
  54. package/locale/mi.json.d.ts +4 -0
  55. package/locale/mi.json.js +159 -0
  56. package/locale/mk.json +2 -2
  57. package/locale/mk.json.js +2 -2
  58. package/locale/mt.json +176 -55
  59. package/locale/mt.json.js +176 -55
  60. package/locale/nl.json +4 -16
  61. package/locale/nl.json.js +4 -16
  62. package/locale/or.json +1 -4
  63. package/locale/or.json.js +1 -4
  64. package/locale/raj/package.json +16 -0
  65. package/locale/raj.json +159 -0
  66. package/locale/raj.json.d.ts +4 -0
  67. package/locale/raj.json.js +159 -0
  68. package/locale/sr-Cyrl-BA.json +19 -19
  69. package/locale/sr-Cyrl-BA.json.js +19 -19
  70. package/locale/sr-Latn-BA.json +19 -19
  71. package/locale/sr-Latn-BA.json.js +19 -19
  72. package/locale/uk.json +1 -4
  73. package/locale/uk.json.js +1 -4
  74. package/locale/xh/package.json +16 -0
  75. package/locale/xh.json +159 -0
  76. package/locale/xh.json.d.ts +4 -0
  77. package/locale/xh.json.js +159 -0
  78. package/locale-more-styles/eo/long-time.json +30 -0
  79. package/locale-more-styles/eo/mini.json +9 -0
  80. package/locale-more-styles/eo/now.json +7 -0
  81. package/locale-more-styles/eo/short-time.json +9 -0
  82. package/modules/TimeAgo.test.js +1 -1
  83. package/modules/TimeAgo.test.js.map +1 -1
  84. package/package.json +67 -2
@@ -213,7 +213,7 @@ export default {
213
213
  "current": "this qtr.",
214
214
  "next": "next qtr.",
215
215
  "past": {
216
- "one": "in {0} qtr ago",
216
+ "one": "{0} qtr ago",
217
217
  "other": "{0} qtrs ago"
218
218
  },
219
219
  "future": {
package/locale/en-CA.json CHANGED
@@ -257,14 +257,8 @@
257
257
  "previous": "yesterday",
258
258
  "current": "today",
259
259
  "next": "tomorrow",
260
- "past": {
261
- "one": "{0} day ago",
262
- "other": "{0} days ago"
263
- },
264
- "future": {
265
- "one": "in {0} day",
266
- "other": "in {0} days"
267
- }
260
+ "past": "{0}d ago",
261
+ "future": "in {0}d"
268
262
  },
269
263
  "hour": {
270
264
  "current": "this hour",
@@ -257,14 +257,8 @@ export default {
257
257
  "previous": "yesterday",
258
258
  "current": "today",
259
259
  "next": "tomorrow",
260
- "past": {
261
- "one": "{0} day ago",
262
- "other": "{0} days ago"
263
- },
264
- "future": {
265
- "one": "in {0} day",
266
- "other": "in {0} days"
267
- }
260
+ "past": "{0}d ago",
261
+ "future": "in {0}d"
268
262
  },
269
263
  "hour": {
270
264
  "current": "this hour",
package/locale/en.json CHANGED
@@ -169,63 +169,51 @@
169
169
  "previous": "last yr.",
170
170
  "current": "this yr.",
171
171
  "next": "next yr.",
172
- "past": "{0} yr. ago",
173
- "future": "in {0} yr."
172
+ "past": "{0}y ago",
173
+ "future": "in {0}y"
174
174
  },
175
175
  "quarter": {
176
176
  "previous": "last qtr.",
177
177
  "current": "this qtr.",
178
178
  "next": "next qtr.",
179
- "past": {
180
- "one": "{0} qtr. ago",
181
- "other": "{0} qtrs. ago"
182
- },
183
- "future": {
184
- "one": "in {0} qtr.",
185
- "other": "in {0} qtrs."
186
- }
179
+ "past": "{0}q ago",
180
+ "future": "in {0}q"
187
181
  },
188
182
  "month": {
189
183
  "previous": "last mo.",
190
184
  "current": "this mo.",
191
185
  "next": "next mo.",
192
- "past": "{0} mo. ago",
193
- "future": "in {0} mo."
186
+ "past": "{0}mo ago",
187
+ "future": "in {0}mo"
194
188
  },
195
189
  "week": {
196
190
  "previous": "last wk.",
197
191
  "current": "this wk.",
198
192
  "next": "next wk.",
199
- "past": "{0} wk. ago",
200
- "future": "in {0} wk."
193
+ "past": "{0}w ago",
194
+ "future": "in {0}w"
201
195
  },
202
196
  "day": {
203
197
  "previous": "yesterday",
204
198
  "current": "today",
205
199
  "next": "tomorrow",
206
- "past": {
207
- "one": "{0} day ago",
208
- "other": "{0} days ago"
209
- },
210
- "future": {
211
- "one": "in {0} day",
212
- "other": "in {0} days"
213
- }
200
+ "past": "{0}d ago",
201
+ "future": "in {0}d"
214
202
  },
215
203
  "hour": {
216
204
  "current": "this hour",
217
- "past": "{0} hr. ago",
218
- "future": "in {0} hr."
205
+ "past": "{0}h ago",
206
+ "future": "in {0}h"
219
207
  },
220
208
  "minute": {
221
209
  "current": "this minute",
222
- "past": "{0} min. ago",
223
- "future": "in {0} min."
210
+ "past": "{0}m ago",
211
+ "future": "in {0}m"
224
212
  },
225
213
  "second": {
226
214
  "current": "now",
227
- "past": "{0} sec. ago",
228
- "future": "in {0} sec."
215
+ "past": "{0}s ago",
216
+ "future": "in {0}s"
229
217
  }
230
218
  },
231
219
  "now": {
package/locale/en.json.js CHANGED
@@ -169,63 +169,51 @@ export default {
169
169
  "previous": "last yr.",
170
170
  "current": "this yr.",
171
171
  "next": "next yr.",
172
- "past": "{0} yr. ago",
173
- "future": "in {0} yr."
172
+ "past": "{0}y ago",
173
+ "future": "in {0}y"
174
174
  },
175
175
  "quarter": {
176
176
  "previous": "last qtr.",
177
177
  "current": "this qtr.",
178
178
  "next": "next qtr.",
179
- "past": {
180
- "one": "{0} qtr. ago",
181
- "other": "{0} qtrs. ago"
182
- },
183
- "future": {
184
- "one": "in {0} qtr.",
185
- "other": "in {0} qtrs."
186
- }
179
+ "past": "{0}q ago",
180
+ "future": "in {0}q"
187
181
  },
188
182
  "month": {
189
183
  "previous": "last mo.",
190
184
  "current": "this mo.",
191
185
  "next": "next mo.",
192
- "past": "{0} mo. ago",
193
- "future": "in {0} mo."
186
+ "past": "{0}mo ago",
187
+ "future": "in {0}mo"
194
188
  },
195
189
  "week": {
196
190
  "previous": "last wk.",
197
191
  "current": "this wk.",
198
192
  "next": "next wk.",
199
- "past": "{0} wk. ago",
200
- "future": "in {0} wk."
193
+ "past": "{0}w ago",
194
+ "future": "in {0}w"
201
195
  },
202
196
  "day": {
203
197
  "previous": "yesterday",
204
198
  "current": "today",
205
199
  "next": "tomorrow",
206
- "past": {
207
- "one": "{0} day ago",
208
- "other": "{0} days ago"
209
- },
210
- "future": {
211
- "one": "in {0} day",
212
- "other": "in {0} days"
213
- }
200
+ "past": "{0}d ago",
201
+ "future": "in {0}d"
214
202
  },
215
203
  "hour": {
216
204
  "current": "this hour",
217
- "past": "{0} hr. ago",
218
- "future": "in {0} hr."
205
+ "past": "{0}h ago",
206
+ "future": "in {0}h"
219
207
  },
220
208
  "minute": {
221
209
  "current": "this minute",
222
- "past": "{0} min. ago",
223
- "future": "in {0} min."
210
+ "past": "{0}m ago",
211
+ "future": "in {0}m"
224
212
  },
225
213
  "second": {
226
214
  "current": "now",
227
- "past": "{0} sec. ago",
228
- "future": "in {0} sec."
215
+ "past": "{0}s ago",
216
+ "future": "in {0}s"
229
217
  }
230
218
  },
231
219
  "now": {
@@ -0,0 +1,16 @@
1
+ {
2
+ "private": true,
3
+ "name": "javascript-time-ago/locale/eo",
4
+ "main": "../eo.json",
5
+ "module": "../eo.json.js",
6
+ "types": "../eo.json.d.ts",
7
+ "type": "module",
8
+ "exports": {
9
+ ".": {
10
+ "types": "../eo.json.d.ts",
11
+ "import": "../eo.json.js",
12
+ "require": "../eo.json"
13
+ }
14
+ },
15
+ "sideEffects": false
16
+ }
package/locale/eo.json ADDED
@@ -0,0 +1,275 @@
1
+ {
2
+ "locale": "eo",
3
+ "short": {
4
+ "locale": "eo",
5
+ "style": "short",
6
+ "year": {
7
+ "previous": "la antaŭan jaron",
8
+ "current": "ĉi tiun jaron",
9
+ "next": "la sekvan jaron",
10
+ "past": "antaŭ {0} j",
11
+ "future": "post {0} j"
12
+ },
13
+ "quarter": {
14
+ "previous": "la antaŭan kvaronjaron",
15
+ "current": "ĉi tiun kvaronjaron",
16
+ "next": "la sekvan kvaronjaron",
17
+ "past": "antaŭ {0} kvaronjar.",
18
+ "future": "post {0} kvaronjar."
19
+ },
20
+ "month": {
21
+ "previous": "la antaŭan monaton",
22
+ "current": "ĉi tiun monaton",
23
+ "next": "la sekvan monaton",
24
+ "past": "antaŭ {0} m",
25
+ "future": "post {0} m"
26
+ },
27
+ "week": {
28
+ "previous": "ant. sem.",
29
+ "current": "ĉi-sem.",
30
+ "next": "sekv. sem.",
31
+ "past": "antaŭ {0} sem.",
32
+ "future": "post {0} sem."
33
+ },
34
+ "day": {
35
+ "previous": "hieraŭ",
36
+ "previous-2": "antaŭhieraŭ",
37
+ "current": "hodiaŭ",
38
+ "next": "morgaŭ",
39
+ "next-2": "postmorgaŭ",
40
+ "past": "antaŭ {0} t",
41
+ "future": "post {0} t"
42
+ },
43
+ "hour": {
44
+ "current": "ĉi-hore",
45
+ "past": "antaŭ {0} h",
46
+ "future": "post {0} h"
47
+ },
48
+ "minute": {
49
+ "current": "ĉi-minute",
50
+ "past": "antaŭ {0} min",
51
+ "future": "post {0} min"
52
+ },
53
+ "second": {
54
+ "current": "nun",
55
+ "past": "antaŭ {0} s",
56
+ "future": "post {0} s"
57
+ }
58
+ },
59
+ "narrow": {
60
+ "locale": "eo",
61
+ "style": "narrow",
62
+ "year": {
63
+ "previous": "la antaŭan jaron",
64
+ "current": "ĉi tiun jaron",
65
+ "next": "la sekvan jaron",
66
+ "past": "antaŭ {0} j",
67
+ "future": "post {0} j"
68
+ },
69
+ "quarter": {
70
+ "previous": "la antaŭan kvaronjaron",
71
+ "current": "ĉi tiun kvaronjaron",
72
+ "next": "la sekvan kvaronjaron",
73
+ "past": "antaŭ {0} kvaronjar.",
74
+ "future": "post {0} kvaronjar."
75
+ },
76
+ "month": {
77
+ "previous": "la antaŭan monaton",
78
+ "current": "ĉi tiun monaton",
79
+ "next": "la sekvan monaton",
80
+ "past": "antaŭ {0} m",
81
+ "future": "post {0} m"
82
+ },
83
+ "week": {
84
+ "previous": "ant. sem.",
85
+ "current": "ĉi-sem.",
86
+ "next": "sekv. sem.",
87
+ "past": "antaŭ {0} sem.",
88
+ "future": "post {0} sem."
89
+ },
90
+ "day": {
91
+ "previous": "hieraŭ",
92
+ "previous-2": "antaŭhieraŭ",
93
+ "current": "hodiaŭ",
94
+ "next": "morgaŭ",
95
+ "next-2": "postmorgaŭ",
96
+ "past": "antaŭ {0} d",
97
+ "future": "post {0} d"
98
+ },
99
+ "hour": {
100
+ "current": "ĉi-hore",
101
+ "past": "antaŭ {0} h",
102
+ "future": "post {0} h"
103
+ },
104
+ "minute": {
105
+ "current": "ĉi-minute",
106
+ "past": "antaŭ {0} min",
107
+ "future": "post {0} min"
108
+ },
109
+ "second": {
110
+ "current": "nun",
111
+ "past": "antaŭ {0} s",
112
+ "future": "post {0} s"
113
+ }
114
+ },
115
+ "long": {
116
+ "locale": "eo",
117
+ "style": "long",
118
+ "year": {
119
+ "previous": "la antaŭan jaron",
120
+ "current": "ĉi tiun jaron",
121
+ "next": "la sekvan jaron",
122
+ "past": {
123
+ "one": "antaŭ {0} jaro",
124
+ "other": "antaŭ {0} jaroj"
125
+ },
126
+ "future": {
127
+ "one": "post {0} jaro",
128
+ "other": "post {0} jaroj"
129
+ }
130
+ },
131
+ "quarter": {
132
+ "previous": "la antaŭan kvaronjaron",
133
+ "current": "ĉi tiun kvaronjaron",
134
+ "next": "la sekvan kvaronjaron",
135
+ "past": {
136
+ "one": "antaŭ {0} kvaronjaro",
137
+ "other": "antaŭ {0} kvaronjaroj"
138
+ },
139
+ "future": {
140
+ "one": "post {0} kvaronjaro",
141
+ "other": "post {0} kvaronjaroj"
142
+ }
143
+ },
144
+ "month": {
145
+ "previous": "la antaŭan monaton",
146
+ "current": "ĉi tiun monaton",
147
+ "next": "la sekvan monaton",
148
+ "past": {
149
+ "one": "antaŭ {0} monato",
150
+ "other": "antaŭ {0} monatoj"
151
+ },
152
+ "future": {
153
+ "one": "post {0} monato",
154
+ "other": "post {0} monatoj"
155
+ }
156
+ },
157
+ "week": {
158
+ "previous": "la antaŭan semajnon",
159
+ "current": "ĉi tiun semajnon",
160
+ "next": "la sekvan semajnon",
161
+ "past": {
162
+ "one": "antaŭ {0} semajno",
163
+ "other": "antaŭ {0} semajnoj"
164
+ },
165
+ "future": {
166
+ "one": "post {0} semajno",
167
+ "other": "post {0} semajnoj"
168
+ }
169
+ },
170
+ "day": {
171
+ "previous": "hieraŭ",
172
+ "previous-2": "antaŭhieraŭ",
173
+ "current": "hodiaŭ",
174
+ "next": "morgaŭ",
175
+ "next-2": "postmorgaŭ",
176
+ "past": {
177
+ "one": "antaŭ {0} tago",
178
+ "other": "antaŭ {0} tagoj"
179
+ },
180
+ "future": {
181
+ "one": "post {0} tago",
182
+ "other": "post {0} tagoj"
183
+ }
184
+ },
185
+ "hour": {
186
+ "current": "ĉi-hore",
187
+ "past": {
188
+ "one": "antaŭ {0} horo",
189
+ "other": "antaŭ {0} horoj"
190
+ },
191
+ "future": {
192
+ "one": "post {0} horo",
193
+ "other": "post {0} horoj"
194
+ }
195
+ },
196
+ "minute": {
197
+ "current": "ĉi-minute",
198
+ "past": {
199
+ "one": "antaŭ {0} minuto",
200
+ "other": "antaŭ {0} minutoj"
201
+ },
202
+ "future": {
203
+ "one": "post {0} minuto",
204
+ "other": "post {0} minutoj"
205
+ }
206
+ },
207
+ "second": {
208
+ "current": "nun",
209
+ "past": {
210
+ "one": "antaŭ {0} sekundo",
211
+ "other": "antaŭ {0} sekundoj"
212
+ },
213
+ "future": {
214
+ "one": "post {0} sekundo",
215
+ "other": "post {0} sekundoj"
216
+ }
217
+ }
218
+ },
219
+ "now": {
220
+ "now": {
221
+ "current": "nun",
222
+ "future": "baldaŭ",
223
+ "past": "ĵus"
224
+ }
225
+ },
226
+ "mini": {
227
+ "year": "{0} j.",
228
+ "month": "{0} m.",
229
+ "week": "{0} sem.",
230
+ "day": "{0} t.",
231
+ "hour": "{0} h.",
232
+ "minute": "{0} m.",
233
+ "second": "{0} sek.",
234
+ "now": "nun"
235
+ },
236
+ "short-time": {
237
+ "year": "{0} ja.",
238
+ "month": "{0} mo.",
239
+ "week": "{0} sem.",
240
+ "day": "{0} ta.",
241
+ "hour": "{0} hor.",
242
+ "minute": "{0} min.",
243
+ "second": "{0} sek."
244
+ },
245
+ "long-time": {
246
+ "year": {
247
+ "one": "{0} jaro",
248
+ "other": "{0} jaroj"
249
+ },
250
+ "month": {
251
+ "one": "{0} monato",
252
+ "other": "{0} monatoj"
253
+ },
254
+ "week": {
255
+ "one": "{0} semajno",
256
+ "other": "{0} semajnoj"
257
+ },
258
+ "day": {
259
+ "one": "{0} tago",
260
+ "other": "{0} tagoj"
261
+ },
262
+ "hour": {
263
+ "one": "{0} horo",
264
+ "other": "{0} horoj"
265
+ },
266
+ "minute": {
267
+ "one": "{0} minuto",
268
+ "other": "{0} minutoj"
269
+ },
270
+ "second": {
271
+ "one": "{0} sekundo",
272
+ "other": "{0} sekundoj"
273
+ }
274
+ }
275
+ }
@@ -0,0 +1,4 @@
1
+ import { LocaleData } from '../index';
2
+
3
+ declare const localeData: LocaleData;
4
+ export default localeData;