@prezly/theme-kit-intl 8.2.0 → 9.0.0

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 (82) hide show
  1. package/build/dictionary.cjs +33 -0
  2. package/build/dictionary.d.ts +3 -0
  3. package/build/dictionary.mjs +26 -0
  4. package/build/formatting/datetime/lib.cjs +4 -16
  5. package/build/formatting/datetime/lib.d.ts +2 -0
  6. package/build/formatting/datetime/lib.mjs +3 -16
  7. package/build/formatting/datetime/lib.test.cjs +14 -0
  8. package/build/formatting/datetime/lib.test.d.ts +1 -0
  9. package/build/formatting/datetime/lib.test.mjs +12 -0
  10. package/build/formatting/datetime/shared.test.cjs +15 -0
  11. package/build/formatting/datetime/shared.test.d.ts +1 -0
  12. package/build/formatting/datetime/shared.test.mjs +13 -0
  13. package/build/formatting/messages/lib.cjs +91 -63
  14. package/build/formatting/messages/lib.d.ts +7 -2
  15. package/build/formatting/messages/lib.mjs +89 -65
  16. package/build/formatting/messages/lib.test.cjs +141 -6
  17. package/build/formatting/messages/lib.test.mjs +142 -7
  18. package/build/formatting/messages/types.cjs +18 -1
  19. package/build/formatting/messages/types.d.ts +46 -3
  20. package/build/formatting/messages/types.mjs +12 -1
  21. package/build/i18n/af.json +87 -1
  22. package/build/i18n/ar.json +139 -2
  23. package/build/i18n/az.json +86 -0
  24. package/build/i18n/be.json +130 -0
  25. package/build/i18n/bg.json +130 -0
  26. package/build/i18n/ca.json +130 -0
  27. package/build/i18n/cs.json +134 -4
  28. package/build/i18n/da.json +130 -0
  29. package/build/i18n/de.json +86 -0
  30. package/build/i18n/el.json +86 -0
  31. package/build/i18n/en.json +130 -0
  32. package/build/i18n/es.json +131 -1
  33. package/build/i18n/et.json +86 -0
  34. package/build/i18n/fi.json +86 -0
  35. package/build/i18n/fil.json +87 -1
  36. package/build/i18n/fr.json +86 -0
  37. package/build/i18n/ga.json +130 -0
  38. package/build/i18n/he.json +108 -0
  39. package/build/i18n/hi.json +86 -0
  40. package/build/i18n/hr.json +108 -0
  41. package/build/i18n/hu.json +86 -0
  42. package/build/i18n/id.json +65 -1
  43. package/build/i18n/it.json +108 -0
  44. package/build/i18n/ja.json +64 -0
  45. package/build/i18n/kk.json +130 -0
  46. package/build/i18n/ko.json +64 -0
  47. package/build/i18n/lt.json +131 -1
  48. package/build/i18n/lv.json +87 -1
  49. package/build/i18n/mt.json +124 -0
  50. package/build/i18n/nl.json +131 -1
  51. package/build/i18n/no.json +86 -0
  52. package/build/i18n/pl.json +131 -1
  53. package/build/i18n/pt-BR.json +132 -2
  54. package/build/i18n/pt.json +133 -3
  55. package/build/i18n/ro.json +109 -1
  56. package/build/i18n/ru.json +130 -0
  57. package/build/i18n/sk.json +108 -0
  58. package/build/i18n/sl.json +131 -1
  59. package/build/i18n/sr.json +130 -0
  60. package/build/i18n/sv.json +130 -0
  61. package/build/i18n/sw.json +86 -0
  62. package/build/i18n/th.json +130 -0
  63. package/build/i18n/tr.json +130 -0
  64. package/build/i18n/uk.json +130 -0
  65. package/build/i18n/ur.json +86 -0
  66. package/build/i18n/uz.json +86 -0
  67. package/build/i18n/vi.json +64 -0
  68. package/build/i18n/zh-CN.json +130 -0
  69. package/build/i18n/zh-TW.json +64 -0
  70. package/build/index.cjs +12 -0
  71. package/build/index.d.ts +1 -0
  72. package/build/index.mjs +1 -0
  73. package/build/messages/content.cjs +12 -0
  74. package/build/messages/content.d.ts +12 -0
  75. package/build/messages/content.mjs +12 -0
  76. package/build/utils/index.cjs +12 -0
  77. package/build/utils/index.d.ts +1 -0
  78. package/build/utils/index.mjs +1 -0
  79. package/build/utils/withCache.cjs +20 -0
  80. package/build/utils/withCache.d.ts +1 -0
  81. package/build/utils/withCache.mjs +14 -0
  82. package/package.json +2 -2
