@nanahoshi/mona-ui 0.36.1 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/docs/api/common.md +1 -1
  2. package/docs/api/dropdown-list.md +2 -0
  3. package/docs/api/dropdown-tree.md +81 -0
  4. package/docs/api/dropdowns.md +34 -8
  5. package/docs/api/editor.md +67 -0
  6. package/docs/api/file-upload.md +1 -1
  7. package/docs/api/i18n.md +49 -4
  8. package/docs/api/list.md +1 -1
  9. package/docs/api/locales.md +14 -14
  10. package/docs/api/multi-select-tree.md +75 -0
  11. package/docs/api/multi-select.md +3 -1
  12. package/docs/api/popup.md +1 -1
  13. package/docs/api/tree-view.md +2 -2
  14. package/docs/auto-complete.md +2 -0
  15. package/docs/combo-box.md +2 -0
  16. package/docs/dropdown-list.md +52 -0
  17. package/docs/dropdown-tree.md +427 -0
  18. package/docs/editor.md +238 -9
  19. package/docs/multi-select-tree.md +353 -0
  20. package/docs/multi-select.md +6 -0
  21. package/dropdown-tree/package.json +4 -0
  22. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +40 -5
  23. package/fesm2022/nanahoshi-mona-ui-dropdown-tree.mjs +1061 -0
  24. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +701 -60
  25. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1356 -192
  26. package/fesm2022/nanahoshi-mona-ui-file-upload.mjs +28 -94
  27. package/fesm2022/nanahoshi-mona-ui-filter.mjs +2 -0
  28. package/fesm2022/nanahoshi-mona-ui-grid.mjs +2 -0
  29. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +63 -1
  30. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +80 -37
  31. package/fesm2022/nanahoshi-mona-ui-internal.mjs +83 -2
  32. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +66 -1
  33. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +30 -1
  34. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +42 -1
  35. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +42 -1
  36. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +24 -1
  37. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +42 -1
  38. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +24 -1
  39. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +24 -1
  40. package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +64 -1
  41. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +42 -1
  42. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +64 -1
  43. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +24 -1
  44. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +24 -1
  45. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +24 -1
  46. package/fesm2022/nanahoshi-mona-ui-multi-select-tree.mjs +1179 -0
  47. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +42 -7
  48. package/fesm2022/nanahoshi-mona-ui-pager.mjs +3 -1
  49. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +2 -1
  50. package/i18n/catalogs/en-US.messages.json +26 -1
  51. package/llms.txt +7 -3
  52. package/locales/ar-sa/ar-sa.messages.json +26 -1
  53. package/locales/de-de/de-de.messages.json +26 -1
  54. package/locales/es-es/es-es.messages.json +26 -1
  55. package/locales/fr-fr/fr-fr.messages.json +26 -1
  56. package/locales/id-id/id-id.messages.json +26 -1
  57. package/locales/it-it/it-it.messages.json +26 -1
  58. package/locales/ja-jp/ja-jp.messages.json +26 -1
  59. package/locales/ko-kr/ko-kr.messages.json +26 -1
  60. package/locales/pl-pl/pl-pl.messages.json +26 -1
  61. package/locales/pt-br/pt-br.messages.json +26 -1
  62. package/locales/ru-ru/ru-ru.messages.json +26 -1
  63. package/locales/tr-tr/tr-tr.messages.json +26 -1
  64. package/locales/zh-cn/zh-cn.messages.json +26 -1
  65. package/locales/zh-tw/zh-tw.messages.json +26 -1
  66. package/multi-select-tree/package.json +4 -0
  67. package/package.json +9 -1
  68. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +33 -5
  69. package/types/nanahoshi-mona-ui-dropdown-tree.d.ts +414 -0
  70. package/types/nanahoshi-mona-ui-dropdowns.d.ts +198 -8
  71. package/types/nanahoshi-mona-ui-editor.d.ts +124 -2
  72. package/types/nanahoshi-mona-ui-file-upload.d.ts +1 -0
  73. package/types/nanahoshi-mona-ui-i18n.d.ts +44 -0
  74. package/types/nanahoshi-mona-ui-internal-tree.d.ts +36 -0
  75. package/types/nanahoshi-mona-ui-internal.d.ts +37 -0
  76. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +25 -0
  77. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +25 -0
  78. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +25 -0
  79. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +25 -0
  80. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +25 -0
  81. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +25 -0
  82. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +25 -0
  83. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +25 -0
  84. package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +25 -0
  85. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +25 -0
  86. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +25 -0
  87. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +25 -0
  88. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +25 -0
  89. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +25 -0
  90. package/types/nanahoshi-mona-ui-multi-select-tree.d.ts +456 -0
  91. package/types/nanahoshi-mona-ui-multi-select.d.ts +43 -7
@@ -233,7 +233,9 @@ const MONA_AR_SA_LOCALE = {
233
233
  ok: "موافق"
234
234
  },
235
235
  dropdownList: { clear: "مسح" },
