@prezly/theme-kit-intl 10.5.0 → 10.6.1
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.
- package/build/formatting/messages/lib.cjs +0 -2
- package/build/formatting/messages/lib.mjs +0 -1
- package/build/formatting/messages/lib.test.cjs +2 -5
- package/build/formatting/messages/lib.test.mjs +2 -4
- package/build/i18n/bs.json +626 -0
- package/build/i18n/cnr.json +626 -0
- package/build/i18n/is.json +582 -0
- package/build/i18n/lb.json +578 -0
- package/build/i18n/mk.json +582 -0
- package/build/i18n/sq.json +582 -0
- package/build/locales/Locale.test.cjs +0 -3
- package/build/locales/Locale.test.mjs +0 -3
- package/build/locales/pickSuportedLocale.cjs +18 -0
- package/build/locales/pickSuportedLocale.mjs +18 -0
- package/build/locales/supportedLocales.cjs +1 -1
- package/build/locales/supportedLocales.mjs +1 -1
- package/package.json +8 -7
|
@@ -0,0 +1,582 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions.backToHomepage": [
|
|
3
|
+
{
|
|
4
|
+
"type": 0,
|
|
5
|
+
"value": "Kthehu në faqen kryesore"
|
|
6
|
+
}
|
|
7
|
+
],
|
|
8
|
+
"actions.copyShareUrl": [
|
|
9
|
+
{
|
|
10
|
+
"type": 0,
|
|
11
|
+
"value": "Kopjo URL-në"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"actions.copyText": [
|
|
15
|
+
{
|
|
16
|
+
"type": 0,
|
|
17
|
+
"value": "Kopjo tekstin"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"actions.download": [
|
|
21
|
+
{
|
|
22
|
+
"type": 0,
|
|
23
|
+
"value": "Shkarko"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"actions.downloadAssets": [
|
|
27
|
+
{
|
|
28
|
+
"type": 0,
|
|
29
|
+
"value": "Shkarko materialet"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"actions.downloadPdf": [
|
|
33
|
+
{
|
|
34
|
+
"type": 0,
|
|
35
|
+
"value": "Shkarko PDF"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"actions.loadMore": [
|
|
39
|
+
{
|
|
40
|
+
"type": 0,
|
|
41
|
+
"value": "Ngarko më shumë"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"actions.more": [
|
|
45
|
+
{
|
|
46
|
+
"type": 0,
|
|
47
|
+
"value": "Më shumë"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"actions.privacyRequests": [
|
|
51
|
+
{
|
|
52
|
+
"type": 0,
|
|
53
|
+
"value": "Kërkesat për privatësi"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"actions.readMore": [
|
|
57
|
+
{
|
|
58
|
+
"type": 0,
|
|
59
|
+
"value": "Lexo më shumë"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"actions.reload": [
|
|
63
|
+
{
|
|
64
|
+
"type": 0,
|
|
65
|
+
"value": "Ringarko"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"actions.share": [
|
|
69
|
+
{
|
|
70
|
+
"type": 0,
|
|
71
|
+
"value": "Ndaj:"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"actions.startUsingCookies": [
|
|
75
|
+
{
|
|
76
|
+
"type": 0,
|
|
77
|
+
"value": "Fillo përdorimin e cookie-ve"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"actions.stopUsingCookies": [
|
|
81
|
+
{
|
|
82
|
+
"type": 0,
|
|
83
|
+
"value": "Ndalo përdorimin e cookie-ve"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"actions.subscribe": [
|
|
87
|
+
{
|
|
88
|
+
"type": 0,
|
|
89
|
+
"value": "Abonohu"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"actions.toggleFilters": [
|
|
93
|
+
{
|
|
94
|
+
"type": 0,
|
|
95
|
+
"value": "Ndrysho filtrat e kërkimit"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"actions.unsubscribe": [
|
|
99
|
+
{
|
|
100
|
+
"type": 0,
|
|
101
|
+
"value": "Çabonohu"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"boilerplate.contact": [
|
|
105
|
+
{
|
|
106
|
+
"type": 0,
|
|
107
|
+
"value": "Kontakt"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"boilerplate.title": [
|
|
111
|
+
{
|
|
112
|
+
"type": 0,
|
|
113
|
+
"value": "Rreth "
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": 1,
|
|
117
|
+
"value": "companyName"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"categories.title": [
|
|
121
|
+
{
|
|
122
|
+
"type": 0,
|
|
123
|
+
"value": "Kategoritë"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"contacts.title": [
|
|
127
|
+
{
|
|
128
|
+
"type": 0,
|
|
129
|
+
"value": "Na kontaktoni"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"cookieConsent.accept": [
|
|
133
|
+
{
|
|
134
|
+
"type": 0,
|
|
135
|
+
"value": "Po, mund të përdorni cookie"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"cookieConsent.acceptAll": [
|
|
139
|
+
{
|
|
140
|
+
"type": 0,
|
|
141
|
+
"value": "Prano të gjitha"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"cookieConsent.acceptSelection": [
|
|
145
|
+
{
|
|
146
|
+
"type": 0,
|
|
147
|
+
"value": "Prano zgjedhjen aktuale"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"cookieConsent.categoryFirstParty": [
|
|
151
|
+
{
|
|
152
|
+
"type": 0,
|
|
153
|
+
"value": "Analitika e palës së parë"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"cookieConsent.categoryFirstPartyDescription": [
|
|
157
|
+
{
|
|
158
|
+
"type": 0,
|
|
159
|
+
"value": "Cookie që përdoren për të mbledhur informacion rreth mënyrës se si vizitorët përdorin faqen tonë, direkt nga ne."
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"cookieConsent.categoryNecessary": [
|
|
163
|
+
{
|
|
164
|
+
"type": 0,
|
|
165
|
+
"value": "Cookie strikt të nevojshme"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"cookieConsent.categoryNecessaryDescription": [
|
|
169
|
+
{
|
|
170
|
+
"type": 0,
|
|
171
|
+
"value": "Këto cookie janë thelbsore për funksionimin e duhur të faqes së internetit dhe nuk mund të çaktivizohen."
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"cookieConsent.categoryThirdParty": [
|
|
175
|
+
{
|
|
176
|
+
"type": 0,
|
|
177
|
+
"value": "Cookie të palës së tretë"
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"cookieConsent.categoryThirdPartyDescription": [
|
|
181
|
+
{
|
|
182
|
+
"type": 0,
|
|
183
|
+
"value": "Cookie të vendosura nga shërbime të palës së tretë, si ato që përdoren për reklama, media sociale dhe gjurmimin e faqes."
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"cookieConsent.cookiePolicy": [
|
|
187
|
+
{
|
|
188
|
+
"type": 0,
|
|
189
|
+
"value": "Politika e cookie-ve"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"cookieConsent.managePreferences": [
|
|
193
|
+
{
|
|
194
|
+
"type": 0,
|
|
195
|
+
"value": "Menaxho preferencat"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"cookieConsent.managePreferencesTitle": [
|
|
199
|
+
{
|
|
200
|
+
"type": 0,
|
|
201
|
+
"value": "Menaxho preferencat e cookie-ve"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"cookieConsent.notice": [
|
|
205
|
+
{
|
|
206
|
+
"type": 0,
|
|
207
|
+
"value": "Mund të revokoni cookie-t në çdo kohë në fund të faqes."
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"cookieConsent.privacyPolicy": [
|
|
211
|
+
{
|
|
212
|
+
"type": 0,
|
|
213
|
+
"value": "Politika e Privatësisë"
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"cookieConsent.reject": [
|
|
217
|
+
{
|
|
218
|
+
"type": 0,
|
|
219
|
+
"value": "Jo, mos përdor cookie"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"cookieConsent.rejectAll": [
|
|
223
|
+
{
|
|
224
|
+
"type": 0,
|
|
225
|
+
"value": "Refuzo të gjitha"
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"cookieConsent.subtitle": [
|
|
229
|
+
{
|
|
230
|
+
"type": 0,
|
|
231
|
+
"value": "Ne përdorim cookie në faqen tonë. Ato na ndihmojnë të mësojmë pak më shumë për ju dhe si e përdorni faqen tonë. Kjo na ndihmon të ofrojmë një përvoje më të vlefshme për ju dhe të tjerët."
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"cookieConsent.title": [
|
|
235
|
+
{
|
|
236
|
+
"type": 0,
|
|
237
|
+
"value": "Dëshirojmë të përdorim cookie"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"errors.emailInvalid": [
|
|
241
|
+
{
|
|
242
|
+
"type": 0,
|
|
243
|
+
"value": "Vendosni një adresë emaili të vlefshme"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"errors.fieldRequired": [
|
|
247
|
+
{
|
|
248
|
+
"type": 0,
|
|
249
|
+
"value": "Kjo fushë është e detyrueshme"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"errors.unknown": [
|
|
253
|
+
{
|
|
254
|
+
"type": 0,
|
|
255
|
+
"value": "Diçka shkoi keq. Ju lutem provoni të dërgoni formularën përsëri"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"homepage.allStories": [
|
|
259
|
+
{
|
|
260
|
+
"type": 0,
|
|
261
|
+
"value": "Të gjitha historitë"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"homepage.latestStories": [
|
|
265
|
+
{
|
|
266
|
+
"type": 0,
|
|
267
|
+
"value": "Historitë e fundit"
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"mediaGallery.imagesCount": [
|
|
271
|
+
{
|
|
272
|
+
"offset": 0,
|
|
273
|
+
"options": {
|
|
274
|
+
"=0": {
|
|
275
|
+
"value": [
|
|
276
|
+
{
|
|
277
|
+
"type": 0,
|
|
278
|
+
"value": "Asnjë imazh"
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
"one": {
|
|
283
|
+
"value": [
|
|
284
|
+
{
|
|
285
|
+
"type": 7
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": 0,
|
|
289
|
+
"value": " imazh"
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
},
|
|
293
|
+
"other": {
|
|
294
|
+
"value": [
|
|
295
|
+
{
|
|
296
|
+
"type": 7
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"type": 0,
|
|
300
|
+
"value": " imazhe"
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"pluralType": "cardinal",
|
|
306
|
+
"type": 6,
|
|
307
|
+
"value": "imagesCount"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"mediaGallery.title": [
|
|
311
|
+
{
|
|
312
|
+
"type": 0,
|
|
313
|
+
"value": "Galeri mediash"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"mediaGallery.titleSingular": [
|
|
317
|
+
{
|
|
318
|
+
"type": 0,
|
|
319
|
+
"value": "Galeri mediash"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"mediaGallery.videosCount": [
|
|
323
|
+
{
|
|
324
|
+
"offset": 0,
|
|
325
|
+
"options": {
|
|
326
|
+
"=0": {
|
|
327
|
+
"value": [
|
|
328
|
+
{
|
|
329
|
+
"type": 0,
|
|
330
|
+
"value": "Asnjë video"
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
"one": {
|
|
335
|
+
"value": [
|
|
336
|
+
{
|
|
337
|
+
"type": 7
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": 0,
|
|
341
|
+
"value": " video"
|
|
342
|
+
}
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"other": {
|
|
346
|
+
"value": [
|
|
347
|
+
{
|
|
348
|
+
"type": 7
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"type": 0,
|
|
352
|
+
"value": " video"
|
|
353
|
+
}
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"pluralType": "cardinal",
|
|
358
|
+
"type": 6,
|
|
359
|
+
"value": "videosCount"
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"misc.embargoMessage": [
|
|
363
|
+
{
|
|
364
|
+
"type": 0,
|
|
365
|
+
"value": "Embargo deri më "
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"type": 1,
|
|
369
|
+
"value": "date"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"misc.loading": [
|
|
373
|
+
{
|
|
374
|
+
"type": 0,
|
|
375
|
+
"value": "Duke ngarkuar..."
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"misc.shareUrlCopied": [
|
|
379
|
+
{
|
|
380
|
+
"type": 0,
|
|
381
|
+
"value": "URL u kopjua!"
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"misc.toggleMobileNavigation": [
|
|
385
|
+
{
|
|
386
|
+
"type": 0,
|
|
387
|
+
"value": "Ndrysho navigimin"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"newsroom.title": [
|
|
391
|
+
{
|
|
392
|
+
"type": 0,
|
|
393
|
+
"value": "Faqja"
|
|
394
|
+
}
|
|
395
|
+
],
|
|
396
|
+
"noStories.subtitle": [
|
|
397
|
+
{
|
|
398
|
+
"type": 0,
|
|
399
|
+
"value": "Kthehuni më vonë për të parë histori të reja."
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"noStories.title": [
|
|
403
|
+
{
|
|
404
|
+
"type": 0,
|
|
405
|
+
"value": "Mirë se vini në "
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": 1,
|
|
409
|
+
"value": "newsroom"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"type": 0,
|
|
413
|
+
"value": "!"
|
|
414
|
+
}
|
|
415
|
+
],
|
|
416
|
+
"notFound.subtitle": [
|
|
417
|
+
{
|
|
418
|
+
"type": 0,
|
|
419
|
+
"value": "Nëse e keni shkruar vetë URL-në, kontrolloni drejtshkrimin në shiritin e adresës."
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"notFound.title": [
|
|
423
|
+
{
|
|
424
|
+
"type": 0,
|
|
425
|
+
"value": "Faqja që po kërkoni nuk ekziston..."
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"search.action": [
|
|
429
|
+
{
|
|
430
|
+
"type": 0,
|
|
431
|
+
"value": "Kërko"
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"search.facets.category": [
|
|
435
|
+
{
|
|
436
|
+
"type": 0,
|
|
437
|
+
"value": "Kategoria"
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"search.facets.month": [
|
|
441
|
+
{
|
|
442
|
+
"type": 0,
|
|
443
|
+
"value": "Muaji"
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"search.facets.year": [
|
|
447
|
+
{
|
|
448
|
+
"type": 0,
|
|
449
|
+
"value": "Viti"
|
|
450
|
+
}
|
|
451
|
+
],
|
|
452
|
+
"search.filters": [
|
|
453
|
+
{
|
|
454
|
+
"type": 0,
|
|
455
|
+
"value": "Filtrat"
|
|
456
|
+
}
|
|
457
|
+
],
|
|
458
|
+
"search.fullResultsSubTitle": [
|
|
459
|
+
{
|
|
460
|
+
"type": 0,
|
|
461
|
+
"value": "Gjetëm "
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"type": 1,
|
|
465
|
+
"value": "resultsCount"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"type": 0,
|
|
469
|
+
"value": " rezultate për "
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"type": 1,
|
|
473
|
+
"value": "searchQuery"
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"search.fullResultsTitle": [
|
|
477
|
+
{
|
|
478
|
+
"type": 0,
|
|
479
|
+
"value": "Rezultatet e kërkimit"
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"search.inputHint": [
|
|
483
|
+
{
|
|
484
|
+
"type": 0,
|
|
485
|
+
"value": "Shkruani kërkimin tuaj"
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"search.inputLabel": [
|
|
489
|
+
{
|
|
490
|
+
"type": 0,
|
|
491
|
+
"value": "Kërko"
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"search.noResults": [
|
|
495
|
+
{
|
|
496
|
+
"type": 0,
|
|
497
|
+
"value": "Asgjë nuk u gjet! Ju lutem provoni një term tjetër kërkimi!"
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"search.resultsTitle": [
|
|
501
|
+
{
|
|
502
|
+
"type": 0,
|
|
503
|
+
"value": "Rezultate të shpejta"
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"search.showAllResults": [
|
|
507
|
+
{
|
|
508
|
+
"type": 0,
|
|
509
|
+
"value": "Shfaq të gjitha rezultatet"
|
|
510
|
+
}
|
|
511
|
+
],
|
|
512
|
+
"search.title": [
|
|
513
|
+
{
|
|
514
|
+
"type": 0,
|
|
515
|
+
"value": "Kërkimi"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"search.viewLess": [
|
|
519
|
+
{
|
|
520
|
+
"type": 0,
|
|
521
|
+
"value": "Shiko më pak"
|
|
522
|
+
}
|
|
523
|
+
],
|
|
524
|
+
"search.viewMore": [
|
|
525
|
+
{
|
|
526
|
+
"type": 0,
|
|
527
|
+
"value": "Shiko më shumë"
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"serverError.subtitle": [
|
|
531
|
+
{
|
|
532
|
+
"type": 0,
|
|
533
|
+
"value": "Provoni të rifreskoni faqen ose kthehuni pak më vonë."
|
|
534
|
+
}
|
|
535
|
+
],
|
|
536
|
+
"serverError.title": [
|
|
537
|
+
{
|
|
538
|
+
"type": 0,
|
|
539
|
+
"value": "Diçka shkoi keq..."
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"subscription.disclaimer": [
|
|
543
|
+
{
|
|
544
|
+
"type": 0,
|
|
545
|
+
"value": "Duke klikuar \""
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"type": 1,
|
|
549
|
+
"value": "subscribe"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"type": 0,
|
|
553
|
+
"value": "\" konfirmoj që kam lexuar dhe pranoj "
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"type": 1,
|
|
557
|
+
"value": "privacyPolicyLink"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"type": 0,
|
|
561
|
+
"value": "."
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
"subscription.formTitle": [
|
|
565
|
+
{
|
|
566
|
+
"type": 0,
|
|
567
|
+
"value": "Merrni përditësime në emailin tuaj"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"subscription.labelEmail": [
|
|
571
|
+
{
|
|
572
|
+
"type": 0,
|
|
573
|
+
"value": "Adresa juaj e emailit"
|
|
574
|
+
}
|
|
575
|
+
],
|
|
576
|
+
"subscription.privacyPolicy": [
|
|
577
|
+
{
|
|
578
|
+
"type": 0,
|
|
579
|
+
"value": "Politika e Privatësisë"
|
|
580
|
+
}
|
|
581
|
+
]
|
|
582
|
+
}
|
|
@@ -71,11 +71,8 @@ describe('Locale', () => {
|
|
|
71
71
|
expect(_Locale.Locale.from('EN_US').region).toBe('US');
|
|
72
72
|
});
|
|
73
73
|
it('should check if two locales are equal', () => {
|
|
74
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
75
74
|
var en_US = _Locale.Locale.from('en-US');
|
|
76
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
77
75
|
var en_US2 = _Locale.Locale.from('en-US');
|
|
78
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
79
76
|
var de_DE = _Locale.Locale.from('de-DE');
|
|
80
77
|
expect(_Locale.Locale.isEqual(en_US, en_US2)).toBe(true);
|
|
81
78
|
expect(_Locale.Locale.isEqual(en_US2, en_US)).toBe(true);
|
|
@@ -69,11 +69,8 @@ describe('Locale', () => {
|
|
|
69
69
|
expect(Locale.from('EN_US').region).toBe('US');
|
|
70
70
|
});
|
|
71
71
|
it('should check if two locales are equal', () => {
|
|
72
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
73
72
|
var en_US = Locale.from('en-US');
|
|
74
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
75
73
|
var en_US2 = Locale.from('en-US');
|
|
76
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
77
74
|
var de_DE = Locale.from('de-DE');
|
|
78
75
|
expect(Locale.isEqual(en_US, en_US2)).toBe(true);
|
|
79
76
|
expect(Locale.isEqual(en_US2, en_US)).toBe(true);
|
|
@@ -7,6 +7,18 @@ exports.pickSupportedLocale = pickSupportedLocale;
|
|
|
7
7
|
var _constants = require("./constants.cjs");
|
|
8
8
|
var _isLocaleSupported = require("./isLocaleSupported.cjs");
|
|
9
9
|
var _Locale = require("./Locale.cjs");
|
|
10
|
+
var COUNTRY_TO_LOCALE = {
|
|
11
|
+
ad: 'ca',
|
|
12
|
+
// Andorra -> Catalan
|
|
13
|
+
mc: 'fr',
|
|
14
|
+
// Monaco -> French
|
|
15
|
+
li: 'de',
|
|
16
|
+
// Liechtenstein -> German
|
|
17
|
+
cy: 'el',
|
|
18
|
+
// Cyprus -> Greek
|
|
19
|
+
sm: 'it' // San Marino -> Italian
|
|
20
|
+
};
|
|
21
|
+
|
|
10
22
|
/**
|
|
11
23
|
* Use this function to determine which translations file you should load from `@prezly/theme-kit-intl` package.
|
|
12
24
|
* See https://github.com/prezly/theme-nextjs-bea/blob/main/utils/lang.ts for a usage example.
|
|
@@ -30,6 +42,12 @@ function pickSupportedLocale(locale) {
|
|
|
30
42
|
if (_Locale.Locale.isEqual(locale, 'zh_HK')) {
|
|
31
43
|
return 'zh-CN';
|
|
32
44
|
}
|
|
45
|
+
|
|
46
|
+
// Custom mapping for country-only locale slugs
|
|
47
|
+
var countryCode = isoCode.toLowerCase();
|
|
48
|
+
if (countryCode in COUNTRY_TO_LOCALE) {
|
|
49
|
+
return COUNTRY_TO_LOCALE[countryCode];
|
|
50
|
+
}
|
|
33
51
|
console.warn("Unsupported locale provided: \"".concat(typeof locale === 'string' ? locale : isoCode, "\"."));
|
|
34
52
|
return _constants.DEFAULT_LOCALE;
|
|
35
53
|
}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { DEFAULT_LOCALE } from "./constants.mjs";
|
|
2
2
|
import { isLocaleSupported } from "./isLocaleSupported.mjs";
|
|
3
3
|
import { Locale } from "./Locale.mjs";
|
|
4
|
+
var COUNTRY_TO_LOCALE = {
|
|
5
|
+
ad: 'ca',
|
|
6
|
+
// Andorra -> Catalan
|
|
7
|
+
mc: 'fr',
|
|
8
|
+
// Monaco -> French
|
|
9
|
+
li: 'de',
|
|
10
|
+
// Liechtenstein -> German
|
|
11
|
+
cy: 'el',
|
|
12
|
+
// Cyprus -> Greek
|
|
13
|
+
sm: 'it' // San Marino -> Italian
|
|
14
|
+
};
|
|
15
|
+
|
|
4
16
|
/**
|
|
5
17
|
* Use this function to determine which translations file you should load from `@prezly/theme-kit-intl` package.
|
|
6
18
|
* See https://github.com/prezly/theme-nextjs-bea/blob/main/utils/lang.ts for a usage example.
|
|
@@ -24,6 +36,12 @@ export function pickSupportedLocale(locale) {
|
|
|
24
36
|
if (Locale.isEqual(locale, 'zh_HK')) {
|
|
25
37
|
return 'zh-CN';
|
|
26
38
|
}
|
|
39
|
+
|
|
40
|
+
// Custom mapping for country-only locale slugs
|
|
41
|
+
var countryCode = isoCode.toLowerCase();
|
|
42
|
+
if (countryCode in COUNTRY_TO_LOCALE) {
|
|
43
|
+
return COUNTRY_TO_LOCALE[countryCode];
|
|
44
|
+
}
|
|
27
45
|
console.warn("Unsupported locale provided: \"".concat(typeof locale === 'string' ? locale : isoCode, "\"."));
|
|
28
46
|
return DEFAULT_LOCALE;
|
|
29
47
|
}
|
|
@@ -9,4 +9,4 @@ exports.supportedLocales = void 0;
|
|
|
9
9
|
* Please do not modify it directly (including formatting).
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var supportedLocales = exports.supportedLocales = ['af', 'ar', 'az', 'be', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'fi', 'fil', 'fr', 'ga', 'he', 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kk', 'ko', 'lt', 'lv', 'mt', 'nb', 'nl', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'sw', 'th', 'tr', 'uk', 'ur', 'uz', 'vi', 'zh-CN', 'zh-TW'];
|
|
12
|
+
var supportedLocales = exports.supportedLocales = ['af', 'ar', 'az', 'be', 'bg', 'bs', 'ca', 'cnr', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'fi', 'fil', 'fr', 'ga', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'kk', 'ko', 'lb', 'lt', 'lv', 'mk', 'mt', 'nb', 'nl', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'sk', 'sl', 'sq', 'sr', 'sv', 'sw', 'th', 'tr', 'uk', 'ur', 'uz', 'vi', 'zh-CN', 'zh-TW'];
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Please do not modify it directly (including formatting).
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export var supportedLocales = ['af', 'ar', 'az', 'be', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'fi', 'fil', 'fr', 'ga', 'he', 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kk', 'ko', 'lt', 'lv', 'mt', 'nb', 'nl', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'sw', 'th', 'tr', 'uk', 'ur', 'uz', 'vi', 'zh-CN', 'zh-TW'];
|
|
6
|
+
export var supportedLocales = ['af', 'ar', 'az', 'be', 'bg', 'bs', 'ca', 'cnr', 'cs', 'da', 'de', 'el', 'en', 'es', 'et', 'fi', 'fil', 'fr', 'ga', 'he', 'hi', 'hr', 'hu', 'id', 'is', 'it', 'ja', 'kk', 'ko', 'lb', 'lt', 'lv', 'mk', 'mt', 'nb', 'nl', 'pl', 'pt', 'pt-BR', 'ro', 'ru', 'sk', 'sl', 'sq', 'sr', 'sv', 'sw', 'th', 'tr', 'uk', 'ur', 'uz', 'vi', 'zh-CN', 'zh-TW'];
|