@@ -159,12 +159,142 @@
159
159
  "value": "Сталася помилка. Спробуйте надіслати форму повторно"
160
160
  }
161
161
  ],
162
+ "mediaGallery.imagesCount": [
163
+ {
164
+ "offset": 0,
165
+ "options": {
166
+ "=0": {
167
+ "value": [
168
+ {
169
+ "type": 0,
170
+ "value": "Немає зображень"
171
+ }
172
+ ]
173
+ },
174
+ "few": {
175
+ "value": [
176
+ {
177
+ "type": 7
178
+ },
179
+ {
180
+ "type": 0,
181
+ "value": " зображення"
182
+ }
183
+ ]
184
+ },
185
+ "many": {
186
+ "value": [
187
+ {
188
+ "type": 7
189
+ },
190
+ {
191
+ "type": 0,
192
+ "value": " зображення"
193
+ }
194
+ ]
195
+ },
196
+ "one": {
197
+ "value": [
198
+ {
199
+ "type": 7
200
+ },
201
+ {
202
+ "type": 0,
203
+ "value": " зображення"
204
+ }
205
+ ]
206
+ },
207
+ "other": {
208
+ "value": [
209
+ {
210
+ "type": 7
211
+ },
212
+ {
213
+ "type": 0,
214
+ "value": " зображення"
215
+ }
216
+ ]
217
+ }
218
+ },
219
+ "pluralType": "cardinal",
220
+ "type": 6,
221
+ "value": "imagesCount"
222
+ }
223
+ ],
162
224
  "mediaGallery.title": [
163
225
  {
164
226
  "type": 0,
165
227
  "value": "Медіа-галереї"
166
228
  }
167
229
  ],
230
+ "mediaGallery.titleSingular": [
231
+ {
232
+ "type": 0,
233
+ "value": "Медіагалерея"
234
+ }
235
+ ],
236
+ "mediaGallery.videosCount": [
237
+ {
238
+ "offset": 0,
239
+ "options": {
240
+ "=0": {
241
+ "value": [
242
+ {
243
+ "type": 0,
244
+ "value": "Немає відео"
245
+ }
246
+ ]
247
+ },
248
+ "few": {
249
+ "value": [
250
+ {
251
+ "type": 7
252
+ },
253
+ {
254
+ "type": 0,
255
+ "value": " відео"
256
+ }
257
+ ]
258
+ },
259
+ "many": {
260
+ "value": [
261
+ {
262
+ "type": 7
263
+ },
264
+ {
265
+ "type": 0,
266
+ "value": " відео"
267
+ }
268
+ ]
269
+ },
270
+ "one": {
271
+ "value": [
272
+ {
273
+ "type": 7
274
+ },
275
+ {
276
+ "type": 0,
277
+ "value": " відео"
278
+ }
279
+ ]
280
+ },
281
+ "other": {
282
+ "value": [
283
+ {
284
+ "type": 7
285
+ },
286
+ {
287
+ "type": 0,
288
+ "value": " відео"
289
+ }
290
+ ]
291
+ }
292
+ },
293
+ "pluralType": "cardinal",
294
+ "type": 6,
295
+ "value": "videosCount"
296
+ }
297
+ ],
168
298
  "misc.embargoMessage": [
169
299
  {
170
300
  "type": 0,
@@ -159,12 +159,98 @@
159
159
  "value": "کوئی مسئلہ پیش آ گیا۔ براہ مہربانی فارم دوبارہ جمع کرانے کی کوشش کریں۔"
160
160
  }
161
161
  ],
162
+ "mediaGallery.imagesCount": [
163
+ {
164
+ "offset": 0,
165
+ "options": {
166
+ "=0": {
167
+ "value": [
168
+ {
169
+ "type": 0,
170
+ "value": "کوئی تصاویر نہیں ہیں۔"
171
+ }
172
+ ]
173
+ },
174
+ "one": {
175
+ "value": [
176
+ {
177
+ "type": 7
178
+ },
179
+ {
180
+ "type": 0,
181
+ "value": " تصویر"
182
+ }
183
+ ]
184
+ },
185
+ "other": {
186
+ "value": [
187
+ {
188
+ "type": 7
189
+ },
190
+ {
191
+ "type": 0,
192
+ "value": " تصاویر"
193
+ }
194
+ ]
195
+ }
196
+ },
197
+ "pluralType": "cardinal",
198
+ "type": 6,
199
+ "value": "imagesCount"
200
+ }
201
+ ],
162
202
  "mediaGallery.title": [
163
203
  {
164
204
  "type": 0,
165
205
  "value": "میڈیا گیلریز"
166
206
  }
167
207
  ],