236
+ dropdownTree: { clear: "مسح" },
236
237
  dropdowns: {
238
+ close: "إغلاق",
237
239
  itemPosition: (text, position, total) => `${text}، العنصر ${localizeNumber(position)} من ${localizeNumber(total)}`,
238
240
  noResultsFound: "لم يتم العثور على نتائج",
239
241
  resultsAvailable: (count) => `عدد النتائج المتاحة: ${localizeNumber(count)}`
@@ -255,6 +257,38 @@ const MONA_AR_SA_LOCALE = {
255
257
  backgroundColor: "لون الخلفية",
256
258
  bold: "عريض",
257
259
  cancel: "إلغاء",
260
+ characterCount: (count) => plural(PLURAL_RULES.select(count), {
261
+ zero: () => "لا أحرف",
262
+ one: () => "حرف واحد",
263
+ two: () => "حرفان",
264
+ few: () => `${localizeNumber(count)} أحرف`,
265
+ many: () => `${localizeNumber(count)} حرفًا`,
266
+ other: () => `${localizeNumber(count)} حرف`
267
+ }),
268
+ characterLimitHint: (limit) => `يمكنك إدخال ${plural(PLURAL_RULES.select(limit), {
269
+ zero: () => `${localizeNumber(limit)} حرف`,
270
+ one: () => "حرف واحد",
271
+ two: () => "حرفين",
272
+ few: () => `${localizeNumber(limit)} أحرف`,
273
+ many: () => `${localizeNumber(limit)} حرفًا`,
274
+ other: () => `${localizeNumber(limit)} حرف`
275
+ })} كحد أقصى.`,
276
+ charactersLeft: (count) => plural(PLURAL_RULES.select(count), {
277
+ zero: () => "لم يتبقَّ أي حرف",
278
+ one: () => "تبقّى حرف واحد",
279
+ two: () => "تبقّى حرفان",
280
+ few: () => `تبقّت ${localizeNumber(count)} أحرف`,
281
+ many: () => `تبقّى ${localizeNumber(count)} حرفًا`,
282
+ other: () => `تبقّى ${localizeNumber(count)} حرف`
283
+ }),
284
+ charactersOver: (count) => plural(PLURAL_RULES.select(count), {
285
+ zero: () => "لا أحرف زائدة",
286
+ one: () => "حرف واحد زائد",
287
+ two: () => "حرفان زائدان",
288
+ few: () => `${localizeNumber(count)} أحرف زائدة`,
289
+ many: () => `${localizeNumber(count)} حرفًا زائدًا`,
290
+ other: () => `${localizeNumber(count)} حرف زائد`
291
+ }),
258
292
  codeBlock: "كتلة تعليمات برمجية",
259
293
  color: "لون",
260
294
  contentLabel: "محرر النص المنسق",
@@ -262,6 +296,7 @@ const MONA_AR_SA_LOCALE = {
262
296
  deleteColumn: "حذف العمود",
263
297
  deleteRow: "حذف الصف",
264
298
  deleteTable: "حذف الجدول",
299
+ editImage: "تعديل الصورة",
265
300
  editLink: "تعديل الرابط",
266
301
  enterUrl: "إدخال عنوان URL",
267
302
  fontSize: "حجم الخط",
@@ -269,6 +304,11 @@ const MONA_AR_SA_LOCALE = {
269
304
  heading: (level) => `العنوان ${localizeNumber(level)}`,
270
305
  heightPx: "الارتفاع (px)",
271
306
  historyGroup: "السجل",
307
+ imageFile: "ملف الصورة",
308
+ imageInserted: (name) => `تم إدراج ${name}.`,
309
+ imageTooLarge: (name, size) => `لم تتم إضافة ${name}. حجم الملف أكبر من ${size}.`,
310
+ imageUploadFailed: (name) => `تعذّر رفع ${name}.`,
311
+ imageUploading: (name) => `جارٍ رفع ${name}`,
272
312
  imageUrl: "عنوان URL للصورة",
273
313
  indent: "زيادة المسافة البادئة",
274
314
  indentGroup: "المسافة البادئة",
@@ -284,12 +324,24 @@ const MONA_AR_SA_LOCALE = {
284
324
  justify: "ضبط",
285
325
  linkGroup: "الرابط",
286
326
  listGroup: "القوائم",
327
+ mentionNoResults: "لا توجد نتائج مطابقة",
328
+ mentionResults: (count) => plural(PLURAL_RULES.select(count), {
329
+ zero: () => "لا توجد اقتراحات",
330
+ one: () => "اقتراح واحد",
331
+ two: () => "اقتراحان",
332
+ few: () => `${localizeNumber(count)} اقتراحات`,
333
+ many: () => `${localizeNumber(count)} اقتراحًا`,
334
+ other: () => `${localizeNumber(count)} اقتراح`
335
+ }),
336
+ mentionSearching: "جارٍ البحث…",
337
+ mentionSuggestions: "اقتراحات",
287
338
  mergeCells: "دمج الخلايا المحددة",
288
339
  outdent: "تقليل المسافة البادئة",
289
340
  paragraph: "فقرة",
290
341
  quotation: "اقتباس",
291
342
  redo: "إعادة",
292
343
  removeLink: "إزالة الرابط",
344
+ save: "حفظ",
293
345
  selectFontFamily: "اختيار الخط",
294
346
  selectFontSize: "اختيار حجم الخط",
295
347
  splitCell: "تقسيم الخلية",
@@ -303,7 +355,15 @@ const MONA_AR_SA_LOCALE = {
303
355
  toolbar: "التنسيق",
304
356
  underline: "تسطير",
305
357
  undo: "تراجع",
306
- widthPx: "العرض (px)"
358
+ widthPx: "العرض (px)",
359
+ wordCount: (count) => plural(PLURAL_RULES.select(count), {
360
+ zero: () => "لا كلمات",
361
+ one: () => "كلمة واحدة",
362
+ two: () => "كلمتان",
363
+ few: () => `${localizeNumber(count)} كلمات`,
364
+ many: () => `${localizeNumber(count)} كلمةً`,
365
+ other: () => `${localizeNumber(count)} كلمة`
366
+ })
307
367
  },
308
368
  fileUpload: {
309
369
  browse: "استعراض الملفات",
@@ -515,6 +575,11 @@ const MONA_AR_SA_LOCALE = {
515
575
  removeMoreItems: (count) => `حذف العناصر الإضافية (${localizeNumber(count)})`,
516
576
  selectAll: "تحديد الكل"
517
577
  },
578
+ multiSelectTree: {
579
+ clear: "مسح",
580
+ itemsCount: (count) => `+ ${localizeNumber(count)}`,
581
+ removeMoreItems: (count) => `حذف العناصر الإضافية (${localizeNumber(count)})`
582
+ },
518
583
  notification: {
519
584
  close: "إغلاق",
520
585
  error: "خطأ",
@@ -217,7 +217,9 @@ const MONA_DE_DE_LOCALE = {
217
217
  ok: "OK"
218
218
  },
219
219
  dropdownList: { clear: "Leeren" },
220
+ dropdownTree: { clear: "Leeren" },
220
221
  dropdowns: {
222
+ close: "Schließen",
221
223
  itemPosition: (text, position, total) => `${text}, ${localizeNumber(position)} von ${localizeNumber(total)}`,
222
224
  noResultsFound: "Keine Ergebnisse gefunden",
223
225
  resultsAvailable: (count) => count === 1 ? "1 Ergebnis verfügbar" : `${localizeNumber(count)} Ergebnisse verfügbar`
@@ -239,6 +241,10 @@ const MONA_DE_DE_LOCALE = {
239
241
  backgroundColor: "Hintergrundfarbe",
240
242
  bold: "Fett",
241
243
  cancel: "Abbrechen",
244
+ characterCount: (count) => `${localizeNumber(count)} Zeichen`,
245
+ characterLimitHint: (limit) => `Sie können bis zu ${localizeNumber(limit)} Zeichen eingeben.`,
246
+ charactersLeft: (count) => `${localizeNumber(count)} Zeichen übrig`,
247
+ charactersOver: (count) => `${localizeNumber(count)} Zeichen zu viel`,
242
248
  codeBlock: "Codeblock",
243
249
  color: "Farbe",
244
250
  contentLabel: "Rich-Text-Editor",
@@ -246,6 +252,7 @@ const MONA_DE_DE_LOCALE = {
246
252
  deleteColumn: "Spalte löschen",
247
253
  deleteRow: "Zeile löschen",
248
254
  deleteTable: "Tabelle löschen",
255
+ editImage: "Bild bearbeiten",
249
256
  editLink: "Link bearbeiten",
250
257
  enterUrl: "URL eingeben",
251
258
  fontSize: "Schriftgröße",
@@ -253,6 +260,11 @@ const MONA_DE_DE_LOCALE = {
253
260
  heading: (level) => `Überschrift ${localizeNumber(level)}`,
254
261
  heightPx: "Höhe (px)",
255
262
  historyGroup: "Verlauf",
263
+ imageFile: "Bilddatei",
264
+ imageInserted: (name) => `${name} eingefügt.`,
265
+ imageTooLarge: (name, size) => `${name} wurde nicht hinzugefügt. Die Datei ist größer als ${size}.`,
266
+ imageUploadFailed: (name) => `${name} konnte nicht hochgeladen werden.`,
267
+ imageUploading: (name) => `${name} wird hochgeladen`,
256
268
  imageUrl: "Bild-URL",
257
269
  indent: "Einzug vergrößern",
258
270
  indentGroup: "Einzug",
@@ -268,12 +280,20 @@ const MONA_DE_DE_LOCALE = {
268
280
  justify: "Blocksatz",
269
281
  linkGroup: "Verknüpfung",
270
282
  listGroup: "Listen",
283
+ mentionNoResults: "Keine Treffer",
284
+ mentionResults: (count) => plural(PLURAL_RULES.select(count), {
285
+ one: () => `${localizeNumber(count)} Vorschlag`,
286
+ other: () => `${localizeNumber(count)} Vorschläge`
287
+ }),
288
+ mentionSearching: "Suche läuft…",
289
+ mentionSuggestions: "Vorschläge",
271
290
  mergeCells: "Ausgewählte Zellen verbinden",
272
291
  outdent: "Einzug verkleinern",
273
292
  paragraph: "Absatz",
274
293
  quotation: "Zitat",
275
294
  redo: "Wiederholen",
276
295
  removeLink: "Link entfernen",
296
+ save: "Speichern",
277
297
  selectFontFamily: "Schriftart auswählen",
278
298
  selectFontSize: "Schriftgröße auswählen",
279
299
  splitCell: "Zelle teilen",
@@ -287,7 +307,11 @@ const MONA_DE_DE_LOCALE = {
287
307
  toolbar: "Formatierung",
288
308
  underline: "Unterstrichen",
289
309
  undo: "Rückgängig",
290
- widthPx: "Breite (px)"
310
+ widthPx: "Breite (px)",
311
+ wordCount: (count) => plural(PLURAL_RULES.select(count), {
312
+ one: () => `${localizeNumber(count)} Wort`,
313
+ other: () => `${localizeNumber(count)} Wörter`
314
+ })
291
315
  },
292
316
  fileUpload: {
293
317
  browse: "Dateien durchsuchen",
@@ -473,6 +497,11 @@ const MONA_DE_DE_LOCALE = {
473
497
  removeMoreItems: (count) => count === 1 ? `${localizeNumber(count)} weiteres Element entfernen` : `${localizeNumber(count)} weitere Elemente entfernen`,
474
498
  selectAll: "Alle auswählen"
475
499
  },
500
+ multiSelectTree: {
501
+ clear: "Leeren",
502
+ itemsCount: (count) => count === 1 ? `+ ${localizeNumber(count)} Element` : `+ ${localizeNumber(count)} Elemente`,
503
+ removeMoreItems: (count) => count === 1 ? `${localizeNumber(count)} weiteres Element entfernen` : `${localizeNumber(count)} weitere Elemente entfernen`
504
+ },
476
505
  notification: {
477
506
  close: "Schließen",
478
507
  error: "Fehler",
@@ -217,7 +217,9 @@ const MONA_ES_ES_LOCALE = {
217
217
  ok: "Aceptar"
218
218
  },
219
219
  dropdownList: { clear: "Limpiar" },
220
+ dropdownTree: { clear: "Limpiar" },
220
221
  dropdowns: {
222
+ close: "Cerrar",
221
223
  itemPosition: (text, position, total) => `${text}, ${localizeNumber(position)} de ${localizeNumber(total)}`,
222
224
  noResultsFound: "No se han encontrado resultados",
223
225
  resultsAvailable: (count) => count === 1 ? "1 resultado disponible" : `${localizeNumber(count)} resultados disponibles`
@@ -239,6 +241,22 @@ const MONA_ES_ES_LOCALE = {
239
241
  backgroundColor: "Color de fondo",
240
242
  bold: "Negrita",
241
243
  cancel: "Cancelar",
244
+ characterCount: (count) => plural(PLURAL_RULES.select(count), {
245
+ one: () => `${localizeNumber(count)} carácter`,
246
+ other: () => `${localizeNumber(count)} caracteres`
247
+ }),
248
+ characterLimitHint: (limit) => `Puede escribir hasta ${plural(PLURAL_RULES.select(limit), {
249
+ one: () => `${localizeNumber(limit)} carácter`,
250
+ other: () => `${localizeNumber(limit)} caracteres`
251
+ })}.`,
252
+ charactersLeft: (count) => plural(PLURAL_RULES.select(count), {
253
+ one: () => `Queda ${localizeNumber(count)} carácter`,
254
+ other: () => `Quedan ${localizeNumber(count)} caracteres`
255
+ }),
256
+ charactersOver: (count) => plural(PLURAL_RULES.select(count), {
257
+ one: () => `${localizeNumber(count)} carácter de más`,
258
+ other: () => `${localizeNumber(count)} caracteres de más`
259
+ }),
242
260
  codeBlock: "Bloque de código",
243
261
  color: "Color",
244
262
  contentLabel: "Editor de texto enriquecido",
@@ -246,6 +264,7 @@ const MONA_ES_ES_LOCALE = {
246
264
  deleteColumn: "Eliminar columna",
247
265
  deleteRow: "Eliminar fila",
248
266
  deleteTable: "Eliminar tabla",
267
+ editImage: "Editar imagen",
249
268
  editLink: "Editar enlace",
250
269
  enterUrl: "Introducir la URL",
251
270
  fontSize: "Tamaño de fuente",
@@ -253,6 +272,11 @@ const MONA_ES_ES_LOCALE = {
253
272
  heading: (level) => `Encabezado ${localizeNumber(level)}`,
254
273
  heightPx: "Altura (px)",
255
274
  historyGroup: "Historial",
275
+ imageFile: "Archivo de imagen",
276
+ imageInserted: (name) => `Se ha insertado ${name}.`,
277
+ imageTooLarge: (name, size) => `No se ha añadido ${name}. El archivo supera ${size}.`,
278
+ imageUploadFailed: (name) => `No se ha podido subir ${name}.`,
279
+ imageUploading: (name) => `Subiendo ${name}`,
256
280
  imageUrl: "URL de la imagen",
257
281
  indent: "Aumentar sangría",
258
282
  indentGroup: "Sangría",
@@ -268,12 +292,20 @@ const MONA_ES_ES_LOCALE = {
268
292
  justify: "Justificar",
269
293
  linkGroup: "Enlace",
270
294
  listGroup: "Listas",
295
+ mentionNoResults: "No hay coincidencias",
296
+ mentionResults: (count) => plural(PLURAL_RULES.select(count), {
297
+ one: () => `${localizeNumber(count)} sugerencia`,
298
+ other: () => `${localizeNumber(count)} sugerencias`
299
+ }),
300
+ mentionSearching: "Buscando…",
301
+ mentionSuggestions: "Sugerencias",
271
302
  mergeCells: "Combinar celdas seleccionadas",
272
303
  outdent: "Reducir sangría",
273
304
  paragraph: "Párrafo",
274
305
  quotation: "Cita",
275
306
  redo: "Rehacer",
276
307
  removeLink: "Quitar enlace",
308
+ save: "Guardar",
277
309
  selectFontFamily: "Seleccionar familia de fuentes",
278
310
  selectFontSize: "Seleccionar tamaño de fuente",
279
311
  splitCell: "Dividir celda",
@@ -287,7 +319,11 @@ const MONA_ES_ES_LOCALE = {
287
319
  toolbar: "Formato",
288
320
  underline: "Subrayado",
289
321
  undo: "Deshacer",
290
- widthPx: "Anchura (px)"
322
+ widthPx: "Anchura (px)",
323
+ wordCount: (count) => plural(PLURAL_RULES.select(count), {
324
+ one: () => `${localizeNumber(count)} palabra`,
325
+ other: () => `${localizeNumber(count)} palabras`
326
+ })
291
327
  },
292
328
  fileUpload: {
293
329
  browse: "Examinar archivos",
@@ -479,6 +515,11 @@ const MONA_ES_ES_LOCALE = {
479
515
  removeMoreItems: (count) => count === 1 ? `Quitar ${localizeNumber(count)} elemento más` : `Quitar ${localizeNumber(count)} elementos más`,
480
516
  selectAll: "Seleccionar todo"
481
517
  },
518
+ multiSelectTree: {
519
+ clear: "Limpiar",
520
+ itemsCount: (count) => count === 1 ? `+ ${localizeNumber(count)} elemento` : `+ ${localizeNumber(count)} elementos`,
521
+ removeMoreItems: (count) => count === 1 ? `Quitar ${localizeNumber(count)} elemento más` : `Quitar ${localizeNumber(count)} elementos más`
522
+ },
482
523
  notification: {
483
524
  close: "Cerrar",
484
525
  error: "Error",
@@ -217,7 +217,9 @@ const MONA_FR_FR_LOCALE = {
217
217
  ok: "OK"
218
218
  },
219
219
  dropdownList: { clear: "Effacer" },
220
+ dropdownTree: { clear: "Effacer" },
220
221
  dropdowns: {
222
+ close: "Fermer",
221
223
  itemPosition: (text, position, total) => `${text}, ${localizeNumber(position)} sur ${localizeNumber(total)}`,
222
224
  noResultsFound: "Aucun résultat trouvé",
223
225
  resultsAvailable: (count) => count === 1 ? "1 résultat disponible" : `${localizeNumber(count)} résultats disponibles`
@@ -239,6 +241,22 @@ const MONA_FR_FR_LOCALE = {
239
241
  backgroundColor: "Couleur d’arrière-plan",
240
242
  bold: "Gras",
241
243
  cancel: "Annuler",
244
+ characterCount: (count) => plural(PLURAL_RULES.select(count), {
245
+ one: () => `${localizeNumber(count)} caractère`,
246
+ other: () => `${localizeNumber(count)} caractères`
247
+ }),
248
+ characterLimitHint: (limit) => `Vous pouvez saisir jusqu’à ${plural(PLURAL_RULES.select(limit), {
249
+ one: () => `${localizeNumber(limit)} caractère`,
250
+ other: () => `${localizeNumber(limit)} caractères`
251
+ })}.`,
252
+ charactersLeft: (count) => plural(PLURAL_RULES.select(count), {
253
+ one: () => `${localizeNumber(count)} caractère restant`,
254
+ other: () => `${localizeNumber(count)} caractères restants`
255
+ }),
256
+ charactersOver: (count) => plural(PLURAL_RULES.select(count), {
257
+ one: () => `${localizeNumber(count)} caractère en trop`,
258
+ other: () => `${localizeNumber(count)} caractères en trop`
259
+ }),
242
260
  codeBlock: "Bloc de code",
243
261
  color: "Couleur",
244
262
  contentLabel: "Éditeur de texte enrichi",
@@ -246,6 +264,7 @@ const MONA_FR_FR_LOCALE = {
246
264
  deleteColumn: "Supprimer la colonne",
247
265
  deleteRow: "Supprimer la ligne",
248
266
  deleteTable: "Supprimer le tableau",
267
+ editImage: "Modifier l’image",
249
268
  editLink: "Modifier le lien",
250
269
  enterUrl: "Saisir l’URL",
251
270
  fontSize: "Taille de police",
@@ -253,6 +272,11 @@ const MONA_FR_FR_LOCALE = {
253
272
  heading: (level) => `Titre ${localizeNumber(level)}`,
254
273
  heightPx: "Hauteur (px)",
255
274
  historyGroup: "Historique",
275
+ imageFile: "Fichier image",
276
+ imageInserted: (name) => `${name} a été inséré.`,
277
+ imageTooLarge: (name, size) => `${name} n’a pas été ajouté. Le fichier dépasse ${size}.`,
278
+ imageUploadFailed: (name) => `Impossible de téléverser ${name}.`,
279
+ imageUploading: (name) => `Téléversement de ${name}`,
256
280
  imageUrl: "URL de l’image",
257
281
  indent: "Augmenter le retrait",
258
282
  indentGroup: "Retrait",
@@ -268,12 +292,20 @@ const MONA_FR_FR_LOCALE = {
268
292
  justify: "Justifier le texte",
269
293
  linkGroup: "Lien",
270
294
  listGroup: "Listes",
295
+ mentionNoResults: "Aucun résultat",
296
+ mentionResults: (count) => plural(PLURAL_RULES.select(count), {
297
+ one: () => `${localizeNumber(count)} proposition`,
298
+ other: () => `${localizeNumber(count)} propositions`
299
+ }),
300
+ mentionSearching: "Recherche…",
301
+ mentionSuggestions: "Propositions",
271
302
  mergeCells: "Fusionner les cellules sélectionnées",
272
303
  outdent: "Diminuer le retrait",
273
304
  paragraph: "Paragraphe",
274
305
  quotation: "Citation",
275
306
  redo: "Rétablir",
276
307
  removeLink: "Supprimer le lien",
308
+ save: "Enregistrer",
277
309
  selectFontFamily: "Sélectionner la police",
278
310
  selectFontSize: "Sélectionner la taille de police",
279
311
  splitCell: "Scinder la cellule",
@@ -287,7 +319,11 @@ const MONA_FR_FR_LOCALE = {
287
319
  toolbar: "Mise en forme",
288
320
  underline: "Souligné",
289
321
  undo: "Annuler",
290
- widthPx: "Largeur (px)"
322
+ widthPx: "Largeur (px)",
323
+ wordCount: (count) => plural(PLURAL_RULES.select(count), {
324
+ one: () => `${localizeNumber(count)} mot`,
325
+ other: () => `${localizeNumber(count)} mots`
326
+ })
291
327
  },
292
328
  fileUpload: {
293
329
  browse: "Parcourir les fichiers",
@@ -479,6 +515,11 @@ const MONA_FR_FR_LOCALE = {
479
515
  removeMoreItems: (count) => count === 1 ? `Retirer ${localizeNumber(count)} autre élément` : `Retirer ${localizeNumber(count)} autres éléments`,
480
516
  selectAll: "Tout sélectionner"
481
517
  },
518
+ multiSelectTree: {
519
+ clear: "Effacer",
520
+ itemsCount: (count) => count === 1 ? `+ ${localizeNumber(count)} élément` : `+ ${localizeNumber(count)} éléments`,
521
+ removeMoreItems: (count) => count === 1 ? `Retirer ${localizeNumber(count)} autre élément` : `Retirer ${localizeNumber(count)} autres éléments`
522
+ },
482
523
  notification: {
483
524
  close: "Fermer",
484
525
  error: "Erreur",
@@ -201,7 +201,9 @@ const MONA_ID_ID_LOCALE = {
201
201
  ok: "OK"
202
202
  },
203
203
  dropdownList: { clear: "Bersihkan" },
204
+ dropdownTree: { clear: "Bersihkan" },
204
205
  dropdowns: {
206
+ close: "Tutup",
205
207
  itemPosition: (text, position, total) => `${text}, ${localizeNumber(position)} dari ${localizeNumber(total)}`,
206
208
  noResultsFound: "Tidak ada hasil",
207
209
  resultsAvailable: (count) => `${localizeNumber(count)} hasil tersedia`
@@ -223,6 +225,10 @@ const MONA_ID_ID_LOCALE = {
223
225
  backgroundColor: "Warna latar belakang",
224
226
  bold: "Tebal",
225
227
  cancel: "Batal",
228
+ characterCount: (count) => `${localizeNumber(count)} karakter`,
229
+ characterLimitHint: (limit) => `Anda dapat memasukkan hingga ${localizeNumber(limit)} karakter.`,
230
+ charactersLeft: (count) => `Sisa ${localizeNumber(count)} karakter`,
231
+ charactersOver: (count) => `Kelebihan ${localizeNumber(count)} karakter`,
226
232
  codeBlock: "Blok kode",
227
233
  color: "Warna",
228
234
  contentLabel: "Editor teks kaya",
@@ -230,6 +236,7 @@ const MONA_ID_ID_LOCALE = {
230
236
  deleteColumn: "Hapus kolom",
231
237
  deleteRow: "Hapus baris",
232
238
  deleteTable: "Hapus tabel",
239
+ editImage: "Edit gambar",
233
240
  editLink: "Edit tautan",
234
241
  enterUrl: "Masukkan URL",
235
242
  fontSize: "Ukuran font",
@@ -237,6 +244,11 @@ const MONA_ID_ID_LOCALE = {
237
244
  heading: (level) => `Judul ${localizeNumber(level)}`,
238
245
  heightPx: "Tinggi (px)",
239
246
  historyGroup: "Riwayat",
247
+ imageFile: "File gambar",
248
+ imageInserted: (name) => `${name} disisipkan.`,
249
+ imageTooLarge: (name, size) => `${name} tidak ditambahkan. File lebih besar dari ${size}.`,
250
+ imageUploadFailed: (name) => `${name} gagal diunggah.`,
251
+ imageUploading: (name) => `Mengunggah ${name}`,
240
252
  imageUrl: "URL gambar",
241
253
  indent: "Tambah inden",
242
254
  indentGroup: "Indentasi",
@@ -252,12 +264,17 @@ const MONA_ID_ID_LOCALE = {
252
264
  justify: "Rata kiri-kanan",
253
265
  linkGroup: "Tautan",
254
266
  listGroup: "Daftar",
267
+ mentionNoResults: "Tidak ada yang cocok",
268
+ mentionResults: (count) => `${localizeNumber(count)} saran`,
269
+ mentionSearching: "Mencari…",
270
+ mentionSuggestions: "Saran",
255
271
  mergeCells: "Gabungkan sel yang dipilih",
256
272
  outdent: "Kurangi inden",
257
273
  paragraph: "Paragraf",
258
274
  quotation: "Kutipan",
259
275
  redo: "Ulangi",
260
276
  removeLink: "Hapus tautan",
277
+ save: "Simpan",
261
278
  selectFontFamily: "Pilih keluarga font",
262
279
  selectFontSize: "Pilih ukuran font",
263
280
  splitCell: "Pisahkan sel",
@@ -271,7 +288,8 @@ const MONA_ID_ID_LOCALE = {
271
288
  toolbar: "Pemformatan",
272
289
  underline: "Garis bawah",
273
290
  undo: "Urungkan",
274
- widthPx: "Lebar (px)"
291
+ widthPx: "Lebar (px)",
292
+ wordCount: (count) => `${localizeNumber(count)} kata`
275
293
  },
276
294
  fileUpload: {
277
295
  browse: "Telusuri file",
@@ -448,6 +466,11 @@ const MONA_ID_ID_LOCALE = {
448
466
  removeMoreItems: (count) => `Hapus ${localizeNumber(count)} item lainnya`,
449
467
  selectAll: "Pilih semua"
450
468
  },
469
+ multiSelectTree: {
470
+ clear: "Bersihkan",
471
+ itemsCount: (count) => `+ ${localizeNumber(count)} item`,
472
+ removeMoreItems: (count) => `Hapus ${localizeNumber(count)} item lainnya`
473
+ },
451
474
  notification: {
452
475
  close: "Tutup",
453
476
  error: "Kesalahan",
@@ -217,7 +217,9 @@ const MONA_IT_IT_LOCALE = {
217
217
  ok: "OK"
218
218
  },
219
219
  dropdownList: { clear: "Cancella" },
220
+ dropdownTree: { clear: "Cancella" },
220
221
  dropdowns: {
222
+ close: "Chiudi",
221
223
  itemPosition: (text, position, total) => `${text}, ${localizeNumber(position)} di ${localizeNumber(total)}`,
222
224
  noResultsFound: "Nessun risultato trovato",
223
225
  resultsAvailable: (count) => count === 1 ? "1 risultato disponibile" : `${localizeNumber(count)} risultati disponibili`
@@ -239,6 +241,22 @@ const MONA_IT_IT_LOCALE = {
239
241
  backgroundColor: "Colore di sfondo",
240
242
  bold: "Grassetto",
241
243
  cancel: "Annulla",
244
+ characterCount: (count) => plural(PLURAL_RULES.select(count), {
245
+ one: () => `${localizeNumber(count)} carattere`,
246
+ other: () => `${localizeNumber(count)} caratteri`
247
+ }),
248
+ characterLimitHint: (limit) => `Puoi inserire fino a ${plural(PLURAL_RULES.select(limit), {
249
+ one: () => `${localizeNumber(limit)} carattere`,
250
+ other: () => `${localizeNumber(limit)} caratteri`
251
+ })}.`,
252
+ charactersLeft: (count) => plural(PLURAL_RULES.select(count), {
253
+ one: () => `${localizeNumber(count)} carattere rimanente`,
254
+ other: () => `${localizeNumber(count)} caratteri rimanenti`
255
+ }),
256
+ charactersOver: (count) => plural(PLURAL_RULES.select(count), {
257
+ one: () => `${localizeNumber(count)} carattere di troppo`,
258
+ other: () => `${localizeNumber(count)} caratteri di troppo`
259
+ }),
242
260
  codeBlock: "Blocco di codice",
243
261
  color: "Colore",
244
262
  contentLabel: "Editor di testo formattato",
@@ -246,6 +264,7 @@ const MONA_IT_IT_LOCALE = {
246
264
  deleteColumn: "Elimina colonna",
247
265
  deleteRow: "Elimina riga",
248
266
  deleteTable: "Elimina tabella",
267
+ editImage: "Modifica immagine",
249
268
  editLink: "Modifica collegamento",
250
269
  enterUrl: "Inserisci l'URL",
251
270
  fontSize: "Dimensione carattere",
@@ -253,6 +272,11 @@ const MONA_IT_IT_LOCALE = {
253
272
  heading: (level) => `Intestazione ${localizeNumber(level)}`,
254
273
  heightPx: "Altezza (px)",
255
274
  historyGroup: "Cronologia",
275
+ imageFile: "File immagine",
276
+ imageInserted: (name) => `${name} inserito.`,
277
+ imageTooLarge: (name, size) => `${name} non è stato aggiunto. Il file supera ${size}.`,
278
+ imageUploadFailed: (name) => `Impossibile caricare ${name}.`,
279
+ imageUploading: (name) => `Caricamento di ${name}`,
256
280
  imageUrl: "URL immagine",
257
281
  indent: "Aumenta rientro",
258
282
  indentGroup: "Rientro",
@@ -268,12 +292,20 @@ const MONA_IT_IT_LOCALE = {
268
292
  justify: "Giustifica",
269
293
  linkGroup: "Collegamento",
270
294
  listGroup: "Elenchi",
295
+ mentionNoResults: "Nessuna corrispondenza",
296
+ mentionResults: (count) => plural(PLURAL_RULES.select(count), {
297
+ one: () => `${localizeNumber(count)} suggerimento`,
298
+ other: () => `${localizeNumber(count)} suggerimenti`
299
+ }),
300
+ mentionSearching: "Ricerca in corso…",
301
+ mentionSuggestions: "Suggerimenti",
271
302
  mergeCells: "Unisci celle selezionate",
272
303
  outdent: "Riduci rientro",
273
304
  paragraph: "Paragrafo",
274
305
  quotation: "Citazione",
275
306
  redo: "Ripeti",
276
307
  removeLink: "Rimuovi link",
308
+ save: "Salva",
277
309
  selectFontFamily: "Seleziona tipo di carattere",
278
310
  selectFontSize: "Seleziona dimensione carattere",
279
311
  splitCell: "Dividi cella",
@@ -287,7 +319,11 @@ const MONA_IT_IT_LOCALE = {
287
319
  toolbar: "Formattazione",
288
320
  underline: "Sottolineato",
289
321
  undo: "Annulla",
290
- widthPx: "Larghezza (px)"
322
+ widthPx: "Larghezza (px)",
323
+ wordCount: (count) => plural(PLURAL_RULES.select(count), {
324
+ one: () => `${localizeNumber(count)} parola`,
325
+ other: () => `${localizeNumber(count)} parole`
326
+ })
291
327
  },
292
328
  fileUpload: {
293
329
  browse: "Sfoglia i file",
@@ -479,6 +515,11 @@ const MONA_IT_IT_LOCALE = {
479
515
  removeMoreItems: (count) => count === 1 ? "Rimuovi un altro elemento" : `Rimuovi altri ${localizeNumber(count)} elementi`,
480
516
  selectAll: "Seleziona tutto"
481
517
  },
518
+ multiSelectTree: {
519
+ clear: "Cancella",
520
+ itemsCount: (count) => count === 1 ? "+ 1 elemento" : `+ ${localizeNumber(count)} elementi`,
521
+ removeMoreItems: (count) => count === 1 ? "Rimuovi un altro elemento" : `Rimuovi altri ${localizeNumber(count)} elementi`
522
+ },
482
523
  notification: {
483
524
  close: "Chiudi",
484
525
  error: "Errore",
@@ -201,7 +201,9 @@ const MONA_JA_JP_LOCALE = {
201
201
  ok: "OK"
202
202
  },
203
203
  dropdownList: { clear: "クリア" },
204
+ dropdownTree: { clear: "クリア" },
204
205
  dropdowns: {
206
+ close: "閉じる",
205
207
  itemPosition: (text, position, total) => `${text}、${localizeNumber(total)}件中${localizeNumber(position)}件目`,
206
208
  noResultsFound: "結果が見つかりません",
207
209
  resultsAvailable: (count) => `${localizeNumber(count)}件の結果があります`
@@ -223,6 +225,10 @@ const MONA_JA_JP_LOCALE = {
223
225
  backgroundColor: "背景色",
224
226
  bold: "太字",
225
227
  cancel: "キャンセル",
228
+ characterCount: (count) => `${localizeNumber(count)} 文字`,
229
+ characterLimitHint: (limit) => `${localizeNumber(limit)} 文字まで入力できます。`,
230
+ charactersLeft: (count) => `残り ${localizeNumber(count)} 文字`,
231
+ charactersOver: (count) => `${localizeNumber(count)} 文字超過`,
226
232
  codeBlock: "コードブロック",
227
233
  color: "色",
228
234
  contentLabel: "リッチテキストエディター",
@@ -230,6 +236,7 @@ const MONA_JA_JP_LOCALE = {
230
236
  deleteColumn: "列を削除",
231
237
  deleteRow: "行を削除",
232
238
  deleteTable: "表を削除",
239
+ editImage: "画像を編集",
233
240
  editLink: "リンクを編集",
234
241
  enterUrl: "URLを入力",
235
242
  fontSize: "フォントサイズ",
@@ -237,6 +244,11 @@ const MONA_JA_JP_LOCALE = {
237
244
  heading: (level) => `見出し${localizeNumber(level)}`,
238
245
  heightPx: "高さ (px)",
239
246
  historyGroup: "履歴",
247
+ imageFile: "画像ファイル",
248
+ imageInserted: (name) => `${name} を挿入しました。`,
249
+ imageTooLarge: (name, size) => `${name} は追加されませんでした。ファイルが ${size} を超えています。`,
250
+ imageUploadFailed: (name) => `${name} をアップロードできませんでした。`,
251
+ imageUploading: (name) => `${name} をアップロード中`,
240
252
  imageUrl: "画像URL",
241
253
  indent: "インデントを増やす",
242
254
  indentGroup: "インデント",
@@ -252,12 +264,17 @@ const MONA_JA_JP_LOCALE = {
252
264
  justify: "両端揃え",
253
265
  linkGroup: "リンク",
254
266
  listGroup: "リスト",
267
+ mentionNoResults: "一致する候補はありません",
268
+ mentionResults: (count) => `${localizeNumber(count)} 件の候補`,
269
+ mentionSearching: "検索中…",
270
+ mentionSuggestions: "候補",
255
271
  mergeCells: "選択したセルを結合",
256
272
  outdent: "インデントを減らす",
257
273
  paragraph: "段落",
258
274
  quotation: "引用",
259
275
  redo: "やり直す",
260
276
  removeLink: "リンクを削除",
277
+ save: "保存",
261
278
  selectFontFamily: "フォントを選択",
262
279
  selectFontSize: "フォントサイズを選択",
263
280
  splitCell: "セルを分割",
@@ -271,7 +288,8 @@ const MONA_JA_JP_LOCALE = {
271
288
  toolbar: "書式設定",
272
289
  underline: "下線",
273
290
  undo: "元に戻す",
274
- widthPx: "幅 (px)"
291
+ widthPx: "幅 (px)",
292
+ wordCount: (count) => `${localizeNumber(count)} 語`
275
293
  },
276
294
  fileUpload: {
277
295
  browse: "ファイルを参照",
@@ -448,6 +466,11 @@ const MONA_JA_JP_LOCALE = {
448
466
  removeMoreItems: (count) => `他の${localizeNumber(count)}件を削除`,
449
467
  selectAll: "すべて選択"
450
468
  },
469
+ multiSelectTree: {
470
+ clear: "クリア",
471
+ itemsCount: (count) => `+ ${localizeNumber(count)}件`,
472
+ removeMoreItems: (count) => `他の${localizeNumber(count)}件を削除`
473
+ },
451
474
  notification: {
452
475
  close: "閉じる",
453
476
  error: "エラー",