@nanahoshi/mona-ui 0.23.1 → 0.23.3

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 (23) hide show
  1. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +7 -4
  2. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +5 -2
  3. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +6 -3
  4. package/fesm2022/nanahoshi-mona-ui-editor.mjs +5 -2
  5. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-CIMXz60d.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-BSVlcB9_.mjs} +2 -2
  6. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-CpeheGXU.mjs → nanahoshi-mona-ui-grid-grid-list.component-B2pBOuLa.mjs} +4 -4
  7. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-B_5ay_Nz.mjs → nanahoshi-mona-ui-grid-grid-row.component-Buf4evf5.mjs} +2 -2
  8. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-BzKywU5b.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-1RdqLEa9.mjs} +4 -4
  9. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-IewqeT4m.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-DeRc_QcP.mjs} +15 -12
  10. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  11. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +211 -102
  12. package/fesm2022/nanahoshi-mona-ui-locales.mjs +352 -279
  13. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +5 -2
  14. package/fesm2022/nanahoshi-mona-ui-notification.mjs +17 -2
  15. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +27 -1
  16. package/fesm2022/nanahoshi-mona-ui-pager.mjs +10 -7
  17. package/fesm2022/nanahoshi-mona-ui-popup.mjs +15 -1
  18. package/fesm2022/nanahoshi-mona-ui-rating.mjs +5 -2
  19. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +6 -3
  20. package/package.json +1 -1
  21. package/types/nanahoshi-mona-ui-i18n.d.ts +52 -8
  22. package/types/nanahoshi-mona-ui-notification.d.ts +1 -0
  23. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +5 -0