208
+ "mediaGallery.titleSingular": [
209
+ {
210
+ "type": 0,
211
+ "value": "میڈیا گیلری"
212
+ }
213
+ ],
214
+ "mediaGallery.videosCount": [
215
+ {
216
+ "offset": 0,
217
+ "options": {
218
+ "=0": {
219
+ "value": [
220
+ {
221
+ "type": 0,
222
+ "value": "کوئی ویڈیوز نہیں۔"
223
+ }
224
+ ]
225
+ },
226
+ "one": {
227
+ "value": [
228
+ {
229
+ "type": 7
230
+ },
231
+ {
232
+ "type": 0,
233
+ "value": " ویڈیو"
234
+ }
235
+ ]
236
+ },
237
+ "other": {
238
+ "value": [
239
+ {
240
+ "type": 7
241
+ },
242
+ {
243
+ "type": 0,
244
+ "value": " ویڈیوز"
245
+ }
246
+ ]
247
+ }
248
+ },
249
+ "pluralType": "cardinal",
250
+ "type": 6,
251
+ "value": "videosCount"
252
+ }
253
+ ],
168
254
  "misc.embargoMessage": [
169
255
  {
170
256
  "type": 1,
@@ -159,12 +159,98 @@
159
159
  "value": "Nimadir xato ketdi. Shaklni qaytadan yuborishga urinib ko‘ring"
160
160
  }
161
161
  ],
162
+ "mediaGallery.imagesCount": [
163
+ {
164
+ "offset": 0,
165
+ "options": {
166
+ "=0": {
167
+ "value": [
168
+ {
169
+ "type": 0,
170
+ "value": "Rasm yo'q"
171
+ }
172
+ ]
173
+ },
174
+ "one": {
175
+ "value": [
176
+ {
177
+ "type": 7
178
+ },
179
+ {
180
+ "type": 0,
181
+ "value": " rasm"
182
+ }
183
+ ]
184
+ },
185
+ "other": {
186
+ "value": [
187
+ {
188
+ "type": 7
189
+ },
190
+ {
191
+ "type": 0,
192
+ "value": " rasm"
193
+ }
194
+ ]
195
+ }
196
+ },
197
+ "pluralType": "cardinal",
198
+ "type": 6,
199
+ "value": "imagesCount"
200
+ }
201
+ ],
162
202
  "mediaGallery.title": [
163
203
  {
164
204
  "type": 0,
165
205
  "value": "Media galereyalar"
166
206
  }
167
207
  ],
208
+ "mediaGallery.titleSingular": [
209
+ {
210
+ "type": 0,
211
+ "value": "Media galereyasi"
212
+ }
213
+ ],
214
+ "mediaGallery.videosCount": [
215
+ {
216
+ "offset": 0,
217
+ "options": {
218
+ "=0": {
219
+ "value": [
220
+ {
221
+ "type": 0,
222
+ "value": "Video yo'q"
223
+ }
224
+ ]
225
+ },
226
+ "one": {
227
+ "value": [
228
+ {
229
+ "type": 7
230
+ },
231
+ {
232
+ "type": 0,
233
+ "value": " video"
234
+ }
235
+ ]
236
+ },
237
+ "other": {
238
+ "value": [
239
+ {
240
+ "type": 7
241
+ },
242
+ {
243
+ "type": 0,
244
+ "value": " videolar"
245
+ }
246
+ ]
247
+ }
248
+ },
249
+ "pluralType": "cardinal",
250
+ "type": 6,
251
+ "value": "videosCount"
252
+ }
253
+ ],
168
254
  "misc.embargoMessage": [
169
255
  {
170
256
  "type": 1,
@@ -159,12 +159,76 @@
159
159
  "value": "Đã xảy ra sự cố. Vui lòng gửi lại mẫu đơn"
160
160
  }
161
161
  ],
162
+ "mediaGallery.imagesCount": [
163
+ {
164
+ "offset": 0,
165
+ "options": {
166
+ "=0": {
167
+ "value": [
168
+ {
169
+ "type": 0,
170
+ "value": "Không có hình ảnh"
171
+ }
172
+ ]
173
+ },
174
+ "other": {
175
+ "value": [
176
+ {
177
+ "type": 7
178
+ },
179
+ {
180
+ "type": 0,
181
+ "value": " hình ảnh"
182
+ }
183
+ ]
184
+ }
185
+ },
186
+ "pluralType": "cardinal",
187
+ "type": 6,
188
+ "value": "imagesCount"
189
+ }
190
+ ],
162
191
  "mediaGallery.title": [
163
192
  {
164
193
  "type": 0,
165
194
  "value": "Thư viện đa phương tiện"
166
195
  }
167
196
  ],
197
+ "mediaGallery.titleSingular": [
198
+ {
199
+ "type": 0,
200
+ "value": "Thư viện truyền thông"
201
+ }
202
+ ],
203
+ "mediaGallery.videosCount": [
204
+ {
205
+ "offset": 0,
206
+ "options": {
207
+ "=0": {
208
+ "value": [
209
+ {
210
+ "type": 0,
211
+ "value": "Không có video"
212
+ }
213
+ ]
214
+ },
215
+ "other": {
216
+ "value": [
217
+ {
218
+ "type": 7
219
+ },
220
+ {
221
+ "type": 0,
222
+ "value": " video"
223
+ }
224
+ ]
225
+ }
226
+ },
227
+ "pluralType": "cardinal",
228
+ "type": 6,
229
+ "value": "videosCount"
230
+ }
231
+ ],
168
232
  "misc.embargoMessage": [
169
233
  {
170
234
  "type": 0,
@@ -159,12 +159,142 @@
159
159
  "value": "出问题了。请再次尝试提交表格。"
160
160
  }
161
161
  ],
162
+ "mediaGallery.imagesCount": [
163
+ {
164
+ "offset": 0,
165
+ "options": {
166
+ "=0": {
167
+ "value": [
168
+ {
169
+ "type": 0,
170
+ "value": "没有图像"
171
+ }
172
+ ]
173
+ },
174
+ "few": {
175
+ "value": [
176
+ {
177
+ "type": 7
178
+ },
179
+ {
180
+ "type": 0,
181
+ "value": " 图像"
182
+ }
183
+ ]
184
+ },
185
+ "many": {
186
+ "value": [
187
+ {
188
+ "type": 7
189
+ },
190
+ {
191
+ "type": 0,
192
+ "value": " 图像"
193
+ }
194
+ ]
195
+ },
196
+ "one": {
197
+ "value": [
198
+ {
199
+ "type": 7
200
+ },
201
+ {
202
+ "type": 0,
203
+ "value": " 图像"
204
+ }
205
+ ]
206
+ },
207
+ "other": {
208
+ "value": [
209
+ {
210
+ "type": 7
211
+ },
212
+ {
213
+ "type": 0,
214
+ "value": " 图像"
215
+ }
216
+ ]
217
+ }
218
+ },
219
+ "pluralType": "cardinal",
220
+ "type": 6,
221
+ "value": "imagesCount"
222
+ }
223
+ ],
162
224
  "mediaGallery.title": [
163
225
  {
164
226
  "type": 0,
165
227
  "value": "媒体画廊"
166
228
  }
167
229
  ],
230
+ "mediaGallery.titleSingular": [
231
+ {
232
+ "type": 0,
233
+ "value": "媒体库"
234
+ }
235
+ ],
236
+ "mediaGallery.videosCount": [
237
+ {
238
+ "offset": 0,
239
+ "options": {
240
+ "=0": {
241
+ "value": [
242
+ {
243
+ "type": 0,
244
+ "value": "没有视频"
245
+ }
246
+ ]
247
+ },
248
+ "few": {
249
+ "value": [
250
+ {
251
+ "type": 7
252
+ },
253
+ {
254
+ "type": 0,
255
+ "value": " 视频"
256
+ }
257
+ ]
258
+ },
259
+ "many": {
260
+ "value": [
261
+ {
262
+ "type": 7
263
+ },
264
+ {
265
+ "type": 0,
266
+ "value": " 视频"
267
+ }
268
+ ]
269
+ },
270
+ "one": {
271
+ "value": [
272
+ {
273
+ "type": 7
274
+ },
275
+ {
276
+ "type": 0,
277
+ "value": " 视频"
278
+ }
279
+ ]
280
+ },
281
+ "other": {
282
+ "value": [
283
+ {
284
+ "type": 7
285
+ },
286
+ {
287
+ "type": 0,
288
+ "value": " 视频"
289
+ }
290
+ ]
291
+ }
292
+ },
293
+ "pluralType": "cardinal",
294
+ "type": 6,
295
+ "value": "videosCount"
296
+ }
297
+ ],
168
298
  "misc.embargoMessage": [
169
299
  {
170
300
  "type": 0,
@@ -159,12 +159,76 @@
159
159
  "value": "出了點問題。請再嘗試提交表格。"
160
160
  }
161
161
  ],