@@ -1,25 +1,26 @@
1
- const AR_SA_INTEGER_FORMATTER = new Intl.NumberFormat("ar-SA", {
2
- maximumFractionDigits: 0,
3
- useGrouping: false
4
- });
5
- function formatInteger(value) {
6
- return AR_SA_INTEGER_FORMATTER.format(value);
1
+ import { formatNumber } from '@nanahoshi/mona-ui/i18n';
2
+
3
+ function localizeNumber$c(value) {
4
+ return formatNumber(value, "ar-SA");
5
+ }
6
+ function localizeYear$c(year) {
7
+ return formatNumber(year, "ar-SA", { useGrouping: false });
7
8
  }
8
9
  const AR_SA_PLURAL_RULES = new Intl.PluralRules("ar-SA");
9
10
  function formatPageCount$1(pages) {
10
11
  const category = AR_SA_PLURAL_RULES.select(pages);
11
12
  switch (category) {
12
13
  case "zero":
13
- return `${formatInteger(pages)} صفحات`;
14
+ return `${localizeNumber$c(pages)} صفحات`;
14
15
  case "one":
15
16
  return "صفحة واحدة";
16
17
  case "two":
17
18
  return "صفحتان";
18
19
  case "few":
19
- return `${formatInteger(pages)} صفحات`;
20
+ return `${localizeNumber$c(pages)} صفحات`;
20
21
  case "many":
21
22
  case "other":
22
- return `${formatInteger(pages)} صفحة`;
23
+ return `${localizeNumber$c(pages)} صفحة`;
23
24
  }
24
25
  }
25
26
  const AR_SA_MESSAGES = {
@@ -34,8 +35,8 @@ const AR_SA_MESSAGES = {
34
35
  },
35
36
  calendar: {
36
37
  calendarLabel: (formattedMonthAndYear) => `تقويم ${formattedMonthAndYear}`,
37
- decadeRange: (start, end) => `من ${formatInteger(start)} إلى ${formatInteger(end)}`,
38
- decadeViewLabel: (start, end) => `عرض العقد، من ${formatInteger(start)} إلى ${formatInteger(end)}`,
38
+ decadeRange: (start, end) => `من ${localizeYear$c(start)} إلى ${localizeYear$c(end)}`,
39
+ decadeViewLabel: (start, end) => `عرض العقد، من ${localizeYear$c(start)} إلى ${localizeYear$c(end)}`,
39
40
  goToToday: (formattedDate) => `الانتقال إلى اليوم (${formattedDate})`,
40
41
  nextDecade: "العقد التالي",
41
42
  nextMonth: "الشهر التالي",
@@ -46,7 +47,7 @@ const AR_SA_MESSAGES = {
46
47
  switchToDecadeView: (currentYear) => `التبديل إلى عرض العقد. السنة الحالية ${currentYear}`,
47
48
  switchToYearView: (currentMonthAndYear) => `التبديل إلى عرض السنة. الحالي ${currentMonthAndYear}`,
48
49
  today: "اليوم",
49
- yearCellLabel: (year) => `السنة ${formatInteger(year)}`,
50
+ yearCellLabel: (year) => `السنة ${localizeYear$c(year)}`,
50
51
  yearViewLabel: (year) => `عرض السنة، ${year}`
51
52
  },
52
53
  card: {
@@ -94,7 +95,7 @@ const AR_SA_MESSAGES = {
94
95
  currentColor: "اللون الحالي",
95
96
  previousColor: "اللون السابق",
96
97
  saturationAndValue: "التشبع والقيمة",
97
- saturationAndValueText: (saturation, value) => `التشبع ${formatInteger(saturation)}٪، القيمة ${formatInteger(value)}٪`,
98
+ saturationAndValueText: (saturation, value) => `التشبع ${localizeNumber$c(saturation)}٪، القيمة ${localizeNumber$c(value)}٪`,
98
99
  switchColorMode: "تبديل وضع اللون"
99
100
  },
100
101
  colorPalette: {
@@ -133,9 +134,9 @@ const AR_SA_MESSAGES = {
133
134
  clear: "مسح"
134
135
  },
135
136
  dropdowns: {
136
- itemPosition: (text, position, total) => `${text}، العنصر ${formatInteger(position)} من ${formatInteger(total)}`,
137
+ itemPosition: (text, position, total) => `${text}، العنصر ${localizeNumber$c(position)} من ${localizeNumber$c(total)}`,
137
138
  noResultsFound: "لم يتم العثور على نتائج",
138
- resultsAvailable: (count) => `عدد النتائج المتاحة: ${formatInteger(count)}`
139
+ resultsAvailable: (count) => `عدد النتائج المتاحة: ${localizeNumber$c(count)}`
139
140
  },
140
141
  editor: {
141
142
  addColumnAfter: "إدراج عمود بعد",
@@ -158,7 +159,7 @@ const AR_SA_MESSAGES = {
158
159
  enterUrl: "إدخال عنوان URL",
159
160
  fontSize: "حجم الخط",
160
161
  format: "تنسيق",
161
- heading: (level) => `العنوان ${formatInteger(level)}`,
162
+ heading: (level) => `العنوان ${localizeNumber$c(level)}`,
162
163
  heightPx: "الارتفاع (px)",
163
164
  imageUrl: "عنوان URL للصورة",
164
165
  indent: "زيادة المسافة البادئة",
@@ -222,7 +223,7 @@ const AR_SA_MESSAGES = {
222
223
  cancel: "إلغاء",
223
224
  cancelRowEdit: "إلغاء تحرير الصف",
224
225
  columns: "الأعمدة",
225
- columnsSelected: (count) => `عدد الأعمدة المحددة: ${formatInteger(count)}`,
226
+ columnsSelected: (count) => `عدد الأعمدة المحددة: ${localizeNumber$c(count)}`,
226
227
  delete: "حذف",
227
228
  deleteRowConfirmation: "هل تريد حذف هذا العنصر؟",
228
229
  deleteRowTitle: "حذف الصف؟",
@@ -239,7 +240,7 @@ const AR_SA_MESSAGES = {
239
240
  noData: "لا توجد بيانات",
240
241
  remove: "إزالة",
241
242
  removeRow: "إزالة الصف",
242
- reorderRow: (rowNumber) => `إعادة ترتيب الصف ${formatInteger(rowNumber)}`,
243
+ reorderRow: (rowNumber) => `إعادة ترتيب الصف ${localizeNumber$c(rowNumber)}`,
243
244
  resizeColumn: "تغيير عرض العمود",
244
245
  rowReorder: "إعادة ترتيب الصفوف",
245
246
  rowReorderDisabled: "إعادة ترتيب الصفوف غير متاح.",
@@ -252,12 +253,12 @@ const AR_SA_MESSAGES = {
252
253
  rowReorderDisabledVirtualScroll: "لا يمكن إعادة ترتيب الصفوف أثناء استخدام التمرير الافتراضي.",
253
254
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
254
255
  rowReorderKeyboardHint: "استخدم Alt + سهم لأعلى أو Alt + سهم لأسفل للتحريك.",
255
- rowReorderMoved: (fromRowNumber, toPosition) => `تم نقل الصف ${formatInteger(fromRowNumber)} إلى الموضع ${formatInteger(toPosition)}.`,
256
+ rowReorderMoved: (fromRowNumber, toPosition) => `تم نقل الصف ${localizeNumber$c(fromRowNumber)} إلى الموضع ${localizeNumber$c(toPosition)}.`,
256
257
  rowValidationError: "توجد أخطاء تحقق في هذا الصف.",
257
258
  save: "حفظ",
258
259
  saveRow: "حفظ الصف",
259
260
  selectAllRows: "تحديد كل الصفوف",
260
- selectRow: (rowNumber) => `تحديد الصف ${formatInteger(rowNumber)}`
261
+ selectRow: (rowNumber) => `تحديد الصف ${localizeNumber$c(rowNumber)}`
261
262
  },
262
263
  list: {
263
264
  filterList: "تصفية القائمة",
@@ -275,7 +276,7 @@ const AR_SA_MESSAGES = {
275
276
  },
276
277
  multiSelect: {
277
278
  clear: "مسح",
278
- itemsCount: (count) => `+ ${formatInteger(count)}`
279
+ itemsCount: (count) => `+ ${localizeNumber$c(count)}`
279
280
  },
280
281
  notification: {
281
282
  close: "إغلاق",
@@ -298,22 +299,22 @@ const AR_SA_MESSAGES = {
298
299
  lastPageLabel: "الصفحة الأخيرة",
299
300
  nextPageLabel: "الصفحة التالية",
300
301
  ofText: "من",
301
- pageLabel: (page) => `الصفحة ${formatInteger(page)}`,
302
- pageSizeLabel: (pageSize) => `عدد العناصر في الصفحة: ${formatInteger(pageSize)}`,
303
- pageStatus: (page, totalPages) => `الصفحة ${formatInteger(page)} من ${formatInteger(totalPages)}`,
302
+ pageLabel: (page) => `الصفحة ${localizeNumber$c(page)}`,
303
+ pageSizeLabel: (pageSize) => `عدد العناصر في الصفحة: ${localizeNumber$c(pageSize)}`,
304
+ pageStatus: (page, totalPages) => `الصفحة ${localizeNumber$c(page)} من ${localizeNumber$c(totalPages)}`,
304
305
  pageText: "الصفحة",
305
306
  previousPageLabel: "الصفحة السابقة",
306
- rangeStatus: (start, end, total) => `${formatInteger(start)}–${formatInteger(end)} من ${formatInteger(total)}`
307
+ rangeStatus: (start, end, total) => `${localizeNumber$c(start)}–${localizeNumber$c(end)} من ${localizeNumber$c(total)}`
307
308
  },
308
309
  rating: {
309
310
  notRated: "غير مقيّم",
310
- valueText: (value, max) => `${formatInteger(value)} من ${formatInteger(max)}`
311
+ valueText: (value, max) => `${localizeNumber$c(value)} من ${localizeNumber$c(max)}`
311
312
  },
312
313
  scrollView: {
313
314
  carousel: "دوّار",
314
315
  nextPage: "الصفحة التالية",
315
- page: (current) => `الصفحة ${formatInteger(current)}`,
316
- pageOf: (current, total) => `الصفحة ${formatInteger(current)} من ${formatInteger(total)}`,
316
+ page: (current) => `الصفحة ${localizeNumber$c(current)}`,
317
+ pageOf: (current, total) => `الصفحة ${localizeNumber$c(current)} من ${localizeNumber$c(total)}`,
317
318
  previousPage: "الصفحة السابقة",
318
319
  scrollPagerNext: "تمرير مؤشر الصفحات إلى التالي",
319
320
  scrollPagerPrevious: "تمرير مؤشر الصفحات إلى السابق",
@@ -402,6 +403,12 @@ const MONA_AR_SA_LOCALE = {
402
403
  messages: AR_SA_MESSAGES
403
404
  };
404
405
 
406
+ function localizeNumber$b(value) {
407
+ return formatNumber(value, "es-ES");
408
+ }
409
+ function localizeYear$b(year) {
410
+ return formatNumber(year, "es-ES", { useGrouping: false });
411
+ }
405
412
  const ES_ES_MESSAGES = {
406
413
  autoComplete: {
407
414
  clear: "Limpiar"
@@ -414,8 +421,8 @@ const ES_ES_MESSAGES = {
414
421
  },
415
422
  calendar: {
416
423
  calendarLabel: (formattedMonthAndYear) => `Calendario, ${formattedMonthAndYear}`,
417
- decadeRange: (start, end) => `${start} a ${end}`,
418
- decadeViewLabel: (start, end) => `Vista de década, ${start} - ${end}`,
424
+ decadeRange: (start, end) => `${localizeYear$b(start)} a ${localizeYear$b(end)}`,
425
+ decadeViewLabel: (start, end) => `Vista de década, ${localizeYear$b(start)} - ${localizeYear$b(end)}`,
419
426
  goToToday: (formattedDate) => `Ir a hoy, ${formattedDate}`,
420
427
  nextDecade: "Década siguiente",
421
428
  nextMonth: "Mes siguiente",
@@ -426,7 +433,7 @@ const ES_ES_MESSAGES = {
426
433
  switchToDecadeView: (currentYear) => `Cambiar a vista de década, actualmente ${currentYear}`,
427
434
  switchToYearView: (currentMonthAndYear) => `Cambiar a vista anual, actualmente ${currentMonthAndYear}`,
428
435
  today: "Hoy",
429
- yearCellLabel: (year) => `Año ${year}`,
436
+ yearCellLabel: (year) => `Año ${localizeYear$b(year)}`,
430
437
  yearViewLabel: (year) => `Vista anual, ${year}`
431
438
  },
432
439
  card: {
@@ -474,7 +481,7 @@ const ES_ES_MESSAGES = {
474
481
  currentColor: "Color actual",
475
482
  previousColor: "Color anterior",
476
483
  saturationAndValue: "Saturación y valor del color",
477
- saturationAndValueText: (saturation, value) => `Saturación ${saturation}%, valor ${value}%`,
484
+ saturationAndValueText: (saturation, value) => `Saturación ${localizeNumber$b(saturation)}%, valor ${localizeNumber$b(value)}%`,
478
485
  switchColorMode: "Cambiar modo de color"
479
486
  },
480
487
  colorPalette: {
@@ -513,9 +520,9 @@ const ES_ES_MESSAGES = {
513
520
  clear: "Limpiar"
514
521
  },
515
522
  dropdowns: {
516
- itemPosition: (text, position, total) => `${text}, ${position} de ${total}`,
523
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber$b(position)} de ${localizeNumber$b(total)}`,
517
524
  noResultsFound: "No se han encontrado resultados",
518
- resultsAvailable: (count) => count === 1 ? "1 resultado disponible" : `${count} resultados disponibles`
525
+ resultsAvailable: (count) => count === 1 ? "1 resultado disponible" : `${localizeNumber$b(count)} resultados disponibles`
519
526
  },
520
527
  editor: {
521
528
  addColumnAfter: "Añadir columna después",
@@ -538,7 +545,7 @@ const ES_ES_MESSAGES = {
538
545
  enterUrl: "Introducir la URL",
539
546
  fontSize: "Tamaño de fuente",
540
547
  format: "Formato",
541
- heading: (level) => `Encabezado ${level}`,
548
+ heading: (level) => `Encabezado ${localizeNumber$b(level)}`,
542
549
  heightPx: "Altura (px)",
543
550
  imageUrl: "URL de la imagen",
544
551
  indent: "Aumentar sangría",
@@ -602,7 +609,7 @@ const ES_ES_MESSAGES = {
602
609
  cancel: "Cancelar",
603
610
  cancelRowEdit: "Cancelar edición de fila",
604
611
  columns: "Columnas",
605
- columnsSelected: (count) => count === 1 ? "1 columna seleccionada" : `${count} columnas seleccionadas`,
612
+ columnsSelected: (count) => count === 1 ? "1 columna seleccionada" : `${localizeNumber$b(count)} columnas seleccionadas`,
606
613
  delete: "Eliminar",
607
614
  deleteRowConfirmation: "¿Seguro que deseas eliminar esta fila?",
608
615
  deleteRowTitle: "¿Eliminar fila?",
@@ -619,7 +626,7 @@ const ES_ES_MESSAGES = {
619
626
  noData: "No hay datos",
620
627
  remove: "Quitar",
621
628
  removeRow: "Quitar fila",
622
- reorderRow: (rowNumber) => `Reordenar fila ${rowNumber}`,
629
+ reorderRow: (rowNumber) => `Reordenar fila ${localizeNumber$b(rowNumber)}`,
623
630
  resizeColumn: "Cambiar tamaño de columna",
624
631
  rowReorder: "Reordenar fila",
625
632
  rowReorderDisabled: "La reordenación de filas está desactivada.",
@@ -632,12 +639,12 @@ const ES_ES_MESSAGES = {
632
639
  rowReorderDisabledVirtualScroll: "La reordenación de filas no está disponible mientras el desplazamiento virtual está activado.",
633
640
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
634
641
  rowReorderKeyboardHint: "Usa Alt más Flecha arriba o Alt más Flecha abajo para mover.",
635
- rowReorderMoved: (fromRowNumber, toPosition) => `Fila ${fromRowNumber} movida a la posición ${toPosition}.`,
642
+ rowReorderMoved: (fromRowNumber, toPosition) => `Fila ${localizeNumber$b(fromRowNumber)} movida a la posición ${localizeNumber$b(toPosition)}.`,
636
643
  rowValidationError: "Esta fila contiene errores de validación.",
637
644
  save: "Guardar",
638
645
  saveRow: "Guardar fila",
639
646
  selectAllRows: "Seleccionar todas las filas",
640
- selectRow: (rowNumber) => `Seleccionar fila ${rowNumber}`
647
+ selectRow: (rowNumber) => `Seleccionar fila ${localizeNumber$b(rowNumber)}`
641
648
  },
642
649
  list: {
643
650
  filterList: "Filtrar lista",
@@ -655,7 +662,7 @@ const ES_ES_MESSAGES = {
655
662
  },
656
663
  multiSelect: {
657
664
  clear: "Limpiar",
658
- itemsCount: (count) => `+ ${count} ${count === 1 ? "elemento" : "elementos"}`
665
+ itemsCount: (count) => `+ ${localizeNumber$b(count)} ${count === 1 ? "elemento" : "elementos"}`
659
666
  },
660
667
  notification: {
661
668
  close: "Cerrar",
@@ -673,27 +680,27 @@ const ES_ES_MESSAGES = {
673
680
  },
674
681
  pager: {
675
682
  firstPageLabel: "Primera página",
676
- jumpBackwardLabel: (pages) => (pages === 1 ? "Retroceder 1 página" : `Retroceder ${pages} páginas`),
677
- jumpForwardLabel: (pages) => (pages === 1 ? "Avanzar 1 página" : `Avanzar ${pages} páginas`),
683
+ jumpBackwardLabel: (pages) => pages === 1 ? "Retroceder 1 página" : `Retroceder ${localizeNumber$b(pages)} páginas`,
684
+ jumpForwardLabel: (pages) => pages === 1 ? "Avanzar 1 página" : `Avanzar ${localizeNumber$b(pages)} páginas`,
678
685
  lastPageLabel: "Última página",
679
686
  nextPageLabel: "Página siguiente",
680
687
  ofText: "de",
681
- pageLabel: (page) => `Página ${page}`,
682
- pageSizeLabel: (pageSize) => `${pageSize} / página`,
683
- pageStatus: (page, totalPages) => `Página ${page} de ${totalPages}`,
688
+ pageLabel: (page) => `Página ${localizeNumber$b(page)}`,
689
+ pageSizeLabel: (pageSize) => `${localizeNumber$b(pageSize)} / página`,
690
+ pageStatus: (page, totalPages) => `Página ${localizeNumber$b(page)} de ${localizeNumber$b(totalPages)}`,
684
691
  pageText: "Página",
685
692
  previousPageLabel: "Página anterior",
686
- rangeStatus: (start, end, total) => `${start} - ${end} de ${total} ${total === 1 ? "elemento" : "elementos"}`
693
+ rangeStatus: (start, end, total) => `${localizeNumber$b(start)} - ${localizeNumber$b(end)} de ${localizeNumber$b(total)} ${total === 1 ? "elemento" : "elementos"}`
687
694
  },
688
695
  rating: {
689
696
  notRated: "Sin valoración",
690
- valueText: (value, max) => `${value} de ${max}`
697
+ valueText: (value, max) => `${localizeNumber$b(value)} de ${localizeNumber$b(max)}`
691
698
  },
692
699
  scrollView: {
693
700
  carousel: "carrusel",
694
701
  nextPage: "Página siguiente",
695
- page: (current) => `Página ${current}`,
696
- pageOf: (current, total) => `Página ${current} de ${total}`,
702
+ page: (current) => `Página ${localizeNumber$b(current)}`,
703
+ pageOf: (current, total) => `Página ${localizeNumber$b(current)} de ${localizeNumber$b(total)}`,
697
704
  previousPage: "Página anterior",
698
705
  scrollPagerNext: "Desplazar la paginación hacia delante",
699
706
  scrollPagerPrevious: "Desplazar la paginación hacia atrás",
@@ -782,6 +789,12 @@ const MONA_ES_ES_LOCALE = {
782
789
  messages: ES_ES_MESSAGES
783
790
  };
784
791
 
792
+ function localizeNumber$a(value) {
793
+ return formatNumber(value, "de-DE");
794
+ }
795
+ function localizeYear$a(year) {
796
+ return formatNumber(year, "de-DE", { useGrouping: false });
797
+ }
785
798
  const DE_DE_MESSAGES = {
786
799
  autoComplete: {
787
800
  clear: "Leeren"
@@ -794,8 +807,8 @@ const DE_DE_MESSAGES = {
794
807
  },
795
808
  calendar: {
796
809
  calendarLabel: (formattedMonthAndYear) => `Kalender, ${formattedMonthAndYear}`,
797
- decadeRange: (start, end) => `${start} bis ${end}`,
798
- decadeViewLabel: (start, end) => `Jahrzehntansicht, ${start}–${end}`,
810
+ decadeRange: (start, end) => `${localizeYear$a(start)} bis ${localizeYear$a(end)}`,
811
+ decadeViewLabel: (start, end) => `Jahrzehntansicht, ${localizeYear$a(start)}–${localizeYear$a(end)}`,
799
812
  goToToday: (formattedDate) => `Zum heutigen Datum wechseln, ${formattedDate}`,
800
813
  nextDecade: "Nächstes Jahrzehnt",
801
814
  nextMonth: "Nächster Monat",
@@ -806,7 +819,7 @@ const DE_DE_MESSAGES = {
806
819
  switchToDecadeView: (currentYear) => `Zur Jahrzehntansicht wechseln, aktuell ${currentYear}`,
807
820
  switchToYearView: (currentMonthAndYear) => `Zur Jahresansicht wechseln, aktuell ${currentMonthAndYear}`,
808
821
  today: "Heute",
809
- yearCellLabel: (year) => `Jahr ${year}`,
822
+ yearCellLabel: (year) => `Jahr ${localizeYear$a(year)}`,
810
823
  yearViewLabel: (year) => `Jahresansicht, ${year}`
811
824
  },
812
825
  card: {
@@ -854,7 +867,7 @@ const DE_DE_MESSAGES = {
854
867
  currentColor: "Aktuelle Farbe",
855
868
  previousColor: "Vorherige Farbe",
856
869
  saturationAndValue: "Sättigung und Helligkeit",
857
- saturationAndValueText: (saturation, value) => `Sättigung ${saturation} %, Helligkeit ${value} %`,
870
+ saturationAndValueText: (saturation, value) => `Sättigung ${localizeNumber$a(saturation)} %, Helligkeit ${localizeNumber$a(value)} %`,
858
871
  switchColorMode: "Farbmodus wechseln"
859
872
  },
860
873
  colorPalette: {
@@ -893,9 +906,9 @@ const DE_DE_MESSAGES = {
893
906
  clear: "Leeren"
894
907
  },
895
908
  dropdowns: {
896
- itemPosition: (text, position, total) => `${text}, ${position} von ${total}`,
909
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber$a(position)} von ${localizeNumber$a(total)}`,
897
910
  noResultsFound: "Keine Ergebnisse gefunden",
898
- resultsAvailable: (count) => (count === 1 ? "1 Ergebnis verfügbar" : `${count} Ergebnisse verfügbar`)
911
+ resultsAvailable: (count) => count === 1 ? "1 Ergebnis verfügbar" : `${localizeNumber$a(count)} Ergebnisse verfügbar`
899
912
  },
900
913
  editor: {
901
914
  addColumnAfter: "Spalte danach einfügen",
@@ -918,7 +931,7 @@ const DE_DE_MESSAGES = {
918
931
  enterUrl: "URL eingeben",
919
932
  fontSize: "Schriftgröße",
920
933
  format: "Format",
921
- heading: (level) => `Überschrift ${level}`,
934
+ heading: (level) => `Überschrift ${localizeNumber$a(level)}`,
922
935
  heightPx: "Höhe (px)",
923
936
  imageUrl: "Bild-URL",
924
937
  indent: "Einzug vergrößern",
@@ -982,7 +995,7 @@ const DE_DE_MESSAGES = {
982
995
  cancel: "Abbrechen",
983
996
  cancelRowEdit: "Zeilenbearbeitung abbrechen",
984
997
  columns: "Spalten",
985
- columnsSelected: (count) => (count === 1 ? "1 Spalte ausgewählt" : `${count} Spalten ausgewählt`),
998
+ columnsSelected: (count) => count === 1 ? "1 Spalte ausgewählt" : `${localizeNumber$a(count)} Spalten ausgewählt`,
986
999
  delete: "Löschen",
987
1000
  deleteRowConfirmation: "Diese Zeile wirklich löschen?",
988
1001
  deleteRowTitle: "Zeile löschen?",
@@ -999,7 +1012,7 @@ const DE_DE_MESSAGES = {
999
1012
  noData: "Keine Daten",
1000
1013
  remove: "Entfernen",
1001
1014
  removeRow: "Zeile entfernen",
1002
- reorderRow: (rowNumber) => `Zeile ${rowNumber} neu anordnen`,
1015
+ reorderRow: (rowNumber) => `Zeile ${localizeNumber$a(rowNumber)} neu anordnen`,
1003
1016
  resizeColumn: "Spaltengröße ändern",
1004
1017
  rowReorder: "Zeilenanordnung",
1005
1018
  rowReorderDisabled: "Das Neuanordnen von Zeilen ist deaktiviert.",
@@ -1012,12 +1025,12 @@ const DE_DE_MESSAGES = {
1012
1025
  rowReorderDisabledVirtualScroll: "Bei aktiviertem virtuellem Scrollen können Zeilen nicht neu angeordnet werden.",
1013
1026
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
1014
1027
  rowReorderKeyboardHint: "Alt + Pfeil nach oben oder Alt + Pfeil nach unten zum Verschieben verwenden.",
1015
- rowReorderMoved: (fromRowNumber, toPosition) => `Zeile ${fromRowNumber} an Position ${toPosition} verschoben.`,
1028
+ rowReorderMoved: (fromRowNumber, toPosition) => `Zeile ${localizeNumber$a(fromRowNumber)} an Position ${localizeNumber$a(toPosition)} verschoben.`,
1016
1029
  rowValidationError: "Diese Zeile enthält Validierungsfehler.",
1017
1030
  save: "Speichern",
1018
1031
  saveRow: "Zeile speichern",
1019
1032
  selectAllRows: "Alle Zeilen auswählen",
1020
- selectRow: (rowNumber) => `Zeile ${rowNumber} auswählen`
1033
+ selectRow: (rowNumber) => `Zeile ${localizeNumber$a(rowNumber)} auswählen`
1021
1034
  },
1022
1035
  list: {
1023
1036
  filterList: "Liste filtern",
@@ -1035,7 +1048,7 @@ const DE_DE_MESSAGES = {
1035
1048
  },
1036
1049
  multiSelect: {
1037
1050
  clear: "Leeren",
1038
- itemsCount: (count) => `+ ${count} ${count === 1 ? "Element" : "Elemente"}`
1051
+ itemsCount: (count) => `+ ${localizeNumber$a(count)} ${count === 1 ? "Element" : "Elemente"}`
1039
1052
  },
1040
1053
  notification: {
1041
1054
  close: "Schließen",
@@ -1053,27 +1066,27 @@ const DE_DE_MESSAGES = {
1053
1066
  },
1054
1067
  pager: {
1055
1068
  firstPageLabel: "Erste Seite",
1056
- jumpBackwardLabel: (pages) => pages === 1 ? "Um 1 Seite zurückspringen" : `Um ${pages} Seiten zurückspringen`,
1057
- jumpForwardLabel: (pages) => pages === 1 ? "Um 1 Seite vorspringen" : `Um ${pages} Seiten vorspringen`,
1069
+ jumpBackwardLabel: (pages) => pages === 1 ? "Um 1 Seite zurückspringen" : `Um ${localizeNumber$a(pages)} Seiten zurückspringen`,
1070
+ jumpForwardLabel: (pages) => pages === 1 ? "Um 1 Seite vorspringen" : `Um ${localizeNumber$a(pages)} Seiten vorspringen`,
1058
1071
  lastPageLabel: "Letzte Seite",
1059
1072
  nextPageLabel: "Nächste Seite",
1060
1073
  ofText: "von",
1061
- pageLabel: (page) => `Seite ${page}`,
1062
- pageSizeLabel: (pageSize) => `${pageSize} pro Seite`,
1063
- pageStatus: (page, totalPages) => `Seite ${page} von ${totalPages}`,
1074
+ pageLabel: (page) => `Seite ${localizeNumber$a(page)}`,
1075
+ pageSizeLabel: (pageSize) => `${localizeNumber$a(pageSize)} pro Seite`,
1076
+ pageStatus: (page, totalPages) => `Seite ${localizeNumber$a(page)} von ${localizeNumber$a(totalPages)}`,
1064
1077
  pageText: "Seite",
1065
1078
  previousPageLabel: "Vorherige Seite",
1066
- rangeStatus: (start, end, total) => `${start}–${end} von ${total} ${total === 1 ? "Element" : "Elementen"}`
1079
+ rangeStatus: (start, end, total) => `${localizeNumber$a(start)}–${localizeNumber$a(end)} von ${localizeNumber$a(total)} ${total === 1 ? "Element" : "Elementen"}`
1067
1080
  },
1068
1081
  rating: {
1069
1082
  notRated: "Nicht bewertet",
1070
- valueText: (value, max) => `${value} von ${max}`
1083
+ valueText: (value, max) => `${localizeNumber$a(value)} von ${localizeNumber$a(max)}`
1071
1084
  },
1072
1085
  scrollView: {
1073
1086
  carousel: "Karussell",
1074
1087
  nextPage: "Nächste Seite",
1075
- page: (current) => `Seite ${current}`,
1076
- pageOf: (current, total) => `Seite ${current} von ${total}`,
1088
+ page: (current) => `Seite ${localizeNumber$a(current)}`,
1089
+ pageOf: (current, total) => `Seite ${localizeNumber$a(current)} von ${localizeNumber$a(total)}`,
1077
1090
  previousPage: "Vorherige Seite",
1078
1091
  scrollPagerNext: "Seitennavigation vorwärts scrollen",
1079
1092
  scrollPagerPrevious: "Seitennavigation rückwärts scrollen",
@@ -1162,6 +1175,12 @@ const MONA_DE_DE_LOCALE = {
1162
1175
  messages: DE_DE_MESSAGES
1163
1176
  };
1164
1177
 
1178
+ function localizeNumber$9(value) {
1179
+ return formatNumber(value, "fr-FR");
1180
+ }
1181
+ function localizeYear$9(year) {
1182
+ return formatNumber(year, "fr-FR", { useGrouping: false });
1183
+ }
1165
1184
  const FR_FR_MESSAGES = {
1166
1185
  autoComplete: {
1167
1186
  clear: "Effacer"
@@ -1174,8 +1193,8 @@ const FR_FR_MESSAGES = {
1174
1193
  },
1175
1194
  calendar: {
1176
1195
  calendarLabel: (formattedMonthAndYear) => `Calendrier, ${formattedMonthAndYear}`,
1177
- decadeRange: (start, end) => `${start} à ${end}`,
1178
- decadeViewLabel: (start, end) => `Vue par décennie, ${start}–${end}`,
1196
+ decadeRange: (start, end) => `${localizeYear$9(start)} à ${localizeYear$9(end)}`,
1197
+ decadeViewLabel: (start, end) => `Vue par décennie, ${localizeYear$9(start)}–${localizeYear$9(end)}`,
1179
1198
  goToToday: (formattedDate) => `Aller à la date d’aujourd’hui, ${formattedDate}`,
1180
1199
  nextDecade: "Décennie suivante",
1181
1200
  nextMonth: "Mois suivant",
@@ -1186,7 +1205,7 @@ const FR_FR_MESSAGES = {
1186
1205
  switchToDecadeView: (currentYear) => `Passer à la vue par décennie, actuellement ${currentYear}`,
1187
1206
  switchToYearView: (currentMonthAndYear) => `Passer à la vue annuelle, actuellement ${currentMonthAndYear}`,
1188
1207
  today: "Aujourd’hui",
1189
- yearCellLabel: (year) => `Année ${year}`,
1208
+ yearCellLabel: (year) => `Année ${localizeYear$9(year)}`,
1190
1209
  yearViewLabel: (year) => `Vue annuelle, ${year}`
1191
1210
  },
1192
1211
  card: {
@@ -1234,7 +1253,7 @@ const FR_FR_MESSAGES = {
1234
1253
  currentColor: "Couleur actuelle",
1235
1254
  previousColor: "Couleur précédente",
1236
1255
  saturationAndValue: "Saturation et luminosité",
1237
- saturationAndValueText: (saturation, value) => `Saturation ${saturation}\u00A0%, luminosité ${value}\u00A0%`,
1256
+ saturationAndValueText: (saturation, value) => `Saturation ${localizeNumber$9(saturation)}\u00A0%, luminosité ${localizeNumber$9(value)}\u00A0%`,
1238
1257
  switchColorMode: "Changer de mode colorimétrique"
1239
1258
  },
1240
1259
  colorPalette: {
@@ -1273,9 +1292,9 @@ const FR_FR_MESSAGES = {
1273
1292
  clear: "Effacer"
1274
1293
  },
1275
1294
  dropdowns: {
1276
- itemPosition: (text, position, total) => `${text}, ${position} sur ${total}`,
1295
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber$9(position)} sur ${localizeNumber$9(total)}`,
1277
1296
  noResultsFound: "Aucun résultat trouvé",
1278
- resultsAvailable: (count) => (count === 1 ? "1 résultat disponible" : `${count} résultats disponibles`)
1297
+ resultsAvailable: (count) => count === 1 ? "1 résultat disponible" : `${localizeNumber$9(count)} résultats disponibles`
1279
1298
  },
1280
1299
  editor: {
1281
1300
  addColumnAfter: "Insérer une colonne après",
@@ -1298,7 +1317,7 @@ const FR_FR_MESSAGES = {
1298
1317
  enterUrl: "Saisir l’URL",
1299
1318
  fontSize: "Taille de police",
1300
1319
  format: "Format",
1301
- heading: (level) => `Titre ${level}`,
1320
+ heading: (level) => `Titre ${localizeNumber$9(level)}`,
1302
1321
  heightPx: "Hauteur (px)",
1303
1322
  imageUrl: "URL de l’image",
1304
1323
  indent: "Augmenter le retrait",
@@ -1362,7 +1381,7 @@ const FR_FR_MESSAGES = {
1362
1381
  cancel: "Annuler",
1363
1382
  cancelRowEdit: "Annuler la modification de la ligne",
1364
1383
  columns: "Colonnes",
1365
- columnsSelected: (count) => count === 1 ? "1 colonne sélectionnée" : `${count} colonnes sélectionnées`,
1384
+ columnsSelected: (count) => count === 1 ? "1 colonne sélectionnée" : `${localizeNumber$9(count)} colonnes sélectionnées`,
1366
1385
  delete: "Supprimer",
1367
1386
  deleteRowConfirmation: "Supprimer cette ligne ?",
1368
1387
  deleteRowTitle: "Supprimer la ligne ?",
@@ -1379,7 +1398,7 @@ const FR_FR_MESSAGES = {
1379
1398
  noData: "Aucune donnée",
1380
1399
  remove: "Retirer",
1381
1400
  removeRow: "Retirer la ligne",
1382
- reorderRow: (rowNumber) => `Réordonner la ligne ${rowNumber}`,
1401
+ reorderRow: (rowNumber) => `Réordonner la ligne ${localizeNumber$9(rowNumber)}`,
1383
1402
  resizeColumn: "Redimensionner la colonne",
1384
1403
  rowReorder: "Réorganisation des lignes",
1385
1404
  rowReorderDisabled: "La réorganisation des lignes est désactivée.",
@@ -1392,12 +1411,12 @@ const FR_FR_MESSAGES = {
1392
1411
  rowReorderDisabledVirtualScroll: "La réorganisation des lignes n’est pas disponible lorsque le défilement virtuel est activé.",
1393
1412
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
1394
1413
  rowReorderKeyboardHint: "Utilisez Alt + Flèche vers le haut ou Alt + Flèche vers le bas pour déplacer la ligne.",
1395
- rowReorderMoved: (fromRowNumber, toPosition) => `Ligne ${fromRowNumber} déplacée à la position ${toPosition}.`,
1414
+ rowReorderMoved: (fromRowNumber, toPosition) => `Ligne ${localizeNumber$9(fromRowNumber)} déplacée à la position ${localizeNumber$9(toPosition)}.`,
1396
1415
  rowValidationError: "Cette ligne contient des erreurs de validation.",
1397
1416
  save: "Enregistrer",
1398
1417
  saveRow: "Enregistrer la ligne",
1399
1418
  selectAllRows: "Sélectionner toutes les lignes",
1400
- selectRow: (rowNumber) => `Sélectionner la ligne ${rowNumber}`
1419
+ selectRow: (rowNumber) => `Sélectionner la ligne ${localizeNumber$9(rowNumber)}`
1401
1420
  },
1402
1421
  list: {
1403
1422
  filterList: "Filtrer la liste",
@@ -1415,7 +1434,7 @@ const FR_FR_MESSAGES = {
1415
1434
  },
1416
1435
  multiSelect: {
1417
1436
  clear: "Effacer",
1418
- itemsCount: (count) => `+ ${count} ${count === 1 ? "élément" : "éléments"}`
1437
+ itemsCount: (count) => `+ ${localizeNumber$9(count)} ${count === 1 ? "élément" : "éléments"}`
1419
1438
  },
1420
1439
  notification: {
1421
1440
  close: "Fermer",
@@ -1433,27 +1452,27 @@ const FR_FR_MESSAGES = {
1433
1452
  },
1434
1453
  pager: {
1435
1454
  firstPageLabel: "Première page",
1436
- jumpBackwardLabel: (pages) => (pages === 1 ? "Reculer de 1 page" : `Reculer de ${pages} pages`),
1437
- jumpForwardLabel: (pages) => (pages === 1 ? "Avancer de 1 page" : `Avancer de ${pages} pages`),
1455
+ jumpBackwardLabel: (pages) => pages === 1 ? "Reculer de 1 page" : `Reculer de ${localizeNumber$9(pages)} pages`,
1456
+ jumpForwardLabel: (pages) => pages === 1 ? "Avancer de 1 page" : `Avancer de ${localizeNumber$9(pages)} pages`,
1438
1457
  lastPageLabel: "Dernière page",
1439
1458
  nextPageLabel: "Page suivante",
1440
1459
  ofText: "sur",
1441
- pageLabel: (page) => `Page ${page}`,
1442
- pageSizeLabel: (pageSize) => `${pageSize} par page`,
1443
- pageStatus: (page, totalPages) => `Page ${page} sur ${totalPages}`,
1460
+ pageLabel: (page) => `Page ${localizeNumber$9(page)}`,
1461
+ pageSizeLabel: (pageSize) => `${localizeNumber$9(pageSize)} par page`,
1462
+ pageStatus: (page, totalPages) => `Page ${localizeNumber$9(page)} sur ${localizeNumber$9(totalPages)}`,
1444
1463
  pageText: "Page",
1445
1464
  previousPageLabel: "Page précédente",
1446
- rangeStatus: (start, end, total) => `${start}–${end} sur ${total} ${total === 1 ? "élément" : "éléments"}`
1465
+ rangeStatus: (start, end, total) => `${localizeNumber$9(start)}–${localizeNumber$9(end)} sur ${localizeNumber$9(total)} ${total === 1 ? "élément" : "éléments"}`
1447
1466
  },
1448
1467
  rating: {
1449
1468
  notRated: "Non évalué",
1450
- valueText: (value, max) => `${value} sur ${max}`
1469
+ valueText: (value, max) => `${localizeNumber$9(value)} sur ${localizeNumber$9(max)}`
1451
1470
  },
1452
1471
  scrollView: {
1453
1472
  carousel: "Carrousel",
1454
1473
  nextPage: "Page suivante",
1455
- page: (current) => `Page ${current}`,
1456
- pageOf: (current, total) => `Page ${current} sur ${total}`,
1474
+ page: (current) => `Page ${localizeNumber$9(current)}`,
1475
+ pageOf: (current, total) => `Page ${localizeNumber$9(current)} sur ${localizeNumber$9(total)}`,
1457
1476
  previousPage: "Page précédente",
1458
1477
  scrollPagerNext: "Faire défiler la pagination vers l’avant",
1459
1478
  scrollPagerPrevious: "Faire défiler la pagination vers l’arrière",
@@ -1542,6 +1561,12 @@ const MONA_FR_FR_LOCALE = {
1542
1561
  messages: FR_FR_MESSAGES
1543
1562
  };
1544
1563
 
1564
+ function localizeNumber$8(value) {
1565
+ return formatNumber(value, "it-IT");
1566
+ }
1567
+ function localizeYear$8(year) {
1568
+ return formatNumber(year, "it-IT", { useGrouping: false });
1569
+ }
1545
1570
  const IT_IT_MESSAGES = {
1546
1571
  autoComplete: {
1547
1572
  clear: "Cancella"
@@ -1554,8 +1579,8 @@ const IT_IT_MESSAGES = {
1554
1579
  },
1555
1580
  calendar: {
1556
1581
  calendarLabel: (formattedMonthAndYear) => `Calendario, ${formattedMonthAndYear}`,
1557
- decadeRange: (start, end) => `${start} - ${end}`,
1558
- decadeViewLabel: (start, end) => `Vista del decennio, ${start} - ${end}`,
1582
+ decadeRange: (start, end) => `${localizeYear$8(start)} - ${localizeYear$8(end)}`,
1583
+ decadeViewLabel: (start, end) => `Vista del decennio, ${localizeYear$8(start)} - ${localizeYear$8(end)}`,
1559
1584
  goToToday: (formattedDate) => `Vai a oggi, ${formattedDate}`,
1560
1585
  nextDecade: "Decennio successivo",
1561
1586
  nextMonth: "Mese successivo",
@@ -1566,7 +1591,7 @@ const IT_IT_MESSAGES = {
1566
1591
  switchToDecadeView: (currentYear) => `Passa alla vista del decennio, attualmente ${currentYear}`,
1567
1592
  switchToYearView: (currentMonthAndYear) => `Passa alla vista dell'anno, attualmente ${currentMonthAndYear}`,
1568
1593
  today: "Oggi",
1569
- yearCellLabel: (year) => `Anno ${year}`,
1594
+ yearCellLabel: (year) => `Anno ${localizeYear$8(year)}`,
1570
1595
  yearViewLabel: (year) => `Vista dell'anno, ${year}`
1571
1596
  },
1572
1597
  card: {
@@ -1614,7 +1639,7 @@ const IT_IT_MESSAGES = {
1614
1639
  currentColor: "Colore corrente",
1615
1640
  previousColor: "Colore precedente",
1616
1641
  saturationAndValue: "Saturazione e valore del colore",
1617
- saturationAndValueText: (saturation, value) => `Saturazione ${saturation}%, valore ${value}%`,
1642
+ saturationAndValueText: (saturation, value) => `Saturazione ${localizeNumber$8(saturation)}%, valore ${localizeNumber$8(value)}%`,
1618
1643
  switchColorMode: "Cambia modalità colore"
1619
1644
  },
1620
1645
  colorPalette: {
@@ -1653,9 +1678,9 @@ const IT_IT_MESSAGES = {
1653
1678
  clear: "Cancella"
1654
1679
  },
1655
1680
  dropdowns: {
1656
- itemPosition: (text, position, total) => `${text}, ${position} di ${total}`,
1681
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber$8(position)} di ${localizeNumber$8(total)}`,
1657
1682
  noResultsFound: "Nessun risultato trovato",
1658
- resultsAvailable: (count) => count === 1 ? "1 risultato disponibile" : `${count} risultati disponibili`
1683
+ resultsAvailable: (count) => count === 1 ? "1 risultato disponibile" : `${localizeNumber$8(count)} risultati disponibili`
1659
1684
  },
1660
1685
  editor: {
1661
1686
  addColumnAfter: "Inserisci colonna dopo",
@@ -1678,7 +1703,7 @@ const IT_IT_MESSAGES = {
1678
1703
  enterUrl: "Inserisci l'URL",
1679
1704
  fontSize: "Dimensione carattere",
1680
1705
  format: "Formattazione",
1681
- heading: (level) => `Intestazione ${level}`,
1706
+ heading: (level) => `Intestazione ${localizeNumber$8(level)}`,
1682
1707
  heightPx: "Altezza (px)",
1683
1708
  imageUrl: "URL immagine",
1684
1709
  indent: "Aumenta rientro",
@@ -1742,7 +1767,7 @@ const IT_IT_MESSAGES = {
1742
1767
  cancel: "Annulla",
1743
1768
  cancelRowEdit: "Annulla modifica della riga",
1744
1769
  columns: "Colonne",
1745
- columnsSelected: (count) => (count === 1 ? "1 colonna selezionata" : `${count} colonne selezionate`),
1770
+ columnsSelected: (count) => count === 1 ? "1 colonna selezionata" : `${localizeNumber$8(count)} colonne selezionate`,
1746
1771
  delete: "Elimina",
1747
1772
  deleteRowConfirmation: "Sei sicuro di voler eliminare questo elemento?",
1748
1773
  deleteRowTitle: "Eliminare la riga?",
@@ -1759,7 +1784,7 @@ const IT_IT_MESSAGES = {
1759
1784
  noData: "Nessun dato disponibile",
1760
1785
  remove: "Rimuovi",
1761
1786
  removeRow: "Rimuovi riga",
1762
- reorderRow: (rowNumber) => `Riordina riga ${rowNumber}`,
1787
+ reorderRow: (rowNumber) => `Riordina riga ${localizeNumber$8(rowNumber)}`,
1763
1788
  resizeColumn: "Ridimensiona colonna",
1764
1789
  rowReorder: "Riordina righe",
1765
1790
  rowReorderDisabled: "Il riordinamento delle righe è disabilitato.",
@@ -1772,12 +1797,12 @@ const IT_IT_MESSAGES = {
1772
1797
  rowReorderDisabledVirtualScroll: "Il riordinamento delle righe non è disponibile con lo scorrimento virtuale attivo.",
1773
1798
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
1774
1799
  rowReorderKeyboardHint: "Usa Alt più Freccia su o Alt più Freccia giù per spostare la riga.",
1775
- rowReorderMoved: (fromRowNumber, toPosition) => `Riga ${fromRowNumber} spostata alla posizione ${toPosition}.`,
1800
+ rowReorderMoved: (fromRowNumber, toPosition) => `Riga ${localizeNumber$8(fromRowNumber)} spostata alla posizione ${localizeNumber$8(toPosition)}.`,
1776
1801
  rowValidationError: "Questa riga contiene errori di convalida.",
1777
1802
  save: "Salva",
1778
1803
  saveRow: "Salva riga",
1779
1804
  selectAllRows: "Seleziona tutte le righe",
1780
- selectRow: (rowNumber) => `Seleziona riga ${rowNumber}`
1805
+ selectRow: (rowNumber) => `Seleziona riga ${localizeNumber$8(rowNumber)}`
1781
1806
  },
1782
1807
  list: {
1783
1808
  filterList: "Filtra elenco",
@@ -1795,7 +1820,7 @@ const IT_IT_MESSAGES = {
1795
1820
  },
1796
1821
  multiSelect: {
1797
1822
  clear: "Cancella",
1798
- itemsCount: (count) => (count === 1 ? "+ 1 elemento" : `+ ${count} elementi`)
1823
+ itemsCount: (count) => (count === 1 ? "+ 1 elemento" : `+ ${localizeNumber$8(count)} elementi`)
1799
1824
  },
1800
1825
  notification: {
1801
1826
  close: "Chiudi",
@@ -1813,27 +1838,27 @@ const IT_IT_MESSAGES = {
1813
1838
  },
1814
1839
  pager: {
1815
1840
  firstPageLabel: "Prima pagina",
1816
- jumpBackwardLabel: (pages) => pages === 1 ? "Torna indietro di 1 pagina" : `Torna indietro di ${pages} pagine`,
1817
- jumpForwardLabel: (pages) => (pages === 1 ? "Avanza di 1 pagina" : `Avanza di ${pages} pagine`),
1841
+ jumpBackwardLabel: (pages) => pages === 1 ? "Torna indietro di 1 pagina" : `Torna indietro di ${localizeNumber$8(pages)} pagine`,
1842
+ jumpForwardLabel: (pages) => pages === 1 ? "Avanza di 1 pagina" : `Avanza di ${localizeNumber$8(pages)} pagine`,
1818
1843
  lastPageLabel: "Ultima pagina",
1819
1844
  nextPageLabel: "Pagina successiva",
1820
1845
  ofText: "di",
1821
- pageLabel: (page) => `Pagina ${page}`,
1822
- pageSizeLabel: (pageSize) => `${pageSize} per pagina`,
1823
- pageStatus: (page, totalPages) => `Pagina ${page} di ${totalPages}`,
1846
+ pageLabel: (page) => `Pagina ${localizeNumber$8(page)}`,
1847
+ pageSizeLabel: (pageSize) => `${localizeNumber$8(pageSize)} per pagina`,
1848
+ pageStatus: (page, totalPages) => `Pagina ${localizeNumber$8(page)} di ${localizeNumber$8(totalPages)}`,
1824
1849
  pageText: "Pagina",
1825
1850
  previousPageLabel: "Pagina precedente",
1826
- rangeStatus: (start, end, total) => `${start} - ${end} di ${total} ${total === 1 ? "elemento" : "elementi"}`
1851
+ rangeStatus: (start, end, total) => `${localizeNumber$8(start)} - ${localizeNumber$8(end)} di ${localizeNumber$8(total)} ${total === 1 ? "elemento" : "elementi"}`
1827
1852
  },
1828
1853
  rating: {
1829
1854
  notRated: "Nessuna valutazione",
1830
- valueText: (value, max) => `${value} di ${max}`
1855
+ valueText: (value, max) => `${localizeNumber$8(value)} di ${localizeNumber$8(max)}`
1831
1856
  },
1832
1857
  scrollView: {
1833
1858
  carousel: "carosello",
1834
1859
  nextPage: "Pagina successiva",
1835
- page: (current) => `Pagina ${current}`,
1836
- pageOf: (current, total) => `Pagina ${current} di ${total}`,
1860
+ page: (current) => `Pagina ${localizeNumber$8(current)}`,
1861
+ pageOf: (current, total) => `Pagina ${localizeNumber$8(current)} di ${localizeNumber$8(total)}`,
1837
1862
  previousPage: "Pagina precedente",
1838
1863
  scrollPagerNext: "Scorri in avanti le opzioni del paginatore",
1839
1864
  scrollPagerPrevious: "Scorri indietro le opzioni del paginatore",
@@ -1922,6 +1947,12 @@ const MONA_IT_IT_LOCALE = {
1922
1947
  messages: IT_IT_MESSAGES
1923
1948
  };
1924
1949
 
1950
+ function localizeNumber$7(value) {
1951
+ return formatNumber(value, "ja-JP");
1952
+ }
1953
+ function localizeYear$7(year) {
1954
+ return formatNumber(year, "ja-JP", { useGrouping: false });
1955
+ }
1925
1956
  const JA_JP_MESSAGES = {
1926
1957
  autoComplete: {
1927
1958
  clear: "クリア"
@@ -1934,8 +1965,8 @@ const JA_JP_MESSAGES = {
1934
1965
  },
1935
1966
  calendar: {
1936
1967
  calendarLabel: (formattedMonthAndYear) => `${formattedMonthAndYear}のカレンダー`,
1937
- decadeRange: (start, end) => `${start}年~${end}年`,
1938
- decadeViewLabel: (start, end) => `${start}年から${end}年までの10年表示`,
1968
+ decadeRange: (start, end) => `${localizeYear$7(start)}年~${localizeYear$7(end)}年`,
1969
+ decadeViewLabel: (start, end) => `${localizeYear$7(start)}年から${localizeYear$7(end)}年までの10年表示`,
1939
1970
  goToToday: (formattedDate) => `今日(${formattedDate})に移動`,
1940
1971
  nextDecade: "次の10年間",
1941
1972
  nextMonth: "次の月",
@@ -1946,7 +1977,7 @@ const JA_JP_MESSAGES = {
1946
1977
  switchToDecadeView: (currentYear) => `10年表示に切り替える。現在は${currentYear}`,
1947
1978
  switchToYearView: (currentMonthAndYear) => `年表示に切り替える。現在は${currentMonthAndYear}`,
1948
1979
  today: "今日",
1949
- yearCellLabel: (year) => `${year}年`,
1980
+ yearCellLabel: (year) => `${localizeYear$7(year)}年`,
1950
1981
  yearViewLabel: (year) => `年表示、${year}`
1951
1982
  },
1952
1983
  card: {
@@ -1994,7 +2025,7 @@ const JA_JP_MESSAGES = {
1994
2025
  currentColor: "現在の色",
1995
2026
  previousColor: "前の色",
1996
2027
  saturationAndValue: "彩度と明度",
1997
- saturationAndValueText: (saturation, value) => `彩度${saturation}%、明度${value}%`,
2028
+ saturationAndValueText: (saturation, value) => `彩度${localizeNumber$7(saturation)}%、明度${localizeNumber$7(value)}%`,
1998
2029
  switchColorMode: "カラーモードを切り替え"
1999
2030
  },
2000
2031
  colorPalette: {
@@ -2033,9 +2064,9 @@ const JA_JP_MESSAGES = {
2033
2064
  clear: "クリア"
2034
2065
  },
2035
2066
  dropdowns: {
2036
- itemPosition: (text, position, total) => `${text}、${total}件中${position}件目`,
2067
+ itemPosition: (text, position, total) => `${text}、${localizeNumber$7(total)}件中${localizeNumber$7(position)}件目`,
2037
2068
  noResultsFound: "結果が見つかりません",
2038
- resultsAvailable: (count) => `${count}件の結果があります`
2069
+ resultsAvailable: (count) => `${localizeNumber$7(count)}件の結果があります`
2039
2070
  },
2040
2071
  editor: {
2041
2072
  addColumnAfter: "後に列を挿入",
@@ -2058,7 +2089,7 @@ const JA_JP_MESSAGES = {
2058
2089
  enterUrl: "URLを入力",
2059
2090
  fontSize: "フォントサイズ",
2060
2091
  format: "書式",
2061
- heading: (level) => `見出し${level}`,
2092
+ heading: (level) => `見出し${localizeNumber$7(level)}`,
2062
2093
  heightPx: "高さ (px)",
2063
2094
  imageUrl: "画像URL",
2064
2095
  indent: "インデントを増やす",
@@ -2122,7 +2153,7 @@ const JA_JP_MESSAGES = {
2122
2153
  cancel: "キャンセル",
2123
2154
  cancelRowEdit: "行の編集をキャンセル",
2124
2155
  columns: "列",
2125
- columnsSelected: (count) => `${count}列を選択中`,
2156
+ columnsSelected: (count) => `${localizeNumber$7(count)}列を選択中`,
2126
2157
  delete: "削除",
2127
2158
  deleteRowConfirmation: "この行を削除しますか?",
2128
2159
  deleteRowTitle: "行を削除",
@@ -2139,7 +2170,7 @@ const JA_JP_MESSAGES = {
2139
2170
  noData: "データがありません",
2140
2171
  remove: "削除",
2141
2172
  removeRow: "行を削除",
2142
- reorderRow: (rowNumber) => `${rowNumber}行目を並べ替え`,
2173
+ reorderRow: (rowNumber) => `${localizeNumber$7(rowNumber)}行目を並べ替え`,
2143
2174
  resizeColumn: "列のサイズを変更",
2144
2175
  rowReorder: "行の並べ替え",
2145
2176
  rowReorderDisabled: "行の並べ替えは無効です。",
@@ -2152,12 +2183,12 @@ const JA_JP_MESSAGES = {
2152
2183
  rowReorderDisabledVirtualScroll: "仮想スクロールが有効な場合、行の並べ替えは使用できません。",
2153
2184
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}。${keyboardHint}${disabledReason ?? ""}`,
2154
2185
  rowReorderKeyboardHint: "Alt + 上矢印または Alt + 下矢印で行を移動します。",
2155
- rowReorderMoved: (fromRowNumber, toPosition) => `${fromRowNumber}行目を${toPosition}番目の位置に移動しました。`,
2186
+ rowReorderMoved: (fromRowNumber, toPosition) => `${localizeNumber$7(fromRowNumber)}行目を${localizeNumber$7(toPosition)}番目の位置に移動しました。`,
2156
2187
  rowValidationError: "この行には入力エラーがあります。",
2157
2188
  save: "保存",
2158
2189
  saveRow: "行を保存",
2159
2190
  selectAllRows: "すべての行を選択",
2160
- selectRow: (rowNumber) => `${rowNumber}行目を選択`
2191
+ selectRow: (rowNumber) => `${localizeNumber$7(rowNumber)}行目を選択`
2161
2192
  },
2162
2193
  list: {
2163
2194
  filterList: "リストをフィルター",
@@ -2175,7 +2206,7 @@ const JA_JP_MESSAGES = {
2175
2206
  },
2176
2207
  multiSelect: {
2177
2208
  clear: "クリア",
2178
- itemsCount: (count) => `+ ${count}件`
2209
+ itemsCount: (count) => `+ ${localizeNumber$7(count)}件`
2179
2210
  },
2180
2211
  notification: {
2181
2212
  close: "閉じる",
@@ -2193,27 +2224,27 @@ const JA_JP_MESSAGES = {
2193
2224
  },
2194
2225
  pager: {
2195
2226
  firstPageLabel: "最初のページ",
2196
- jumpBackwardLabel: (pages) => `${pages}ページ戻る`,
2197
- jumpForwardLabel: (pages) => `${pages}ページ進む`,
2227
+ jumpBackwardLabel: (pages) => `${localizeNumber$7(pages)}ページ戻る`,
2228
+ jumpForwardLabel: (pages) => `${localizeNumber$7(pages)}ページ進む`,
2198
2229
  lastPageLabel: "最後のページ",
2199
2230
  nextPageLabel: "次のページ",
2200
2231
  ofText: "/",
2201
- pageLabel: (page) => `${page}ページ`,
2202
- pageSizeLabel: (pageSize) => `1ページあたり${pageSize}件`,
2203
- pageStatus: (page, totalPages) => `${totalPages}ページ中${page}ページ`,
2232
+ pageLabel: (page) => `${localizeNumber$7(page)}ページ`,
2233
+ pageSizeLabel: (pageSize) => `1ページあたり${localizeNumber$7(pageSize)}件`,
2234
+ pageStatus: (page, totalPages) => `${localizeNumber$7(totalPages)}ページ中${localizeNumber$7(page)}ページ`,
2204
2235
  pageText: "ページ",
2205
2236
  previousPageLabel: "前のページ",
2206
- rangeStatus: (start, end, total) => `全${total}件中${start}~${end}件`
2237
+ rangeStatus: (start, end, total) => `全${localizeNumber$7(total)}件中${localizeNumber$7(start)}~${localizeNumber$7(end)}件`
2207
2238
  },
2208
2239
  rating: {
2209
2240
  notRated: "未評価",
2210
- valueText: (value, max) => `${max}段階中${value}`
2241
+ valueText: (value, max) => `${localizeNumber$7(max)}段階中${localizeNumber$7(value)}`
2211
2242
  },
2212
2243
  scrollView: {
2213
2244
  carousel: "カルーセル",
2214
2245
  nextPage: "次のページ",
2215
- page: (current) => `${current}ページ`,
2216
- pageOf: (current, total) => `${total}ページ中${current}ページ`,
2246
+ page: (current) => `${localizeNumber$7(current)}ページ`,
2247
+ pageOf: (current, total) => `${localizeNumber$7(total)}ページ中${localizeNumber$7(current)}ページ`,
2217
2248
  previousPage: "前のページ",
2218
2249
  scrollPagerNext: "ページャーを次へスクロール",
2219
2250
  scrollPagerPrevious: "ページャーを前へスクロール",
@@ -2302,6 +2333,12 @@ const MONA_JA_JP_LOCALE = {
2302
2333
  messages: JA_JP_MESSAGES
2303
2334
  };
2304
2335
 
2336
+ function localizeNumber$6(value) {
2337
+ return formatNumber(value, "ko-KR");
2338
+ }
2339
+ function localizeYear$6(year) {
2340
+ return formatNumber(year, "ko-KR", { useGrouping: false });
2341
+ }
2305
2342
  const KO_KR_MESSAGES = {
2306
2343
  autoComplete: {
2307
2344
  clear: "지우기"
@@ -2314,8 +2351,8 @@ const KO_KR_MESSAGES = {
2314
2351
  },
2315
2352
  calendar: {
2316
2353
  calendarLabel: (formattedMonthAndYear) => `${formattedMonthAndYear} 달력`,
2317
- decadeRange: (start, end) => `${start}년~${end}년`,
2318
- decadeViewLabel: (start, end) => `10년 보기, ${start}년~${end}년`,
2354
+ decadeRange: (start, end) => `${localizeYear$6(start)}년~${localizeYear$6(end)}년`,
2355
+ decadeViewLabel: (start, end) => `10년 보기, ${localizeYear$6(start)}년~${localizeYear$6(end)}년`,
2319
2356
  goToToday: (formattedDate) => `오늘로 이동 (${formattedDate})`,
2320
2357
  nextDecade: "다음 10년",
2321
2358
  nextMonth: "다음 달",
@@ -2326,7 +2363,7 @@ const KO_KR_MESSAGES = {
2326
2363
  switchToDecadeView: (currentYear) => `10년 보기로 전환. 현재 ${currentYear}`,
2327
2364
  switchToYearView: (currentMonthAndYear) => `연도 보기로 전환. 현재 ${currentMonthAndYear}`,
2328
2365
  today: "오늘",
2329
- yearCellLabel: (year) => `${year}년`,
2366
+ yearCellLabel: (year) => `${localizeYear$6(year)}년`,
2330
2367
  yearViewLabel: (year) => `연도 보기, ${year}`
2331
2368
  },
2332
2369
  card: {
@@ -2374,7 +2411,7 @@ const KO_KR_MESSAGES = {
2374
2411
  currentColor: "현재 색상",
2375
2412
  previousColor: "이전 색상",
2376
2413
  saturationAndValue: "채도 및 명도",
2377
- saturationAndValueText: (saturation, value) => `채도 ${saturation}%, 명도 ${value}%`,
2414
+ saturationAndValueText: (saturation, value) => `채도 ${localizeNumber$6(saturation)}%, 명도 ${localizeNumber$6(value)}%`,
2378
2415
  switchColorMode: "색상 모드 전환"
2379
2416
  },
2380
2417
  colorPalette: {
@@ -2413,9 +2450,9 @@ const KO_KR_MESSAGES = {
2413
2450
  clear: "지우기"
2414
2451
  },
2415
2452
  dropdowns: {
2416
- itemPosition: (text, position, total) => `${text}, ${total}개 중 ${position}번째`,
2453
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber$6(total)}개 중 ${localizeNumber$6(position)}번째`,
2417
2454
  noResultsFound: "결과를 찾을 수 없습니다",
2418
- resultsAvailable: (count) => `사용 가능한 결과 ${count}개`
2455
+ resultsAvailable: (count) => `사용 가능한 결과 ${localizeNumber$6(count)}개`
2419
2456
  },
2420
2457
  editor: {
2421
2458
  addColumnAfter: "뒤에 열 삽입",
@@ -2438,7 +2475,7 @@ const KO_KR_MESSAGES = {
2438
2475
  enterUrl: "URL 입력",
2439
2476
  fontSize: "글꼴 크기",
2440
2477
  format: "서식",
2441
- heading: (level) => `제목 ${level}`,
2478
+ heading: (level) => `제목 ${localizeNumber$6(level)}`,
2442
2479
  heightPx: "높이 (px)",
2443
2480
  imageUrl: "이미지 URL",
2444
2481
  indent: "들여쓰기",
@@ -2502,7 +2539,7 @@ const KO_KR_MESSAGES = {
2502
2539
  cancel: "취소",
2503
2540
  cancelRowEdit: "행 편집 취소",
2504
2541
  columns: "열",
2505
- columnsSelected: (count) => `선택한 열: ${count}개`,
2542
+ columnsSelected: (count) => `선택한 열: ${localizeNumber$6(count)}개`,
2506
2543
  delete: "삭제",
2507
2544
  deleteRowConfirmation: "이 항목을 삭제하시겠습니까?",
2508
2545
  deleteRowTitle: "행 삭제?",
@@ -2519,7 +2556,7 @@ const KO_KR_MESSAGES = {
2519
2556
  noData: "데이터 없음",
2520
2557
  remove: "제거",
2521
2558
  removeRow: "행 제거",
2522
- reorderRow: (rowNumber) => `${rowNumber}행 순서 변경`,
2559
+ reorderRow: (rowNumber) => `${localizeNumber$6(rowNumber)}행 순서 변경`,
2523
2560
  resizeColumn: "열 너비 조정",
2524
2561
  rowReorder: "행 순서 변경",
2525
2562
  rowReorderDisabled: "행 순서 변경을 사용할 수 없습니다.",
@@ -2532,12 +2569,12 @@ const KO_KR_MESSAGES = {
2532
2569
  rowReorderDisabledVirtualScroll: "가상 스크롤을 사용하는 동안에는 행 순서를 변경할 수 없습니다.",
2533
2570
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
2534
2571
  rowReorderKeyboardHint: "Alt + 위쪽 화살표 또는 Alt + 아래쪽 화살표로 이동합니다.",
2535
- rowReorderMoved: (fromRowNumber, toPosition) => `${fromRowNumber}행을 ${toPosition}번째 위치로 이동했습니다.`,
2572
+ rowReorderMoved: (fromRowNumber, toPosition) => `${localizeNumber$6(fromRowNumber)}행을 ${localizeNumber$6(toPosition)}번째 위치로 이동했습니다.`,
2536
2573
  rowValidationError: "이 행에 유효성 검사 오류가 있습니다.",
2537
2574
  save: "저장",
2538
2575
  saveRow: "행 저장",
2539
2576
  selectAllRows: "모든 행 선택",
2540
- selectRow: (rowNumber) => `${rowNumber}행 선택`
2577
+ selectRow: (rowNumber) => `${localizeNumber$6(rowNumber)}행 선택`
2541
2578
  },
2542
2579
  list: {
2543
2580
  filterList: "목록 필터",
@@ -2555,7 +2592,7 @@ const KO_KR_MESSAGES = {
2555
2592
  },
2556
2593
  multiSelect: {
2557
2594
  clear: "지우기",
2558
- itemsCount: (count) => `+ ${count}개`
2595
+ itemsCount: (count) => `+ ${localizeNumber$6(count)}개`
2559
2596
  },
2560
2597
  notification: {
2561
2598
  close: "닫기",
@@ -2573,27 +2610,27 @@ const KO_KR_MESSAGES = {
2573
2610
  },
2574
2611
  pager: {
2575
2612
  firstPageLabel: "첫 페이지",
2576
- jumpBackwardLabel: (pages) => `${pages}페이지 뒤로`,
2577
- jumpForwardLabel: (pages) => `${pages}페이지 앞으로`,
2613
+ jumpBackwardLabel: (pages) => `${localizeNumber$6(pages)}페이지 뒤로`,
2614
+ jumpForwardLabel: (pages) => `${localizeNumber$6(pages)}페이지 앞으로`,
2578
2615
  lastPageLabel: "마지막 페이지",
2579
2616
  nextPageLabel: "다음 페이지",
2580
2617
  ofText: "/",
2581
- pageLabel: (page) => `${page}페이지`,
2582
- pageSizeLabel: (pageSize) => `페이지당 ${pageSize}개`,
2583
- pageStatus: (page, totalPages) => `전체 ${totalPages}페이지 중 ${page}페이지`,
2618
+ pageLabel: (page) => `${localizeNumber$6(page)}페이지`,
2619
+ pageSizeLabel: (pageSize) => `페이지당 ${localizeNumber$6(pageSize)}개`,
2620
+ pageStatus: (page, totalPages) => `전체 ${localizeNumber$6(totalPages)}페이지 중 ${localizeNumber$6(page)}페이지`,
2584
2621
  pageText: "페이지",
2585
2622
  previousPageLabel: "이전 페이지",
2586
- rangeStatus: (start, end, total) => `전체 ${total}개 중 ${start}~${end}`
2623
+ rangeStatus: (start, end, total) => `전체 ${localizeNumber$6(total)}개 중 ${localizeNumber$6(start)}~${localizeNumber$6(end)}`
2587
2624
  },
2588
2625
  rating: {
2589
2626
  notRated: "평가되지 않음",
2590
- valueText: (value, max) => `${max}점 만점에 ${value}점`
2627
+ valueText: (value, max) => `${localizeNumber$6(max)}점 만점에 ${localizeNumber$6(value)}점`
2591
2628
  },
2592
2629
  scrollView: {
2593
2630
  carousel: "캐러셀",
2594
2631
  nextPage: "다음 페이지",
2595
- page: (current) => `${current}페이지`,
2596
- pageOf: (current, total) => `전체 ${total}페이지 중 ${current}페이지`,
2632
+ page: (current) => `${localizeNumber$6(current)}페이지`,
2633
+ pageOf: (current, total) => `전체 ${localizeNumber$6(total)}페이지 중 ${localizeNumber$6(current)}페이지`,
2597
2634
  previousPage: "이전 페이지",
2598
2635
  scrollPagerNext: "페이지 표시기 다음으로 스크롤",
2599
2636
  scrollPagerPrevious: "페이지 표시기 이전으로 스크롤",
@@ -2682,6 +2719,12 @@ const MONA_KO_KR_LOCALE = {
2682
2719
  messages: KO_KR_MESSAGES
2683
2720
  };
2684
2721
 
2722
+ function localizeNumber$5(value) {
2723
+ return formatNumber(value, "pt-BR");
2724
+ }
2725
+ function localizeYear$5(year) {
2726
+ return formatNumber(year, "pt-BR", { useGrouping: false });
2727
+ }
2685
2728
  const PT_BR_MESSAGES = {
2686
2729
  autoComplete: {
2687
2730
  clear: "Limpar"
@@ -2694,8 +2737,8 @@ const PT_BR_MESSAGES = {
2694
2737
  },
2695
2738
  calendar: {
2696
2739
  calendarLabel: (formattedMonthAndYear) => `Calendário, ${formattedMonthAndYear}`,
2697
- decadeRange: (start, end) => `${start} a ${end}`,
2698
- decadeViewLabel: (start, end) => `Visualização de década, ${start} - ${end}`,
2740
+ decadeRange: (start, end) => `${localizeYear$5(start)} a ${localizeYear$5(end)}`,
2741
+ decadeViewLabel: (start, end) => `Visualização de década, ${localizeYear$5(start)} - ${localizeYear$5(end)}`,
2699
2742
  goToToday: (formattedDate) => `Ir para hoje, ${formattedDate}`,
2700
2743
  nextDecade: "Próxima década",
2701
2744
  nextMonth: "Próximo mês",
@@ -2706,7 +2749,7 @@ const PT_BR_MESSAGES = {
2706
2749
  switchToDecadeView: (currentYear) => `Alternar para a visualização de década, atualmente ${currentYear}`,
2707
2750
  switchToYearView: (currentMonthAndYear) => `Alternar para a visualização de ano, atualmente ${currentMonthAndYear}`,
2708
2751
  today: "Hoje",
2709
- yearCellLabel: (year) => `Ano ${year}`,
2752
+ yearCellLabel: (year) => `Ano ${localizeYear$5(year)}`,
2710
2753
  yearViewLabel: (year) => `Visualização de ano, ${year}`
2711
2754
  },
2712
2755
  card: {
@@ -2754,7 +2797,7 @@ const PT_BR_MESSAGES = {
2754
2797
  currentColor: "Cor atual",
2755
2798
  previousColor: "Cor anterior",
2756
2799
  saturationAndValue: "Saturação e valor da cor",
2757
- saturationAndValueText: (saturation, value) => `Saturação ${saturation}%, valor ${value}%`,
2800
+ saturationAndValueText: (saturation, value) => `Saturação ${localizeNumber$5(saturation)}%, valor ${localizeNumber$5(value)}%`,
2758
2801
  switchColorMode: "Alternar modo de cor"
2759
2802
  },
2760
2803
  colorPalette: {
@@ -2793,9 +2836,9 @@ const PT_BR_MESSAGES = {
2793
2836
  clear: "Limpar"
2794
2837
  },
2795
2838
  dropdowns: {
2796
- itemPosition: (text, position, total) => `${text}, ${position} de ${total}`,
2839
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber$5(position)} de ${localizeNumber$5(total)}`,
2797
2840
  noResultsFound: "Nenhum resultado encontrado",
2798
- resultsAvailable: (count) => count === 1 ? "1 resultado disponível" : `${count} resultados disponíveis`
2841
+ resultsAvailable: (count) => count === 1 ? "1 resultado disponível" : `${localizeNumber$5(count)} resultados disponíveis`
2799
2842
  },
2800
2843
  editor: {
2801
2844
  addColumnAfter: "Inserir coluna depois",
@@ -2818,7 +2861,7 @@ const PT_BR_MESSAGES = {
2818
2861
  enterUrl: "Inserir a URL",
2819
2862
  fontSize: "Tamanho da fonte",
2820
2863
  format: "Formatação",
2821
- heading: (level) => `Título ${level}`,
2864
+ heading: (level) => `Título ${localizeNumber$5(level)}`,
2822
2865
  heightPx: "Altura (px)",
2823
2866
  imageUrl: "URL da imagem",
2824
2867
  indent: "Aumentar recuo",
@@ -2882,7 +2925,7 @@ const PT_BR_MESSAGES = {
2882
2925
  cancel: "Cancelar",
2883
2926
  cancelRowEdit: "Cancelar edição da linha",
2884
2927
  columns: "Colunas",
2885
- columnsSelected: (count) => (count === 1 ? "1 coluna selecionada" : `${count} colunas selecionadas`),
2928
+ columnsSelected: (count) => count === 1 ? "1 coluna selecionada" : `${localizeNumber$5(count)} colunas selecionadas`,
2886
2929
  delete: "Excluir",
2887
2930
  deleteRowConfirmation: "Tem certeza de que deseja excluir este item?",
2888
2931
  deleteRowTitle: "Excluir linha?",
@@ -2899,7 +2942,7 @@ const PT_BR_MESSAGES = {
2899
2942
  noData: "Nenhum dado disponível",
2900
2943
  remove: "Remover",
2901
2944
  removeRow: "Remover linha",
2902
- reorderRow: (rowNumber) => `Reordenar linha ${rowNumber}`,
2945
+ reorderRow: (rowNumber) => `Reordenar linha ${localizeNumber$5(rowNumber)}`,
2903
2946
  resizeColumn: "Redimensionar coluna",
2904
2947
  rowReorder: "Reordenar linhas",
2905
2948
  rowReorderDisabled: "A reordenação de linhas está desabilitada.",
@@ -2912,12 +2955,12 @@ const PT_BR_MESSAGES = {
2912
2955
  rowReorderDisabledVirtualScroll: "A reordenação de linhas não está disponível com a rolagem virtual ativada.",
2913
2956
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
2914
2957
  rowReorderKeyboardHint: "Use Alt mais Seta para cima ou Alt mais Seta para baixo para mover.",
2915
- rowReorderMoved: (fromRowNumber, toPosition) => `Linha ${fromRowNumber} movida para a posição ${toPosition}.`,
2958
+ rowReorderMoved: (fromRowNumber, toPosition) => `Linha ${localizeNumber$5(fromRowNumber)} movida para a posição ${localizeNumber$5(toPosition)}.`,
2916
2959
  rowValidationError: "Esta linha contém erros de validação.",
2917
2960
  save: "Salvar",
2918
2961
  saveRow: "Salvar linha",
2919
2962
  selectAllRows: "Selecionar todas as linhas",
2920
- selectRow: (rowNumber) => `Selecionar linha ${rowNumber}`
2963
+ selectRow: (rowNumber) => `Selecionar linha ${localizeNumber$5(rowNumber)}`
2921
2964
  },
2922
2965
  list: {
2923
2966
  filterList: "Filtrar lista",
@@ -2935,7 +2978,7 @@ const PT_BR_MESSAGES = {
2935
2978
  },
2936
2979
  multiSelect: {
2937
2980
  clear: "Limpar",
2938
- itemsCount: (count) => (count === 1 ? "+ 1 item" : `+ ${count} itens`)
2981
+ itemsCount: (count) => (count === 1 ? "+ 1 item" : `+ ${localizeNumber$5(count)} itens`)
2939
2982
  },
2940
2983
  notification: {
2941
2984
  close: "Fechar",
@@ -2953,27 +2996,27 @@ const PT_BR_MESSAGES = {
2953
2996
  },
2954
2997
  pager: {
2955
2998
  firstPageLabel: "Primeira página",
2956
- jumpBackwardLabel: (pages) => (pages === 1 ? "Retroceder 1 página" : `Retroceder ${pages} páginas`),
2957
- jumpForwardLabel: (pages) => (pages === 1 ? "Avançar 1 página" : `Avançar ${pages} páginas`),
2999
+ jumpBackwardLabel: (pages) => pages === 1 ? "Retroceder 1 página" : `Retroceder ${localizeNumber$5(pages)} páginas`,
3000
+ jumpForwardLabel: (pages) => pages === 1 ? "Avançar 1 página" : `Avançar ${localizeNumber$5(pages)} páginas`,
2958
3001
  lastPageLabel: "Última página",
2959
3002
  nextPageLabel: "Próxima página",
2960
3003
  ofText: "de",
2961
- pageLabel: (page) => `Página ${page}`,
2962
- pageSizeLabel: (pageSize) => `${pageSize} / página`,
2963
- pageStatus: (page, totalPages) => `Página ${page} de ${totalPages}`,
3004
+ pageLabel: (page) => `Página ${localizeNumber$5(page)}`,
3005
+ pageSizeLabel: (pageSize) => `${localizeNumber$5(pageSize)} / página`,
3006
+ pageStatus: (page, totalPages) => `Página ${localizeNumber$5(page)} de ${localizeNumber$5(totalPages)}`,
2964
3007
  pageText: "Página",
2965
3008
  previousPageLabel: "Página anterior",
2966
- rangeStatus: (start, end, total) => `${start} - ${end} de ${total} ${total === 1 ? "item" : "itens"}`
3009
+ rangeStatus: (start, end, total) => `${localizeNumber$5(start)} - ${localizeNumber$5(end)} de ${localizeNumber$5(total)} ${total === 1 ? "item" : "itens"}`
2967
3010
  },
2968
3011
  rating: {
2969
3012
  notRated: "Não avaliado",
2970
- valueText: (value, max) => `${value} de ${max}`
3013
+ valueText: (value, max) => `${localizeNumber$5(value)} de ${localizeNumber$5(max)}`
2971
3014
  },
2972
3015
  scrollView: {
2973
3016
  carousel: "carrossel",
2974
3017
  nextPage: "Próxima página",
2975
- page: (current) => `Página ${current}`,
2976
- pageOf: (current, total) => `Página ${current} de ${total}`,
3018
+ page: (current) => `Página ${localizeNumber$5(current)}`,
3019
+ pageOf: (current, total) => `Página ${localizeNumber$5(current)} de ${localizeNumber$5(total)}`,
2977
3020
  previousPage: "Página anterior",
2978
3021
  scrollPagerNext: "Rolar opções do paginador para a frente",
2979
3022
  scrollPagerPrevious: "Rolar opções do paginador para trás",
@@ -3062,6 +3105,12 @@ const MONA_PT_BR_LOCALE = {
3062
3105
  messages: PT_BR_MESSAGES
3063
3106
  };
3064
3107
 
3108
+ function localizeNumber$4(value) {
3109
+ return formatNumber(value, "zh-CN");
3110
+ }
3111
+ function localizeYear$4(year) {
3112
+ return formatNumber(year, "zh-CN", { useGrouping: false });
3113
+ }
3065
3114
  const ZH_CN_MESSAGES = {
3066
3115
  autoComplete: {
3067
3116
  clear: "清除"
@@ -3074,8 +3123,8 @@ const ZH_CN_MESSAGES = {
3074
3123
  },
3075
3124
  calendar: {
3076
3125
  calendarLabel: (formattedMonthAndYear) => `${formattedMonthAndYear}日历`,
3077
- decadeRange: (start, end) => `${start}年至${end}年`,
3078
- decadeViewLabel: (start, end) => `十年视图,${start}年至${end}年`,
3126
+ decadeRange: (start, end) => `${localizeYear$4(start)}年至${localizeYear$4(end)}年`,
3127
+ decadeViewLabel: (start, end) => `十年视图,${localizeYear$4(start)}年至${localizeYear$4(end)}年`,
3079
3128
  goToToday: (formattedDate) => `转到今天(${formattedDate})`,
3080
3129
  nextDecade: "下一个十年",
3081
3130
  nextMonth: "下个月",
@@ -3086,7 +3135,7 @@ const ZH_CN_MESSAGES = {
3086
3135
  switchToDecadeView: (currentYear) => `切换到十年视图,当前为${currentYear}`,
3087
3136
  switchToYearView: (currentMonthAndYear) => `切换到年视图,当前为${currentMonthAndYear}`,
3088
3137
  today: "今天",
3089
- yearCellLabel: (year) => `${year}年`,
3138
+ yearCellLabel: (year) => `${localizeYear$4(year)}年`,
3090
3139
  yearViewLabel: (year) => `年视图,${year}`
3091
3140
  },
3092
3141
  card: {
@@ -3134,7 +3183,7 @@ const ZH_CN_MESSAGES = {
3134
3183
  currentColor: "当前颜色",
3135
3184
  previousColor: "先前颜色",
3136
3185
  saturationAndValue: "饱和度与明度",
3137
- saturationAndValueText: (saturation, value) => `饱和度${saturation}%,明度${value}%`,
3186
+ saturationAndValueText: (saturation, value) => `饱和度${localizeNumber$4(saturation)}%,明度${localizeNumber$4(value)}%`,
3138
3187
  switchColorMode: "切换颜色模式"
3139
3188
  },
3140
3189
  colorPalette: {
@@ -3173,9 +3222,9 @@ const ZH_CN_MESSAGES = {
3173
3222
  clear: "清除"
3174
3223
  },
3175
3224
  dropdowns: {
3176
- itemPosition: (text, position, total) => `${text},第 ${position} 项(共 ${total} 项)`,
3225
+ itemPosition: (text, position, total) => `${text},第 ${localizeNumber$4(position)} 项(共 ${localizeNumber$4(total)} 项)`,
3177
3226
  noResultsFound: "未找到结果",
3178
- resultsAvailable: (count) => `有 ${count} 条可用结果`
3227
+ resultsAvailable: (count) => `有 ${localizeNumber$4(count)} 条可用结果`
3179
3228
  },
3180
3229
  editor: {
3181
3230
  addColumnAfter: "在后方插入列",
@@ -3198,7 +3247,7 @@ const ZH_CN_MESSAGES = {
3198
3247
  enterUrl: "输入 URL",
3199
3248
  fontSize: "字号",
3200
3249
  format: "格式",
3201
- heading: (level) => `标题 ${level}`,
3250
+ heading: (level) => `标题 ${localizeNumber$4(level)}`,
3202
3251
  heightPx: "高度 (px)",
3203
3252
  imageUrl: "图片 URL",
3204
3253
  indent: "增加缩进",
@@ -3262,7 +3311,7 @@ const ZH_CN_MESSAGES = {
3262
3311
  cancel: "取消",
3263
3312
  cancelRowEdit: "取消编辑行",
3264
3313
  columns: "列",
3265
- columnsSelected: (count) => `已选择 ${count} 列`,
3314
+ columnsSelected: (count) => `已选择 ${localizeNumber$4(count)} 列`,
3266
3315
  delete: "删除",
3267
3316
  deleteRowConfirmation: "确定要删除此项吗?",
3268
3317
  deleteRowTitle: "删除行?",
@@ -3279,7 +3328,7 @@ const ZH_CN_MESSAGES = {
3279
3328
  noData: "没有数据",
3280
3329
  remove: "移除",
3281
3330
  removeRow: "移除行",
3282
- reorderRow: (rowNumber) => `重新排列第 ${rowNumber} 行`,
3331
+ reorderRow: (rowNumber) => `重新排列第 ${localizeNumber$4(rowNumber)} 行`,
3283
3332
  resizeColumn: "调整列宽",
3284
3333
  rowReorder: "行重新排序",
3285
3334
  rowReorderDisabled: "行重新排序已禁用。",
@@ -3292,12 +3341,12 @@ const ZH_CN_MESSAGES = {
3292
3341
  rowReorderDisabledVirtualScroll: "启用虚拟滚动时无法重新排列行。",
3293
3342
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}。${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
3294
3343
  rowReorderKeyboardHint: "使用 Alt + 向上键或 Alt + 向下键移动。",
3295
- rowReorderMoved: (fromRowNumber, toPosition) => `已将第 ${fromRowNumber} 行移动到位置 ${toPosition}。`,
3344
+ rowReorderMoved: (fromRowNumber, toPosition) => `已将第 ${localizeNumber$4(fromRowNumber)} 行移动到位置 ${localizeNumber$4(toPosition)}。`,
3296
3345
  rowValidationError: "此行存在验证错误。",
3297
3346
  save: "保存",
3298
3347
  saveRow: "保存行",
3299
3348
  selectAllRows: "选择所有行",
3300
- selectRow: (rowNumber) => `选择第 ${rowNumber} 行`
3349
+ selectRow: (rowNumber) => `选择第 ${localizeNumber$4(rowNumber)} 行`
3301
3350
  },
3302
3351
  list: {
3303
3352
  filterList: "筛选列表",
@@ -3315,7 +3364,7 @@ const ZH_CN_MESSAGES = {
3315
3364
  },
3316
3365
  multiSelect: {
3317
3366
  clear: "清除",
3318
- itemsCount: (count) => `+ ${count} 项`
3367
+ itemsCount: (count) => `+ ${localizeNumber$4(count)} 项`
3319
3368
  },
3320
3369
  notification: {
3321
3370
  close: "关闭",
@@ -3333,27 +3382,27 @@ const ZH_CN_MESSAGES = {
3333
3382
  },
3334
3383
  pager: {
3335
3384
  firstPageLabel: "第一页",
3336
- jumpBackwardLabel: (pages) => `后退 ${pages} 页`,
3337
- jumpForwardLabel: (pages) => `前进 ${pages} 页`,
3385
+ jumpBackwardLabel: (pages) => `后退 ${localizeNumber$4(pages)} 页`,
3386
+ jumpForwardLabel: (pages) => `前进 ${localizeNumber$4(pages)} 页`,
3338
3387
  lastPageLabel: "最后一页",
3339
3388
  nextPageLabel: "下一页",
3340
3389
  ofText: "/",
3341
- pageLabel: (page) => `第 ${page} 页`,
3342
- pageSizeLabel: (pageSize) => `每页 ${pageSize} 条`,
3343
- pageStatus: (page, totalPages) => `第 ${page} 页,共 ${totalPages} 页`,
3390
+ pageLabel: (page) => `第 ${localizeNumber$4(page)} 页`,
3391
+ pageSizeLabel: (pageSize) => `每页 ${localizeNumber$4(pageSize)} 条`,
3392
+ pageStatus: (page, totalPages) => `第 ${localizeNumber$4(page)} 页,共 ${localizeNumber$4(totalPages)} 页`,
3344
3393
  pageText: "页",
3345
3394
  previousPageLabel: "上一页",
3346
- rangeStatus: (start, end, total) => `第 ${start} - ${end} 项,共 ${total} 项`
3395
+ rangeStatus: (start, end, total) => `第 ${localizeNumber$4(start)} - ${localizeNumber$4(end)} 项,共 ${localizeNumber$4(total)} 项`
3347
3396
  },
3348
3397
  rating: {
3349
3398
  notRated: "未评分",
3350
- valueText: (value, max) => `第 ${value} 级,共 ${max} 级`
3399
+ valueText: (value, max) => `第 ${localizeNumber$4(value)} 级,共 ${localizeNumber$4(max)} 级`
3351
3400
  },
3352
3401
  scrollView: {
3353
3402
  carousel: "轮播",
3354
3403
  nextPage: "下一页",
3355
- page: (current) => `第 ${current} 页`,
3356
- pageOf: (current, total) => `第 ${current} 页,共 ${total} 页`,
3404
+ page: (current) => `第 ${localizeNumber$4(current)} 页`,
3405
+ pageOf: (current, total) => `第 ${localizeNumber$4(current)} 页,共 ${localizeNumber$4(total)} 页`,
3357
3406
  previousPage: "上一页",
3358
3407
  scrollPagerNext: "向后滚动分页器",
3359
3408
  scrollPagerPrevious: "向前滚动分页器",
@@ -3442,6 +3491,12 @@ const MONA_ZH_CN_LOCALE = {
3442
3491
  messages: ZH_CN_MESSAGES
3443
3492
  };
3444
3493
 
3494
+ function localizeNumber$3(value) {
3495
+ return formatNumber(value, "zh-TW");
3496
+ }
3497
+ function localizeYear$3(year) {
3498
+ return formatNumber(year, "zh-TW", { useGrouping: false });
3499
+ }
3445
3500
  const ZH_TW_MESSAGES = {
3446
3501
  autoComplete: {
3447
3502
  clear: "清除"
@@ -3454,8 +3509,8 @@ const ZH_TW_MESSAGES = {
3454
3509
  },
3455
3510
  calendar: {
3456
3511
  calendarLabel: (formattedMonthAndYear) => `${formattedMonthAndYear}行事曆`,
3457
- decadeRange: (start, end) => `${start}年至${end}年`,
3458
- decadeViewLabel: (start, end) => `${start}年至${end}年十年檢視`,
3512
+ decadeRange: (start, end) => `${localizeYear$3(start)}年至${localizeYear$3(end)}年`,
3513
+ decadeViewLabel: (start, end) => `${localizeYear$3(start)}年至${localizeYear$3(end)}年十年檢視`,
3459
3514
  goToToday: (formattedDate) => `移至今天(${formattedDate})`,
3460
3515
  nextDecade: "下個十年",
3461
3516
  nextMonth: "下個月",
@@ -3466,7 +3521,7 @@ const ZH_TW_MESSAGES = {
3466
3521
  switchToDecadeView: (currentYear) => `切換至十年檢視,目前為${currentYear}`,
3467
3522
  switchToYearView: (currentMonthAndYear) => `切換至年份檢視,目前為${currentMonthAndYear}`,
3468
3523
  today: "今天",
3469
- yearCellLabel: (year) => `${year}年`,
3524
+ yearCellLabel: (year) => `${localizeYear$3(year)}年`,
3470
3525
  yearViewLabel: (year) => `年份檢視,${year}`
3471
3526
  },
3472
3527
  card: {
@@ -3514,7 +3569,7 @@ const ZH_TW_MESSAGES = {
3514
3569
  currentColor: "目前顏色",
3515
3570
  previousColor: "先前顏色",
3516
3571
  saturationAndValue: "飽和度與明度",
3517
- saturationAndValueText: (saturation, value) => `飽和度${saturation}%,明度${value}%`,
3572
+ saturationAndValueText: (saturation, value) => `飽和度${localizeNumber$3(saturation)}%,明度${localizeNumber$3(value)}%`,
3518
3573
  switchColorMode: "切換色彩模式"
3519
3574
  },
3520
3575
  colorPalette: {
@@ -3553,9 +3608,9 @@ const ZH_TW_MESSAGES = {
3553
3608
  clear: "清除"
3554
3609
  },
3555
3610
  dropdowns: {
3556
- itemPosition: (text, position, total) => `${text},第 ${position} 項(共 ${total} 項)`,
3611
+ itemPosition: (text, position, total) => `${text},第 ${localizeNumber$3(position)} 項(共 ${localizeNumber$3(total)} 項)`,
3557
3612
  noResultsFound: "找不到結果",
3558
- resultsAvailable: (count) => `有 ${count} 個可用結果`
3613
+ resultsAvailable: (count) => `有 ${localizeNumber$3(count)} 個可用結果`
3559
3614
  },
3560
3615
  editor: {
3561
3616
  addColumnAfter: "在後方插入欄",
@@ -3578,7 +3633,7 @@ const ZH_TW_MESSAGES = {
3578
3633
  enterUrl: "輸入 URL",
3579
3634
  fontSize: "字型大小",
3580
3635
  format: "格式",
3581
- heading: (level) => `標題 ${level}`,
3636
+ heading: (level) => `標題 ${localizeNumber$3(level)}`,
3582
3637
  heightPx: "高度 (px)",
3583
3638
  imageUrl: "圖片 URL",
3584
3639
  indent: "增加縮排",
@@ -3642,7 +3697,7 @@ const ZH_TW_MESSAGES = {
3642
3697
  cancel: "取消",
3643
3698
  cancelRowEdit: "取消編輯資料列",
3644
3699
  columns: "欄",
3645
- columnsSelected: (count) => `已選取 ${count} 欄`,
3700
+ columnsSelected: (count) => `已選取 ${localizeNumber$3(count)} 欄`,
3646
3701
  delete: "刪除",
3647
3702
  deleteRowConfirmation: "確定要刪除此項目嗎?",
3648
3703
  deleteRowTitle: "刪除資料列?",
@@ -3659,7 +3714,7 @@ const ZH_TW_MESSAGES = {
3659
3714
  noData: "沒有資料",
3660
3715
  remove: "移除",
3661
3716
  removeRow: "移除資料列",
3662
- reorderRow: (rowNumber) => `重新排列第 ${rowNumber} 個資料列`,
3717
+ reorderRow: (rowNumber) => `重新排列第 ${localizeNumber$3(rowNumber)} 個資料列`,
3663
3718
  resizeColumn: "調整欄寬",
3664
3719
  rowReorder: "資料列重新排序",
3665
3720
  rowReorderDisabled: "資料列重新排序已停用。",
@@ -3672,12 +3727,12 @@ const ZH_TW_MESSAGES = {
3672
3727
  rowReorderDisabledVirtualScroll: "啟用虛擬捲動時無法重新排列資料列。",
3673
3728
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}。${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
3674
3729
  rowReorderKeyboardHint: "使用 Alt + 向上鍵或 Alt + 向下鍵移動。",
3675
- rowReorderMoved: (fromRowNumber, toPosition) => `已將第 ${fromRowNumber} 個資料列移至位置 ${toPosition}。`,
3730
+ rowReorderMoved: (fromRowNumber, toPosition) => `已將第 ${localizeNumber$3(fromRowNumber)} 個資料列移至位置 ${localizeNumber$3(toPosition)}。`,
3676
3731
  rowValidationError: "此資料列存在驗證錯誤。",
3677
3732
  save: "儲存",
3678
3733
  saveRow: "儲存資料列",
3679
3734
  selectAllRows: "選取所有資料列",
3680
- selectRow: (rowNumber) => `選取第 ${rowNumber} 個資料列`
3735
+ selectRow: (rowNumber) => `選取第 ${localizeNumber$3(rowNumber)} 個資料列`
3681
3736
  },
3682
3737
  list: {
3683
3738
  filterList: "篩選清單",
@@ -3695,7 +3750,7 @@ const ZH_TW_MESSAGES = {
3695
3750
  },
3696
3751
  multiSelect: {
3697
3752
  clear: "清除",
3698
- itemsCount: (count) => `+ ${count} 項`
3753
+ itemsCount: (count) => `+ ${localizeNumber$3(count)} 項`
3699
3754
  },
3700
3755
  notification: {
3701
3756
  close: "關閉",
@@ -3713,27 +3768,27 @@ const ZH_TW_MESSAGES = {
3713
3768
  },
3714
3769
  pager: {
3715
3770
  firstPageLabel: "第一頁",
3716
- jumpBackwardLabel: (pages) => `後退 ${pages} 頁`,
3717
- jumpForwardLabel: (pages) => `前進 ${pages} 頁`,
3771
+ jumpBackwardLabel: (pages) => `後退 ${localizeNumber$3(pages)} 頁`,
3772
+ jumpForwardLabel: (pages) => `前進 ${localizeNumber$3(pages)} 頁`,
3718
3773
  lastPageLabel: "最後一頁",
3719
3774
  nextPageLabel: "下一頁",
3720
3775
  ofText: "/",
3721
- pageLabel: (page) => `第 ${page} 頁`,
3722
- pageSizeLabel: (pageSize) => `每頁 ${pageSize} 筆`,
3723
- pageStatus: (page, totalPages) => `第 ${page} 頁,共 ${totalPages} 頁`,
3776
+ pageLabel: (page) => `第 ${localizeNumber$3(page)} 頁`,
3777
+ pageSizeLabel: (pageSize) => `每頁 ${localizeNumber$3(pageSize)} 筆`,
3778
+ pageStatus: (page, totalPages) => `第 ${localizeNumber$3(page)} 頁,共 ${localizeNumber$3(totalPages)} 頁`,
3724
3779
  pageText: "頁",
3725
3780
  previousPageLabel: "上一頁",
3726
- rangeStatus: (start, end, total) => `第 ${start} - ${end} 項,共 ${total} 項`
3781
+ rangeStatus: (start, end, total) => `第 ${localizeNumber$3(start)} - ${localizeNumber$3(end)} 項,共 ${localizeNumber$3(total)} 項`
3727
3782
  },
3728
3783
  rating: {
3729
3784
  notRated: "未評分",
3730
- valueText: (value, max) => `第 ${value} 級,共 ${max} 級`
3785
+ valueText: (value, max) => `第 ${localizeNumber$3(value)} 級,共 ${localizeNumber$3(max)} 級`
3731
3786
  },
3732
3787
  scrollView: {
3733
3788
  carousel: "輪播",
3734
3789
  nextPage: "下一頁",
3735
- page: (current) => `第 ${current} 頁`,
3736
- pageOf: (current, total) => `第 ${current} 頁,共 ${total} 頁`,
3790
+ page: (current) => `第 ${localizeNumber$3(current)} 頁`,
3791
+ pageOf: (current, total) => `第 ${localizeNumber$3(current)} 頁,共 ${localizeNumber$3(total)} 頁`,
3737
3792
  previousPage: "上一頁",
3738
3793
  scrollPagerNext: "向後捲動分頁器",
3739
3794
  scrollPagerPrevious: "向前捲動分頁器",
@@ -3822,6 +3877,12 @@ const MONA_ZH_TW_LOCALE = {
3822
3877
  messages: ZH_TW_MESSAGES
3823
3878
  };
3824
3879
 
3880
+ function localizeNumber$2(value) {
3881
+ return formatNumber(value, "tr-TR");
3882
+ }
3883
+ function localizeYear$2(year) {
3884
+ return formatNumber(year, "tr-TR", { useGrouping: false });
3885
+ }
3825
3886
  const TR_TR_MESSAGES = {
3826
3887
  autoComplete: {
3827
3888
  clear: "Temizle"
@@ -3834,8 +3895,8 @@ const TR_TR_MESSAGES = {
3834
3895
  },
3835
3896
  calendar: {
3836
3897
  calendarLabel: (formattedMonthAndYear) => `Takvim, ${formattedMonthAndYear}`,
3837
- decadeRange: (start, end) => `${start} - ${end}`,
3838
- decadeViewLabel: (start, end) => `On yıllık görünüm, ${start} - ${end}`,
3898
+ decadeRange: (start, end) => `${localizeYear$2(start)} - ${localizeYear$2(end)}`,
3899
+ decadeViewLabel: (start, end) => `On yıllık görünüm, ${localizeYear$2(start)} - ${localizeYear$2(end)}`,
3839
3900
  goToToday: (formattedDate) => `Bugüne git, ${formattedDate}`,
3840
3901
  nextDecade: "Sonraki on yıl",
3841
3902
  nextMonth: "Sonraki ay",
@@ -3846,7 +3907,7 @@ const TR_TR_MESSAGES = {
3846
3907
  switchToDecadeView: (currentYear) => `On yıllık görünüme geç, şu anda ${currentYear}`,
3847
3908
  switchToYearView: (currentMonthAndYear) => `Yıl görünümüne geç, şu anda ${currentMonthAndYear}`,
3848
3909
  today: "Bugün",
3849
- yearCellLabel: (year) => `${year} yılı`,
3910
+ yearCellLabel: (year) => `${localizeYear$2(year)} yılı`,
3850
3911
  yearViewLabel: (year) => `Yıl görünümü, ${year}`
3851
3912
  },
3852
3913
  card: {
@@ -3894,7 +3955,7 @@ const TR_TR_MESSAGES = {
3894
3955
  currentColor: "Geçerli renk",
3895
3956
  previousColor: "Önceki renk",
3896
3957
  saturationAndValue: "Renk doygunluğu ve değeri",
3897
- saturationAndValueText: (saturation, value) => `Doygunluk %${saturation}, değer %${value}`,
3958
+ saturationAndValueText: (saturation, value) => `Doygunluk %${localizeNumber$2(saturation)}, değer %${localizeNumber$2(value)}`,
3898
3959
  switchColorMode: "Renk modunu değiştir"
3899
3960
  },
3900
3961
  colorPalette: {
@@ -3933,9 +3994,9 @@ const TR_TR_MESSAGES = {
3933
3994
  clear: "Temizle"
3934
3995
  },
3935
3996
  dropdowns: {
3936
- itemPosition: (text, position, total) => `${text}, ${total} öğeden ${position}.`,
3997
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber$2(total)} öğeden ${localizeNumber$2(position)}.`,
3937
3998
  noResultsFound: "Sonuç bulunamadı",
3938
- resultsAvailable: (count) => `${count} sonuç bulundu`
3999
+ resultsAvailable: (count) => `${localizeNumber$2(count)} sonuç bulundu`
3939
4000
  },
3940
4001
  editor: {
3941
4002
  addColumnAfter: "Sonrasına sütun ekle",
@@ -3958,7 +4019,7 @@ const TR_TR_MESSAGES = {
3958
4019
  enterUrl: "URL'yi gir",
3959
4020
  fontSize: "Yazı tipi boyutu",
3960
4021
  format: "Biçim",
3961
- heading: (level) => `Başlık ${level}`,
4022
+ heading: (level) => `Başlık ${localizeNumber$2(level)}`,
3962
4023
  heightPx: "Yükseklik (px)",
3963
4024
  imageUrl: "Görsel URL'si",
3964
4025
  indent: "Girintiyi artır",
@@ -4022,7 +4083,7 @@ const TR_TR_MESSAGES = {
4022
4083
  cancel: "İptal",
4023
4084
  cancelRowEdit: "Satır düzenlemeyi iptal et",
4024
4085
  columns: "Sütunlar",
4025
- columnsSelected: (count) => `${count} sütun seçildi`,
4086
+ columnsSelected: (count) => `${localizeNumber$2(count)} sütun seçildi`,
4026
4087
  delete: "Sil",
4027
4088
  deleteRowConfirmation: "Bu öğeyi silmek istediğinizden emin misiniz?",
4028
4089
  deleteRowTitle: "Satır silinsin mi?",
@@ -4039,7 +4100,7 @@ const TR_TR_MESSAGES = {
4039
4100
  noData: "Veri yok",
4040
4101
  remove: "Kaldır",
4041
4102
  removeRow: "Satırı kaldır",
4042
- reorderRow: (rowNumber) => `${rowNumber}. satırı yeniden sırala`,
4103
+ reorderRow: (rowNumber) => `${localizeNumber$2(rowNumber)}. satırı yeniden sırala`,
4043
4104
  resizeColumn: "Sütunu yeniden boyutlandır",
4044
4105
  rowReorder: "Satırları yeniden sırala",
4045
4106
  rowReorderDisabled: "Satırları yeniden sıralama devre dışı.",
@@ -4052,12 +4113,12 @@ const TR_TR_MESSAGES = {
4052
4113
  rowReorderDisabledVirtualScroll: "Sanal kaydırma etkinken satırlar yeniden sıralanamaz.",
4053
4114
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
4054
4115
  rowReorderKeyboardHint: "Satırı taşımak için Alt + Yukarı Ok veya Alt + Aşağı Ok tuşlarını kullanın.",
4055
- rowReorderMoved: (fromRowNumber, toPosition) => `${fromRowNumber}. satır ${toPosition}. konuma taşındı.`,
4116
+ rowReorderMoved: (fromRowNumber, toPosition) => `${localizeNumber$2(fromRowNumber)}. satır ${localizeNumber$2(toPosition)}. konuma taşındı.`,
4056
4117
  rowValidationError: "Bu satırda doğrulama hataları var.",
4057
4118
  save: "Kaydet",
4058
4119
  saveRow: "Satırı kaydet",
4059
4120
  selectAllRows: "Tüm satırları seç",
4060
- selectRow: (rowNumber) => `${rowNumber}. satırı seç`
4121
+ selectRow: (rowNumber) => `${localizeNumber$2(rowNumber)}. satırı seç`
4061
4122
  },
4062
4123
  list: {
4063
4124
  filterList: "Listeyi filtrele",
@@ -4075,7 +4136,7 @@ const TR_TR_MESSAGES = {
4075
4136
  },
4076
4137
  multiSelect: {
4077
4138
  clear: "Temizle",
4078
- itemsCount: (count) => `+ ${count} öğe`
4139
+ itemsCount: (count) => `+ ${localizeNumber$2(count)} öğe`
4079
4140
  },
4080
4141
  notification: {
4081
4142
  close: "Kapat",
@@ -4093,27 +4154,27 @@ const TR_TR_MESSAGES = {
4093
4154
  },
4094
4155
  pager: {
4095
4156
  firstPageLabel: "İlk sayfa",
4096
- jumpBackwardLabel: (pages) => `${pages} sayfa geri git`,
4097
- jumpForwardLabel: (pages) => `${pages} sayfa ileri git`,
4157
+ jumpBackwardLabel: (pages) => `${localizeNumber$2(pages)} sayfa geri git`,
4158
+ jumpForwardLabel: (pages) => `${localizeNumber$2(pages)} sayfa ileri git`,
4098
4159
  lastPageLabel: "Son sayfa",
4099
4160
  nextPageLabel: "Sonraki sayfa",
4100
4161
  ofText: "/",
4101
- pageLabel: (page) => `${page}. sayfa`,
4102
- pageSizeLabel: (pageSize) => `Sayfa başına ${pageSize}`,
4103
- pageStatus: (page, totalPages) => `Sayfa ${page} / ${totalPages}`,
4162
+ pageLabel: (page) => `${localizeNumber$2(page)}. sayfa`,
4163
+ pageSizeLabel: (pageSize) => `Sayfa başına ${localizeNumber$2(pageSize)}`,
4164
+ pageStatus: (page, totalPages) => `Sayfa ${localizeNumber$2(page)} / ${localizeNumber$2(totalPages)}`,
4104
4165
  pageText: "Sayfa",
4105
4166
  previousPageLabel: "Önceki sayfa",
4106
- rangeStatus: (start, end, total) => `${start} - ${end} / ${total} öğe`
4167
+ rangeStatus: (start, end, total) => `${localizeNumber$2(start)} - ${localizeNumber$2(end)} / ${localizeNumber$2(total)} öğe`
4107
4168
  },
4108
4169
  rating: {
4109
4170
  notRated: "Değerlendirilmedi",
4110
- valueText: (value, max) => `${max} üzerinden ${value}`
4171
+ valueText: (value, max) => `${localizeNumber$2(max)} üzerinden ${localizeNumber$2(value)}`
4111
4172
  },
4112
4173
  scrollView: {
4113
4174
  carousel: "atlıkarınca",
4114
4175
  nextPage: "Sonraki sayfa",
4115
- page: (current) => `${current}. sayfa`,
4116
- pageOf: (current, total) => `Sayfa ${current} / ${total}`,
4176
+ page: (current) => `${localizeNumber$2(current)}. sayfa`,
4177
+ pageOf: (current, total) => `Sayfa ${localizeNumber$2(current)} / ${localizeNumber$2(total)}`,
4117
4178
  previousPage: "Önceki sayfa",
4118
4179
  scrollPagerNext: "Sayfalama seçeneklerini ileri kaydır",
4119
4180
  scrollPagerPrevious: "Sayfalama seçeneklerini geri kaydır",
@@ -4202,6 +4263,12 @@ const MONA_TR_TR_LOCALE = {
4202
4263
  messages: TR_TR_MESSAGES
4203
4264
  };
4204
4265
 
4266
+ function localizeNumber$1(value) {
4267
+ return formatNumber(value, "id-ID");
4268
+ }
4269
+ function localizeYear$1(year) {
4270
+ return formatNumber(year, "id-ID", { useGrouping: false });
4271
+ }
4205
4272
  const ID_ID_MESSAGES = {
4206
4273
  autoComplete: {
4207
4274
  clear: "Bersihkan"
@@ -4214,8 +4281,8 @@ const ID_ID_MESSAGES = {
4214
4281
  },
4215
4282
  calendar: {
4216
4283
  calendarLabel: (formattedMonthAndYear) => `Kalender, ${formattedMonthAndYear}`,
4217
- decadeRange: (start, end) => `${start} - ${end}`,
4218
- decadeViewLabel: (start, end) => `Tampilan dekade, ${start} - ${end}`,
4284
+ decadeRange: (start, end) => `${localizeYear$1(start)} - ${localizeYear$1(end)}`,
4285
+ decadeViewLabel: (start, end) => `Tampilan dekade, ${localizeYear$1(start)} - ${localizeYear$1(end)}`,
4219
4286
  goToToday: (formattedDate) => `Ke hari ini, ${formattedDate}`,
4220
4287
  nextDecade: "Dekade berikutnya",
4221
4288
  nextMonth: "Bulan berikutnya",
@@ -4226,7 +4293,7 @@ const ID_ID_MESSAGES = {
4226
4293
  switchToDecadeView: (currentYear) => `Beralih ke tampilan dekade, saat ini ${currentYear}`,
4227
4294
  switchToYearView: (currentMonthAndYear) => `Beralih ke tampilan tahun, saat ini ${currentMonthAndYear}`,
4228
4295
  today: "Hari ini",
4229
- yearCellLabel: (year) => `Tahun ${year}`,
4296
+ yearCellLabel: (year) => `Tahun ${localizeYear$1(year)}`,
4230
4297
  yearViewLabel: (year) => `Tampilan tahun, ${year}`
4231
4298
  },
4232
4299
  card: {
@@ -4274,7 +4341,7 @@ const ID_ID_MESSAGES = {
4274
4341
  currentColor: "Warna saat ini",
4275
4342
  previousColor: "Warna sebelumnya",
4276
4343
  saturationAndValue: "Saturasi dan nilai warna",
4277
- saturationAndValueText: (saturation, value) => `Saturasi ${saturation}%, nilai ${value}%`,
4344
+ saturationAndValueText: (saturation, value) => `Saturasi ${localizeNumber$1(saturation)}%, nilai ${localizeNumber$1(value)}%`,
4278
4345
  switchColorMode: "Ganti mode warna"
4279
4346
  },
4280
4347
  colorPalette: {
@@ -4313,9 +4380,9 @@ const ID_ID_MESSAGES = {
4313
4380
  clear: "Bersihkan"
4314
4381
  },
4315
4382
  dropdowns: {
4316
- itemPosition: (text, position, total) => `${text}, ${position} dari ${total}`,
4383
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber$1(position)} dari ${localizeNumber$1(total)}`,
4317
4384
  noResultsFound: "Tidak ada hasil",
4318
- resultsAvailable: (count) => `${count} hasil tersedia`
4385
+ resultsAvailable: (count) => `${localizeNumber$1(count)} hasil tersedia`
4319
4386
  },
4320
4387
  editor: {
4321
4388
  addColumnAfter: "Tambahkan kolom setelahnya",
@@ -4338,7 +4405,7 @@ const ID_ID_MESSAGES = {
4338
4405
  enterUrl: "Masukkan URL",
4339
4406
  fontSize: "Ukuran font",
4340
4407
  format: "Pemformatan",
4341
- heading: (level) => `Judul ${level}`,
4408
+ heading: (level) => `Judul ${localizeNumber$1(level)}`,
4342
4409
  heightPx: "Tinggi (px)",
4343
4410
  imageUrl: "URL gambar",
4344
4411
  indent: "Tambah inden",
@@ -4402,7 +4469,7 @@ const ID_ID_MESSAGES = {
4402
4469
  cancel: "Batal",
4403
4470
  cancelRowEdit: "Batalkan pengeditan baris",
4404
4471
  columns: "Kolom",
4405
- columnsSelected: (count) => `${count} kolom dipilih`,
4472
+ columnsSelected: (count) => `${localizeNumber$1(count)} kolom dipilih`,
4406
4473
  delete: "Hapus",
4407
4474
  deleteRowConfirmation: "Anda yakin ingin menghapus item ini?",
4408
4475
  deleteRowTitle: "Hapus baris?",
@@ -4419,7 +4486,7 @@ const ID_ID_MESSAGES = {
4419
4486
  noData: "Tidak ada data",
4420
4487
  remove: "Hapus",
4421
4488
  removeRow: "Hapus baris",
4422
- reorderRow: (rowNumber) => `Susun ulang baris ${rowNumber}`,
4489
+ reorderRow: (rowNumber) => `Susun ulang baris ${localizeNumber$1(rowNumber)}`,
4423
4490
  resizeColumn: "Ubah ukuran kolom",
4424
4491
  rowReorder: "Susun ulang baris",
4425
4492
  rowReorderDisabled: "Penyusunan ulang baris dinonaktifkan.",
@@ -4432,12 +4499,12 @@ const ID_ID_MESSAGES = {
4432
4499
  rowReorderDisabledVirtualScroll: "Baris tidak dapat disusun ulang saat pengguliran virtual aktif.",
4433
4500
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
4434
4501
  rowReorderKeyboardHint: "Gunakan Alt + Panah Atas atau Alt + Panah Bawah untuk memindahkan baris.",
4435
- rowReorderMoved: (fromRowNumber, toPosition) => `Baris ${fromRowNumber} dipindahkan ke posisi ${toPosition}.`,
4502
+ rowReorderMoved: (fromRowNumber, toPosition) => `Baris ${localizeNumber$1(fromRowNumber)} dipindahkan ke posisi ${localizeNumber$1(toPosition)}.`,
4436
4503
  rowValidationError: "Baris ini memiliki kesalahan validasi.",
4437
4504
  save: "Simpan",
4438
4505
  saveRow: "Simpan baris",
4439
4506
  selectAllRows: "Pilih semua baris",
4440
- selectRow: (rowNumber) => `Pilih baris ${rowNumber}`
4507
+ selectRow: (rowNumber) => `Pilih baris ${localizeNumber$1(rowNumber)}`
4441
4508
  },
4442
4509
  list: {
4443
4510
  filterList: "Saring daftar",
@@ -4455,7 +4522,7 @@ const ID_ID_MESSAGES = {
4455
4522
  },
4456
4523
  multiSelect: {
4457
4524
  clear: "Bersihkan",
4458
- itemsCount: (count) => `+ ${count} item`
4525
+ itemsCount: (count) => `+ ${localizeNumber$1(count)} item`
4459
4526
  },
4460
4527
  notification: {
4461
4528
  close: "Tutup",
@@ -4473,27 +4540,27 @@ const ID_ID_MESSAGES = {
4473
4540
  },
4474
4541
  pager: {
4475
4542
  firstPageLabel: "Halaman pertama",
4476
- jumpBackwardLabel: (pages) => `Mundur ${pages} halaman`,
4477
- jumpForwardLabel: (pages) => `Maju ${pages} halaman`,
4543
+ jumpBackwardLabel: (pages) => `Mundur ${localizeNumber$1(pages)} halaman`,
4544
+ jumpForwardLabel: (pages) => `Maju ${localizeNumber$1(pages)} halaman`,
4478
4545
  lastPageLabel: "Halaman terakhir",
4479
4546
  nextPageLabel: "Halaman berikutnya",
4480
4547
  ofText: "/",
4481
- pageLabel: (page) => `Halaman ${page}`,
4482
- pageSizeLabel: (pageSize) => `${pageSize} per halaman`,
4483
- pageStatus: (page, totalPages) => `Halaman ${page} dari ${totalPages}`,
4548
+ pageLabel: (page) => `Halaman ${localizeNumber$1(page)}`,
4549
+ pageSizeLabel: (pageSize) => `${localizeNumber$1(pageSize)} per halaman`,
4550
+ pageStatus: (page, totalPages) => `Halaman ${localizeNumber$1(page)} dari ${localizeNumber$1(totalPages)}`,
4484
4551
  pageText: "Halaman",
4485
4552
  previousPageLabel: "Halaman sebelumnya",
4486
- rangeStatus: (start, end, total) => `${start} - ${end} dari ${total} item`
4553
+ rangeStatus: (start, end, total) => `${localizeNumber$1(start)} - ${localizeNumber$1(end)} dari ${localizeNumber$1(total)} item`
4487
4554
  },
4488
4555
  rating: {
4489
4556
  notRated: "Belum dinilai",
4490
- valueText: (value, max) => `${value} dari ${max}`
4557
+ valueText: (value, max) => `${localizeNumber$1(value)} dari ${localizeNumber$1(max)}`
4491
4558
  },
4492
4559
  scrollView: {
4493
4560
  carousel: "karusel",
4494
4561
  nextPage: "Halaman berikutnya",
4495
- page: (current) => `Halaman ${current}`,
4496
- pageOf: (current, total) => `Halaman ${current} dari ${total}`,
4562
+ page: (current) => `Halaman ${localizeNumber$1(current)}`,
4563
+ pageOf: (current, total) => `Halaman ${localizeNumber$1(current)} dari ${localizeNumber$1(total)}`,
4497
4564
  previousPage: "Halaman sebelumnya",
4498
4565
  scrollPagerNext: "Gulir opsi halaman ke depan",
4499
4566
  scrollPagerPrevious: "Gulir opsi halaman ke belakang",
@@ -4582,6 +4649,12 @@ const MONA_ID_ID_LOCALE = {
4582
4649
  messages: ID_ID_MESSAGES
4583
4650
  };
4584
4651
 
4652
+ function localizeNumber(value) {
4653
+ return formatNumber(value, "ru-RU");
4654
+ }
4655
+ function localizeYear(year) {
4656
+ return formatNumber(year, "ru-RU", { useGrouping: false });
4657
+ }
4585
4658
  const RU_RU_PLURAL_RULES = new Intl.PluralRules("ru-RU");
4586
4659
  function russianPlural(count, forms) {
4587
4660
  const category = RU_RU_PLURAL_RULES.select(count);
@@ -4598,14 +4671,14 @@ function russianPlural(count, forms) {
4598
4671
  }
4599
4672
  }
4600
4673
  function formatPageCount(count) {
4601
- return `${count} ${russianPlural(count, {
4674
+ return `${localizeNumber(count)} ${russianPlural(count, {
4602
4675
  one: "страницу",
4603
4676
  few: "страницы",
4604
4677
  many: "страниц"
4605
4678
  })}`;
4606
4679
  }
4607
4680
  function formatItemCount(count) {
4608
- return `${count} ${russianPlural(count, {
4681
+ return `${localizeNumber(count)} ${russianPlural(count, {
4609
4682
  one: "элемент",
4610
4683
  few: "элемента",
4611
4684
  many: "элементов"
@@ -4623,8 +4696,8 @@ const RU_RU_MESSAGES = {
4623
4696
  },
4624
4697
  calendar: {
4625
4698
  calendarLabel: (formattedMonthAndYear) => `Календарь, ${formattedMonthAndYear}`,
4626
- decadeRange: (start, end) => `${start}–${end}`,
4627
- decadeViewLabel: (start, end) => `Просмотр десятилетия, ${start}–${end}`,
4699
+ decadeRange: (start, end) => `${localizeYear(start)}–${localizeYear(end)}`,
4700
+ decadeViewLabel: (start, end) => `Просмотр десятилетия, ${localizeYear(start)}–${localizeYear(end)}`,
4628
4701
  goToToday: (formattedDate) => `Перейти к сегодняшней дате, ${formattedDate}`,
4629
4702
  nextDecade: "Следующее десятилетие",
4630
4703
  nextMonth: "Следующий месяц",
@@ -4635,7 +4708,7 @@ const RU_RU_MESSAGES = {
4635
4708
  switchToDecadeView: (currentYear) => `Перейти к просмотру десятилетия, текущий год: ${currentYear}`,
4636
4709
  switchToYearView: (currentMonthAndYear) => `Перейти к просмотру года, текущий месяц: ${currentMonthAndYear}`,
4637
4710
  today: "Сегодня",
4638
- yearCellLabel: (year) => `Год ${year}`,
4711
+ yearCellLabel: (year) => `Год ${localizeYear(year)}`,
4639
4712
  yearViewLabel: (year) => `Просмотр года, ${year}`
4640
4713
  },
4641
4714
  card: {
@@ -4683,7 +4756,7 @@ const RU_RU_MESSAGES = {
4683
4756
  currentColor: "Текущий цвет",
4684
4757
  previousColor: "Предыдущий цвет",
4685
4758
  saturationAndValue: "Насыщенность и значение",
4686
- saturationAndValueText: (saturation, value) => `Насыщенность ${saturation}%, значение ${value}%`,
4759
+ saturationAndValueText: (saturation, value) => `Насыщенность ${localizeNumber(saturation)}%, значение ${localizeNumber(value)}%`,
4687
4760
  switchColorMode: "Переключить цветовой режим"
4688
4761
  },
4689
4762
  colorPalette: {
@@ -4722,9 +4795,9 @@ const RU_RU_MESSAGES = {
4722
4795
  clear: "Очистить"
4723
4796
  },
4724
4797
  dropdowns: {
4725
- itemPosition: (text, position, total) => `${text}, ${position} из ${total}`,
4798
+ itemPosition: (text, position, total) => `${text}, ${localizeNumber(position)} из ${localizeNumber(total)}`,
4726
4799
  noResultsFound: "Результаты не найдены",
4727
- resultsAvailable: (count) => `Доступно результатов: ${count}`
4800
+ resultsAvailable: (count) => `Доступно результатов: ${localizeNumber(count)}`
4728
4801
  },
4729
4802
  editor: {
4730
4803
  addColumnAfter: "Добавить столбец после",
@@ -4747,7 +4820,7 @@ const RU_RU_MESSAGES = {
4747
4820
  enterUrl: "Введите URL",
4748
4821
  fontSize: "Размер шрифта",
4749
4822
  format: "Форматирование",
4750
- heading: (level) => `Заголовок ${level}`,
4823
+ heading: (level) => `Заголовок ${localizeNumber(level)}`,
4751
4824
  heightPx: "Высота (px)",
4752
4825
  imageUrl: "URL изображения",
4753
4826
  indent: "Увеличить отступ",
@@ -4811,7 +4884,7 @@ const RU_RU_MESSAGES = {
4811
4884
  cancel: "Отмена",
4812
4885
  cancelRowEdit: "Отменить редактирование строки",
4813
4886
  columns: "Столбцы",
4814
- columnsSelected: (count) => `Выбрано столбцов: ${count}`,
4887
+ columnsSelected: (count) => `Выбрано столбцов: ${localizeNumber(count)}`,
4815
4888
  delete: "Удалить",
4816
4889
  deleteRowConfirmation: "Удалить этот элемент?",
4817
4890
  deleteRowTitle: "Удалить строку?",
@@ -4828,7 +4901,7 @@ const RU_RU_MESSAGES = {
4828
4901
  noData: "Нет данных",
4829
4902
  remove: "Удалить",
4830
4903
  removeRow: "Удалить строку",
4831
- reorderRow: (rowNumber) => `Изменить порядок строки ${rowNumber}`,
4904
+ reorderRow: (rowNumber) => `Изменить порядок строки ${localizeNumber(rowNumber)}`,
4832
4905
  resizeColumn: "Изменить ширину столбца",
4833
4906
  rowReorder: "Изменение порядка строк",
4834
4907
  rowReorderDisabled: "Изменение порядка строк недоступно.",
@@ -4841,12 +4914,12 @@ const RU_RU_MESSAGES = {
4841
4914
  rowReorderDisabledVirtualScroll: "Нельзя изменять порядок строк при включённой виртуальной прокрутке.",
4842
4915
  rowReorderHandleAriaLabel: (rowLabel, keyboardHint, disabledReason) => `${rowLabel}. ${keyboardHint}${disabledReason ? ` ${disabledReason}` : ""}`,
4843
4916
  rowReorderKeyboardHint: "Используйте Alt + Стрелка вверх или Alt + Стрелка вниз, чтобы переместить строку.",
4844
- rowReorderMoved: (fromRowNumber, toPosition) => `Строка ${fromRowNumber} перемещена в позицию ${toPosition}.`,
4917
+ rowReorderMoved: (fromRowNumber, toPosition) => `Строка ${localizeNumber(fromRowNumber)} перемещена в позицию ${localizeNumber(toPosition)}.`,
4845
4918
  rowValidationError: "В строке есть ошибки проверки.",
4846
4919
  save: "Сохранить",
4847
4920
  saveRow: "Сохранить строку",
4848
4921
  selectAllRows: "Выбрать все строки",
4849
- selectRow: (rowNumber) => `Выбрать строку ${rowNumber}`
4922
+ selectRow: (rowNumber) => `Выбрать строку ${localizeNumber(rowNumber)}`
4850
4923
  },
4851
4924
  list: {
4852
4925
  filterList: "Фильтр списка",
@@ -4887,22 +4960,22 @@ const RU_RU_MESSAGES = {
4887
4960
  lastPageLabel: "Последняя страница",
4888
4961
  nextPageLabel: "Следующая страница",
4889
4962
  ofText: "из",
4890
- pageLabel: (page) => `Страница ${page}`,
4891
- pageSizeLabel: (pageSize) => `${pageSize} на странице`,
4892
- pageStatus: (page, totalPages) => `Страница ${page} из ${totalPages}`,
4963
+ pageLabel: (page) => `Страница ${localizeNumber(page)}`,
4964
+ pageSizeLabel: (pageSize) => `${localizeNumber(pageSize)} на странице`,
4965
+ pageStatus: (page, totalPages) => `Страница ${localizeNumber(page)} из ${localizeNumber(totalPages)}`,
4893
4966
  pageText: "Страница",
4894
4967
  previousPageLabel: "Предыдущая страница",
4895
- rangeStatus: (start, end, total) => `${start}–${end} из ${total}`
4968
+ rangeStatus: (start, end, total) => `${localizeNumber(start)}–${localizeNumber(end)} из ${localizeNumber(total)}`
4896
4969
  },
4897
4970
  rating: {
4898
4971
  notRated: "Без оценки",
4899
- valueText: (value, max) => `${value} из ${max}`
4972
+ valueText: (value, max) => `${localizeNumber(value)} из ${localizeNumber(max)}`
4900
4973
  },
4901
4974
  scrollView: {
4902
4975
  carousel: "карусель",
4903
4976
  nextPage: "Следующая страница",
4904
- page: (current) => `Страница ${current}`,
4905
- pageOf: (current, total) => `Страница ${current} из ${total}`,
4977
+ page: (current) => `Страница ${localizeNumber(current)}`,
4978
+ pageOf: (current, total) => `Страница ${localizeNumber(current)} из ${localizeNumber(total)}`,
4906
4979
  previousPage: "Предыдущая страница",
4907
4980
  scrollPagerNext: "Прокрутить список страниц вперёд",
4908
4981
  scrollPagerPrevious: "Прокрутить список страниц назад",