162
+ "mediaGallery.imagesCount": [
163
+ {
164
+ "offset": 0,
165
+ "options": {
166
+ "=0": {
167
+ "value": [
168
+ {
169
+ "type": 0,
170
+ "value": "沒有圖片"
171
+ }
172
+ ]
173
+ },
174
+ "other": {
175
+ "value": [
176
+ {
177
+ "type": 7
178
+ },
179
+ {
180
+ "type": 0,
181
+ "value": " 張圖片"
182
+ }
183
+ ]
184
+ }
185
+ },
186
+ "pluralType": "cardinal",
187
+ "type": 6,
188
+ "value": "imagesCount"
189
+ }
190
+ ],
162
191
  "mediaGallery.title": [
163
192
  {
164
193
  "type": 0,
165
194
  "value": "媒體畫廊"
166
195
  }
167
196
  ],
197
+ "mediaGallery.titleSingular": [
198
+ {
199
+ "type": 0,
200
+ "value": "媒體圖片庫"
201
+ }
202
+ ],
203
+ "mediaGallery.videosCount": [
204
+ {
205
+ "offset": 0,
206
+ "options": {
207
+ "=0": {
208
+ "value": [
209
+ {
210
+ "type": 0,
211
+ "value": "沒有視頻"
212
+ }
213
+ ]
214
+ },
215
+ "other": {
216
+ "value": [
217
+ {
218
+ "type": 7
219
+ },
220
+ {
221
+ "type": 0,
222
+ "value": " 個視頻"
223
+ }
224
+ ]
225
+ }
226
+ },
227
+ "pluralType": "cardinal",
228
+ "type": 6,
229
+ "value": "videosCount"
230
+ }
231
+ ],
168
232
  "misc.embargoMessage": [
169
233
  {
170
234
  "type": 0,
package/build/index.cjs CHANGED
@@ -7,6 +7,18 @@ var _exportNames = {
7
7
  translations: true
8
8
  };
9
9
  exports.translations = void 0;
10
+ var _dictionary = require("./dictionary.cjs");
11
+ Object.keys(_dictionary).forEach(function (key) {
12
+ if (key === "default" || key === "__esModule") return;
13
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
14
+ if (key in exports && exports[key] === _dictionary[key]) return;
15
+ Object.defineProperty(exports, key, {
16
+ enumerable: true,
17
+ get: function get() {
18
+ return _dictionary[key];
19
+ }
20
+ });
21
+ });
10
22
  var _index = require("./formatting/index.cjs");
11
23
  Object.keys(_index).forEach(function (key) {
12
24
  if (key === "default" || key === "__esModule") return;
package/build/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './dictionary';
1
2
  export * from './formatting';
2
3
  export * from './locales';
3
4
  export * as translations from './messages';
package/build/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./dictionary.mjs";
1
2
  export * from "./formatting/index.mjs";
2
3
  export * from "./locales/index.mjs";
3
4
  import * as _translations from "./messages/index.mjs";
@@ -31,6 +31,18 @@ var mediaGallery = exports.mediaGallery = (0, _dsl.defineMessages)({
31
31
  title: {
32
32
  id: 'mediaGallery.title',
33
33
  defaultMessage: 'Media galleries'
34
+ },
35
+ titleSingular: {
36
+ id: 'mediaGallery.titleSingular',
37
+ defaultMessage: 'Media gallery'
38
+ },
39
+ imagesCount: {
40
+ id: 'mediaGallery.imagesCount',
41
+ defaultMessage: '{imagesCount, plural, =0 {No images} one {# image} few {# images} many {# images} other {# images} }'
42
+ },
43
+ videosCount: {
44
+ id: 'mediaGallery.videosCount',
45
+ defaultMessage: '{videosCount, plural, =0 {No videos} one {# video} few {# videos} many {# videos} other {# videos} }'
34
46
  }
35
47
  });
36
48
  var noStories = exports.noStories = (0, _dsl.defineMessages)({
@@ -25,6 +25,18 @@ export declare const mediaGallery: {
25
25
  id: string;
26
26
  defaultMessage: string;
27
27
  };
28
+ titleSingular: {
29
+ id: string;
30
+ defaultMessage: string;
31
+ };
32
+ imagesCount: {
33
+ id: string;
34
+ defaultMessage: string;
35
+ };
36
+ videosCount: {
37
+ id: string;
38
+ defaultMessage: string;
39
+ };
28
40
  };
29
41
  export declare const noStories: {
30
42
  title: {