@nanahoshi/mona-ui 0.36.0 → 0.37.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 (61) hide show
  1. package/docs/api/editor.md +67 -0
  2. package/docs/api/file-upload.md +1 -1
  3. package/docs/api/i18n.md +16 -0
  4. package/docs/api/locales.md +14 -14
  5. package/docs/api/popup.md +1 -1
  6. package/docs/editor.md +238 -9
  7. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1348 -190
  8. package/fesm2022/nanahoshi-mona-ui-file-upload.mjs +28 -94
  9. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +50 -1
  10. package/fesm2022/nanahoshi-mona-ui-internal.mjs +83 -2
  11. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +59 -1
  12. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +23 -1
  13. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +35 -1
  14. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +35 -1
  15. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +17 -1
  16. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +35 -1
  17. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +17 -1
  18. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +17 -1
  19. package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +47 -1
  20. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +35 -1
  21. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +47 -1
  22. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +17 -1
  23. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +17 -1
  24. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +17 -1
  25. package/fesm2022/nanahoshi-mona-ui-popup.mjs +29 -8
  26. package/i18n/catalogs/en-US.messages.json +17 -1
  27. package/llms.txt +1 -1
  28. package/locales/ar-sa/ar-sa.messages.json +17 -1
  29. package/locales/de-de/de-de.messages.json +17 -1
  30. package/locales/es-es/es-es.messages.json +17 -1
  31. package/locales/fr-fr/fr-fr.messages.json +17 -1
  32. package/locales/id-id/id-id.messages.json +17 -1
  33. package/locales/it-it/it-it.messages.json +17 -1
  34. package/locales/ja-jp/ja-jp.messages.json +17 -1
  35. package/locales/ko-kr/ko-kr.messages.json +17 -1
  36. package/locales/pl-pl/pl-pl.messages.json +17 -1
  37. package/locales/pt-br/pt-br.messages.json +17 -1
  38. package/locales/ru-ru/ru-ru.messages.json +17 -1
  39. package/locales/tr-tr/tr-tr.messages.json +17 -1
  40. package/locales/zh-cn/zh-cn.messages.json +17 -1
  41. package/locales/zh-tw/zh-tw.messages.json +17 -1
  42. package/package.json +1 -1
  43. package/types/nanahoshi-mona-ui-editor.d.ts +124 -2
  44. package/types/nanahoshi-mona-ui-file-upload.d.ts +1 -0
  45. package/types/nanahoshi-mona-ui-i18n.d.ts +32 -0
  46. package/types/nanahoshi-mona-ui-internal.d.ts +37 -0
  47. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +16 -0
  48. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +16 -0
  49. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +16 -0
  50. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +16 -0
  51. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +16 -0
  52. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +16 -0
  53. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +16 -0
  54. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +16 -0
  55. package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +16 -0
  56. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +16 -0
  57. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +16 -0
  58. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +16 -0
  59. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +16 -0
  60. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +16 -0
  61. package/types/nanahoshi-mona-ui-popup.d.ts +3 -1
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { Component, DOCUMENT, DestroyRef, ElementRef, Injectable, InjectionToken, Injector, TemplateRef, ViewContainerRef, booleanAttribute, computed, effect, inject, input, output, signal, viewChild } from "@angular/core";
3
3
  import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
4
- import { ReplaySubject, Subject, Subscription, asapScheduler, asyncScheduler, fromEvent, merge, take, takeUntil } from "rxjs";
4
+ import { ReplaySubject, Subject, Subscription, asapScheduler, asyncScheduler, filter, fromEvent, merge, take, takeUntil } from "rxjs";
5
5
  import { PreventableEvent } from "@nanahoshi/mona-ui/common";
6
6
  import { Directionality } from "@angular/cdk/bidi";
7
7
  import { Overlay, OverlayConfig } from "@angular/cdk/overlay";
@@ -356,7 +356,7 @@ var PopupReference = class {
356
356
  return this.overlayReference;
357
357
  }
358
358
  };
359
- const connectionPosition = (anchorConnectionPoint, popupConnectionPoint) => {
359
+ const connectionPosition = (anchorConnectionPoint, popupConnectionPoint, offset) => {
360
360
  const originMap = {
361
361
  topleft: {
362
362
  originX: "start",
@@ -437,7 +437,15 @@ const connectionPosition = (anchorConnectionPoint, popupConnectionPoint) => {
437
437
  ...originMap[anchorConnectionPoint],
438
438
  ...overlayMap[popupConnectionPoint]
439
439
  };
440
- return [primaryPosition, ...generateFallbackPositions(primaryPosition)];
440
+ const positions = [primaryPosition, ...generateFallbackPositions(primaryPosition)];
441
+ if (!offset) return positions;
442
+ const horizontal = offset.horizontal ?? 0;
443
+ const vertical = offset.vertical ?? 0;
444
+ return positions.map((position) => ({
445
+ ...position,
446
+ offsetX: mirrorsX(primaryPosition, position) ? negate(horizontal) : horizontal,
447
+ offsetY: mirrorsY(primaryPosition, position) ? negate(vertical) : vertical
448
+ }));
441
449
  };
442
450
  const generateFallbackPositions = (primaryPosition) => {
443
451
  const { originX, originY, overlayX, overlayY } = primaryPosition;
@@ -583,6 +591,9 @@ const generateFallbackPositions = (primaryPosition) => {
583
591
  };
584
592
  const flipX = (value) => value === "start" ? "end" : value === "end" ? "start" : value;
585
593
  const flipY = (value) => value === "top" ? "bottom" : value === "bottom" ? "top" : value;
594
+ const mirrorsX = (primary, position) => (position.originX !== primary.originX || position.overlayX !== primary.overlayX) && position.originX === flipX(primary.originX) && position.overlayX === flipX(primary.overlayX);
595
+ const mirrorsY = (primary, position) => (position.originY !== primary.originY || position.overlayY !== primary.overlayY) && position.originY === flipY(primary.originY) && position.overlayY === flipY(primary.overlayY);
596
+ const negate = (value) => value === 0 ? 0 : -value;
586
597
  var PopupService = class PopupService {
587
598
  #destroyRef = inject(DestroyRef);
588
599
  #directionality = inject(Directionality, { optional: true });
@@ -683,7 +694,7 @@ var PopupService = class PopupService {
683
694
  createPositionStrategy(settings) {
684
695
  if (settings.positionStrategy === "global") return this.#overlay.position().global();
685
696
  const resolvedAnchor = this.resolveAnchor(settings.anchor);
686
- const position = settings.positions?.length ? settings.positions : this.getPosition(settings.anchorConnectionPoint, settings.popupConnectionPoint);
697
+ const position = settings.positions?.length ? settings.positions : this.getPosition(settings.anchorConnectionPoint, settings.popupConnectionPoint, settings.offset);
687
698
  const strategy = this.#overlay.position().flexibleConnectedTo(resolvedAnchor).withPositions(position).withDefaultOffsetX(settings.offset?.horizontal ?? 0).withDefaultOffsetY(settings.offset?.vertical ?? 0).withPush(settings.withPush ?? true);
688
699
  if (settings.withScrollTracking ?? true) {
689
700
  const scrollableContainers = this.getScrollableContainers(resolvedAnchor);
@@ -721,8 +732,8 @@ var PopupService = class PopupService {
721
732
  if (typeof anchor === "object" && "nativeElement" in anchor && anchor.nativeElement instanceof HTMLElement) return anchor.nativeElement;
722
733
  return null;
723
734
  }
724
- getPosition(anchorConnectionPoint, popupConnectionPoint) {
725
- return connectionPosition(anchorConnectionPoint ?? "bottomleft", popupConnectionPoint ?? "topleft");
735
+ getPosition(anchorConnectionPoint, popupConnectionPoint, offset) {
736
+ return connectionPosition(anchorConnectionPoint ?? "bottomleft", popupConnectionPoint ?? "topleft", offset);
726
737
  }
727
738
  getScrollableAncestorElements(anchorElement) {
728
739
  const scrollables = [];
@@ -939,12 +950,22 @@ var PopupService = class PopupService {
939
950
  popupReference.close(closeEvent, 0);
940
951
  };
941
952
  const win = this.#document.defaultView;
942
- const pageEvents = [fromEvent(win, "scroll", { passive: true }), fromEvent(this.#document, "scroll", { passive: true })];
953
+ const pageStart = {
954
+ left: win.scrollX,
955
+ top: win.scrollY
956
+ };
957
+ const pageMoved = () => win.scrollX !== pageStart.left || win.scrollY !== pageStart.top;
958
+ const pageEvents = [fromEvent(win, "scroll", { passive: true }).pipe(filter(pageMoved)), fromEvent(this.#document, "scroll", { passive: true }).pipe(filter(pageMoved))];
943
959
  if (scrollableContainers.length === 0) pageEvents.push(fromEvent(win, "resize", { passive: true }));
944
960
  const pageScrollSubscription = merge(...pageEvents).pipe(takeUntil(popupReference.closed), takeUntilDestroyed(this.#destroyRef)).subscribe((event) => handleScrollClose(event));
945
961
  subscriptions.push(pageScrollSubscription);
946
962
  scrollableContainers.forEach((scrollable) => {
947
- const containerScrollSubscription = scrollable.elementScrolled().pipe(takeUntil(popupReference.closed), takeUntilDestroyed(this.#destroyRef)).subscribe(() => handleScrollClose());
963
+ const element = scrollable.getElementRef().nativeElement;
964
+ const start = {
965
+ left: element.scrollLeft,
966
+ top: element.scrollTop
967
+ };
968
+ const containerScrollSubscription = scrollable.elementScrolled().pipe(filter(() => element.scrollLeft !== start.left || element.scrollTop !== start.top), takeUntil(popupReference.closed), takeUntilDestroyed(this.#destroyRef)).subscribe(() => handleScrollClose());
948
969
  subscriptions.push(containerScrollSubscription);
949
970
  });
950
971
  popupReference.closed.pipe(take(1)).subscribe(() => {
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "Background color",
233
233
  "bold": "Bold",
234
234
  "cancel": "Cancel",
235
+ "characterCount": "{count, plural, one {# character} other {# characters}}",
236
+ "characterLimitHint": "You can enter up to {limit, plural, one {# character} other {# characters}}.",
237
+ "charactersLeft": "{count, plural, one {# character left} other {# characters left}}",
238
+ "charactersOver": "{count, plural, one {# character too many} other {# characters too many}}",
235
239
  "codeBlock": "Code block",
236
240
  "color": "Color",
237
241
  "contentLabel": "Rich text editor",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "Delete column",
240
244
  "deleteRow": "Delete row",
241
245
  "deleteTable": "Delete table",
246
+ "editImage": "Edit image",
242
247
  "editLink": "Edit link",
243
248
  "enterUrl": "Enter the URL",
244
249
  "fontSize": "Font size",
@@ -246,6 +251,11 @@
246
251
  "heading": "Heading {level}",
247
252
  "heightPx": "Height (px)",
248
253
  "historyGroup": "History",
254
+ "imageFile": "Image file",
255
+ "imageInserted": "{name} inserted.",
256
+ "imageTooLarge": "{name} wasn't added. The file is larger than {size}.",
257
+ "imageUploadFailed": "{name} couldn't be uploaded.",
258
+ "imageUploading": "Uploading {name}",
249
259
  "imageUrl": "Image URL",
250
260
  "indent": "Indent",
251
261
  "indentGroup": "Indentation",
@@ -261,12 +271,17 @@
261
271
  "justify": "Justify",
262
272
  "linkGroup": "Link",
263
273
  "listGroup": "Lists",
274
+ "mentionNoResults": "No matches",
275
+ "mentionResults": "{count, plural, one {# suggestion} other {# suggestions}}",
276
+ "mentionSearching": "Searching…",
277
+ "mentionSuggestions": "Suggestions",
264
278
  "mergeCells": "Merge selected cells",
265
279
  "outdent": "Outdent",
266
280
  "paragraph": "Paragraph",
267
281
  "quotation": "Quotation",
268
282
  "redo": "Redo",
269
283
  "removeLink": "Remove link",
284
+ "save": "Save",
270
285
  "selectFontFamily": "Select font family",
271
286
  "selectFontSize": "Select font size",
272
287
  "splitCell": "Split cell",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "Formatting",
281
296
  "underline": "Underline",
282
297
  "undo": "Undo",
283
- "widthPx": "Width (px)"
298
+ "widthPx": "Width (px)",
299
+ "wordCount": "{count, plural, one {# word} other {# words}}"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "Browse files",
package/llms.txt CHANGED
@@ -189,7 +189,7 @@ Mona UI is an Angular component library styled with Tailwind CSS 4. Its componen
189
189
  - [`@nanahoshi/mona-ui/dropdown-button`](docs/api/dropdown-button.md): 12 exports, in full.
190
190
  - [`@nanahoshi/mona-ui/dropdown-list`](docs/api/dropdown-list.md): 3 exports, in full.
191
191
  - [`@nanahoshi/mona-ui/dropdowns`](docs/api/dropdowns.md): 18 exports, in full.
192
- - [`@nanahoshi/mona-ui/editor`](docs/api/editor.md): 4 exports, in full.
192
+ - [`@nanahoshi/mona-ui/editor`](docs/api/editor.md): 8 exports, in full.
193
193
  - [`@nanahoshi/mona-ui/expansion-panel`](docs/api/expansion-panel.md): 5 exports, in full.
194
194
  - [`@nanahoshi/mona-ui/fieldset`](docs/api/fieldset.md): 2 exports, in full.
195
195
  - [`@nanahoshi/mona-ui/file-upload`](docs/api/file-upload.md): 8 exports, in full.
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "لون الخلفية",
233
233
  "bold": "عريض",
234
234
  "cancel": "إلغاء",
235
+ "characterCount": "{count, plural, zero {لا أحرف} one {حرف واحد} two {حرفان} few {# أحرف} many {# حرفًا} other {# حرف}}",
236
+ "characterLimitHint": "يمكنك إدخال {limit, plural, zero {# حرف} one {حرف واحد} two {حرفين} few {# أحرف} many {# حرفًا} other {# حرف}} كحد أقصى.",
237
+ "charactersLeft": "{count, plural, zero {لم يتبقَّ أي حرف} one {تبقّى حرف واحد} two {تبقّى حرفان} few {تبقّت # أحرف} many {تبقّى # حرفًا} other {تبقّى # حرف}}",
238
+ "charactersOver": "{count, plural, zero {لا أحرف زائدة} one {حرف واحد زائد} two {حرفان زائدان} few {# أحرف زائدة} many {# حرفًا زائدًا} other {# حرف زائد}}",
235
239
  "codeBlock": "كتلة تعليمات برمجية",
236
240
  "color": "لون",
237
241
  "contentLabel": "محرر النص المنسق",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "حذف العمود",
240
244
  "deleteRow": "حذف الصف",
241
245
  "deleteTable": "حذف الجدول",
246
+ "editImage": "تعديل الصورة",
242
247
  "editLink": "تعديل الرابط",
243
248
  "enterUrl": "إدخال عنوان URL",
244
249
  "fontSize": "حجم الخط",
@@ -246,6 +251,11 @@
246
251
  "heading": "العنوان {level}",
247
252
  "heightPx": "الارتفاع (px)",
248
253
  "historyGroup": "السجل",
254
+ "imageFile": "ملف الصورة",
255
+ "imageInserted": "تم إدراج {name}.",
256
+ "imageTooLarge": "لم تتم إضافة {name}. حجم الملف أكبر من {size}.",
257
+ "imageUploadFailed": "تعذّر رفع {name}.",
258
+ "imageUploading": "جارٍ رفع {name}",
249
259
  "imageUrl": "عنوان URL للصورة",
250
260
  "indent": "زيادة المسافة البادئة",
251
261
  "indentGroup": "المسافة البادئة",
@@ -261,12 +271,17 @@
261
271
  "justify": "ضبط",
262
272
  "linkGroup": "الرابط",
263
273
  "listGroup": "القوائم",
274
+ "mentionNoResults": "لا توجد نتائج مطابقة",
275
+ "mentionResults": "{count, plural, zero {لا توجد اقتراحات} one {اقتراح واحد} two {اقتراحان} few {# اقتراحات} many {# اقتراحًا} other {# اقتراح}}",
276
+ "mentionSearching": "جارٍ البحث…",
277
+ "mentionSuggestions": "اقتراحات",
264
278
  "mergeCells": "دمج الخلايا المحددة",
265
279
  "outdent": "تقليل المسافة البادئة",
266
280
  "paragraph": "فقرة",
267
281
  "quotation": "اقتباس",
268
282
  "redo": "إعادة",
269
283
  "removeLink": "إزالة الرابط",
284
+ "save": "حفظ",
270
285
  "selectFontFamily": "اختيار الخط",
271
286
  "selectFontSize": "اختيار حجم الخط",
272
287
  "splitCell": "تقسيم الخلية",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "التنسيق",
281
296
  "underline": "تسطير",
282
297
  "undo": "تراجع",
283
- "widthPx": "العرض (px)"
298
+ "widthPx": "العرض (px)",
299
+ "wordCount": "{count, plural, zero {لا كلمات} one {كلمة واحدة} two {كلمتان} few {# كلمات} many {# كلمةً} other {# كلمة}}"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "استعراض الملفات",
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "Hintergrundfarbe",
233
233
  "bold": "Fett",
234
234
  "cancel": "Abbrechen",
235
+ "characterCount": "{count} Zeichen",
236
+ "characterLimitHint": "Sie können bis zu {limit} Zeichen eingeben.",
237
+ "charactersLeft": "{count} Zeichen übrig",
238
+ "charactersOver": "{count} Zeichen zu viel",
235
239
  "codeBlock": "Codeblock",
236
240
  "color": "Farbe",
237
241
  "contentLabel": "Rich-Text-Editor",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "Spalte löschen",
240
244
  "deleteRow": "Zeile löschen",
241
245
  "deleteTable": "Tabelle löschen",
246
+ "editImage": "Bild bearbeiten",
242
247
  "editLink": "Link bearbeiten",
243
248
  "enterUrl": "URL eingeben",
244
249
  "fontSize": "Schriftgröße",
@@ -246,6 +251,11 @@
246
251
  "heading": "Überschrift {level}",
247
252
  "heightPx": "Höhe (px)",
248
253
  "historyGroup": "Verlauf",
254
+ "imageFile": "Bilddatei",
255
+ "imageInserted": "{name} eingefügt.",
256
+ "imageTooLarge": "{name} wurde nicht hinzugefügt. Die Datei ist größer als {size}.",
257
+ "imageUploadFailed": "{name} konnte nicht hochgeladen werden.",
258
+ "imageUploading": "{name} wird hochgeladen",
249
259
  "imageUrl": "Bild-URL",
250
260
  "indent": "Einzug vergrößern",
251
261
  "indentGroup": "Einzug",
@@ -261,12 +271,17 @@
261
271
  "justify": "Blocksatz",
262
272
  "linkGroup": "Verknüpfung",
263
273
  "listGroup": "Listen",
274
+ "mentionNoResults": "Keine Treffer",
275
+ "mentionResults": "{count, plural, one {# Vorschlag} other {# Vorschläge}}",
276
+ "mentionSearching": "Suche läuft…",
277
+ "mentionSuggestions": "Vorschläge",
264
278
  "mergeCells": "Ausgewählte Zellen verbinden",
265
279
  "outdent": "Einzug verkleinern",
266
280
  "paragraph": "Absatz",
267
281
  "quotation": "Zitat",
268
282
  "redo": "Wiederholen",
269
283
  "removeLink": "Link entfernen",
284
+ "save": "Speichern",
270
285
  "selectFontFamily": "Schriftart auswählen",
271
286
  "selectFontSize": "Schriftgröße auswählen",
272
287
  "splitCell": "Zelle teilen",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "Formatierung",
281
296
  "underline": "Unterstrichen",
282
297
  "undo": "Rückgängig",
283
- "widthPx": "Breite (px)"
298
+ "widthPx": "Breite (px)",
299
+ "wordCount": "{count, plural, one {# Wort} other {# Wörter}}"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "Dateien durchsuchen",
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "Color de fondo",
233
233
  "bold": "Negrita",
234
234
  "cancel": "Cancelar",
235
+ "characterCount": "{count, plural, one {# carácter} other {# caracteres}}",
236
+ "characterLimitHint": "Puede escribir hasta {limit, plural, one {# carácter} other {# caracteres}}.",
237
+ "charactersLeft": "{count, plural, one {Queda # carácter} other {Quedan # caracteres}}",
238
+ "charactersOver": "{count, plural, one {# carácter de más} other {# caracteres de más}}",
235
239
  "codeBlock": "Bloque de código",
236
240
  "color": "Color",
237
241
  "contentLabel": "Editor de texto enriquecido",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "Eliminar columna",
240
244
  "deleteRow": "Eliminar fila",
241
245
  "deleteTable": "Eliminar tabla",
246
+ "editImage": "Editar imagen",
242
247
  "editLink": "Editar enlace",
243
248
  "enterUrl": "Introducir la URL",
244
249
  "fontSize": "Tamaño de fuente",
@@ -246,6 +251,11 @@
246
251
  "heading": "Encabezado {level}",
247
252
  "heightPx": "Altura (px)",
248
253
  "historyGroup": "Historial",
254
+ "imageFile": "Archivo de imagen",
255
+ "imageInserted": "Se ha insertado {name}.",
256
+ "imageTooLarge": "No se ha añadido {name}. El archivo supera {size}.",
257
+ "imageUploadFailed": "No se ha podido subir {name}.",
258
+ "imageUploading": "Subiendo {name}",
249
259
  "imageUrl": "URL de la imagen",
250
260
  "indent": "Aumentar sangría",
251
261
  "indentGroup": "Sangría",
@@ -261,12 +271,17 @@
261
271
  "justify": "Justificar",
262
272
  "linkGroup": "Enlace",
263
273
  "listGroup": "Listas",
274
+ "mentionNoResults": "No hay coincidencias",
275
+ "mentionResults": "{count, plural, one {# sugerencia} other {# sugerencias}}",
276
+ "mentionSearching": "Buscando…",
277
+ "mentionSuggestions": "Sugerencias",
264
278
  "mergeCells": "Combinar celdas seleccionadas",
265
279
  "outdent": "Reducir sangría",
266
280
  "paragraph": "Párrafo",
267
281
  "quotation": "Cita",
268
282
  "redo": "Rehacer",
269
283
  "removeLink": "Quitar enlace",
284
+ "save": "Guardar",
270
285
  "selectFontFamily": "Seleccionar familia de fuentes",
271
286
  "selectFontSize": "Seleccionar tamaño de fuente",
272
287
  "splitCell": "Dividir celda",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "Formato",
281
296
  "underline": "Subrayado",
282
297
  "undo": "Deshacer",
283
- "widthPx": "Anchura (px)"
298
+ "widthPx": "Anchura (px)",
299
+ "wordCount": "{count, plural, one {# palabra} other {# palabras}}"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "Examinar archivos",
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "Couleur d’arrière-plan",
233
233
  "bold": "Gras",
234
234
  "cancel": "Annuler",
235
+ "characterCount": "{count, plural, one {# caractère} other {# caractères}}",
236
+ "characterLimitHint": "Vous pouvez saisir jusqu’à {limit, plural, one {# caractère} other {# caractères}}.",
237
+ "charactersLeft": "{count, plural, one {# caractère restant} other {# caractères restants}}",
238
+ "charactersOver": "{count, plural, one {# caractère en trop} other {# caractères en trop}}",
235
239
  "codeBlock": "Bloc de code",
236
240
  "color": "Couleur",
237
241
  "contentLabel": "Éditeur de texte enrichi",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "Supprimer la colonne",
240
244
  "deleteRow": "Supprimer la ligne",
241
245
  "deleteTable": "Supprimer le tableau",
246
+ "editImage": "Modifier l’image",
242
247
  "editLink": "Modifier le lien",
243
248
  "enterUrl": "Saisir l’URL",
244
249
  "fontSize": "Taille de police",
@@ -246,6 +251,11 @@
246
251
  "heading": "Titre {level}",
247
252
  "heightPx": "Hauteur (px)",
248
253
  "historyGroup": "Historique",
254
+ "imageFile": "Fichier image",
255
+ "imageInserted": "{name} a été inséré.",
256
+ "imageTooLarge": "{name} n’a pas été ajouté. Le fichier dépasse {size}.",
257
+ "imageUploadFailed": "Impossible de téléverser {name}.",
258
+ "imageUploading": "Téléversement de {name}",
249
259
  "imageUrl": "URL de l’image",
250
260
  "indent": "Augmenter le retrait",
251
261
  "indentGroup": "Retrait",
@@ -261,12 +271,17 @@
261
271
  "justify": "Justifier le texte",
262
272
  "linkGroup": "Lien",
263
273
  "listGroup": "Listes",
274
+ "mentionNoResults": "Aucun résultat",
275
+ "mentionResults": "{count, plural, one {# proposition} other {# propositions}}",
276
+ "mentionSearching": "Recherche…",
277
+ "mentionSuggestions": "Propositions",
264
278
  "mergeCells": "Fusionner les cellules sélectionnées",
265
279
  "outdent": "Diminuer le retrait",
266
280
  "paragraph": "Paragraphe",
267
281
  "quotation": "Citation",
268
282
  "redo": "Rétablir",
269
283
  "removeLink": "Supprimer le lien",
284
+ "save": "Enregistrer",
270
285
  "selectFontFamily": "Sélectionner la police",
271
286
  "selectFontSize": "Sélectionner la taille de police",
272
287
  "splitCell": "Scinder la cellule",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "Mise en forme",
281
296
  "underline": "Souligné",
282
297
  "undo": "Annuler",
283
- "widthPx": "Largeur (px)"
298
+ "widthPx": "Largeur (px)",
299
+ "wordCount": "{count, plural, one {# mot} other {# mots}}"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "Parcourir les fichiers",
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "Warna latar belakang",
233
233
  "bold": "Tebal",
234
234
  "cancel": "Batal",
235
+ "characterCount": "{count} karakter",
236
+ "characterLimitHint": "Anda dapat memasukkan hingga {limit} karakter.",
237
+ "charactersLeft": "Sisa {count} karakter",
238
+ "charactersOver": "Kelebihan {count} karakter",
235
239
  "codeBlock": "Blok kode",
236
240
  "color": "Warna",
237
241
  "contentLabel": "Editor teks kaya",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "Hapus kolom",
240
244
  "deleteRow": "Hapus baris",
241
245
  "deleteTable": "Hapus tabel",
246
+ "editImage": "Edit gambar",
242
247
  "editLink": "Edit tautan",
243
248
  "enterUrl": "Masukkan URL",
244
249
  "fontSize": "Ukuran font",
@@ -246,6 +251,11 @@
246
251
  "heading": "Judul {level}",
247
252
  "heightPx": "Tinggi (px)",
248
253
  "historyGroup": "Riwayat",
254
+ "imageFile": "File gambar",
255
+ "imageInserted": "{name} disisipkan.",
256
+ "imageTooLarge": "{name} tidak ditambahkan. File lebih besar dari {size}.",
257
+ "imageUploadFailed": "{name} gagal diunggah.",
258
+ "imageUploading": "Mengunggah {name}",
249
259
  "imageUrl": "URL gambar",
250
260
  "indent": "Tambah inden",
251
261
  "indentGroup": "Indentasi",
@@ -261,12 +271,17 @@
261
271
  "justify": "Rata kiri-kanan",
262
272
  "linkGroup": "Tautan",
263
273
  "listGroup": "Daftar",
274
+ "mentionNoResults": "Tidak ada yang cocok",
275
+ "mentionResults": "{count} saran",
276
+ "mentionSearching": "Mencari…",
277
+ "mentionSuggestions": "Saran",
264
278
  "mergeCells": "Gabungkan sel yang dipilih",
265
279
  "outdent": "Kurangi inden",
266
280
  "paragraph": "Paragraf",
267
281
  "quotation": "Kutipan",
268
282
  "redo": "Ulangi",
269
283
  "removeLink": "Hapus tautan",
284
+ "save": "Simpan",
270
285
  "selectFontFamily": "Pilih keluarga font",
271
286
  "selectFontSize": "Pilih ukuran font",
272
287
  "splitCell": "Pisahkan sel",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "Pemformatan",
281
296
  "underline": "Garis bawah",
282
297
  "undo": "Urungkan",
283
- "widthPx": "Lebar (px)"
298
+ "widthPx": "Lebar (px)",
299
+ "wordCount": "{count} kata"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "Telusuri file",
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "Colore di sfondo",
233
233
  "bold": "Grassetto",
234
234
  "cancel": "Annulla",
235
+ "characterCount": "{count, plural, one {# carattere} other {# caratteri}}",
236
+ "characterLimitHint": "Puoi inserire fino a {limit, plural, one {# carattere} other {# caratteri}}.",
237
+ "charactersLeft": "{count, plural, one {# carattere rimanente} other {# caratteri rimanenti}}",
238
+ "charactersOver": "{count, plural, one {# carattere di troppo} other {# caratteri di troppo}}",
235
239
  "codeBlock": "Blocco di codice",
236
240
  "color": "Colore",
237
241
  "contentLabel": "Editor di testo formattato",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "Elimina colonna",
240
244
  "deleteRow": "Elimina riga",
241
245
  "deleteTable": "Elimina tabella",
246
+ "editImage": "Modifica immagine",
242
247
  "editLink": "Modifica collegamento",
243
248
  "enterUrl": "Inserisci l'URL",
244
249
  "fontSize": "Dimensione carattere",
@@ -246,6 +251,11 @@
246
251
  "heading": "Intestazione {level}",
247
252
  "heightPx": "Altezza (px)",
248
253
  "historyGroup": "Cronologia",
254
+ "imageFile": "File immagine",
255
+ "imageInserted": "{name} inserito.",
256
+ "imageTooLarge": "{name} non è stato aggiunto. Il file supera {size}.",
257
+ "imageUploadFailed": "Impossibile caricare {name}.",
258
+ "imageUploading": "Caricamento di {name}",
249
259
  "imageUrl": "URL immagine",
250
260
  "indent": "Aumenta rientro",
251
261
  "indentGroup": "Rientro",
@@ -261,12 +271,17 @@
261
271
  "justify": "Giustifica",
262
272
  "linkGroup": "Collegamento",
263
273
  "listGroup": "Elenchi",
274
+ "mentionNoResults": "Nessuna corrispondenza",
275
+ "mentionResults": "{count, plural, one {# suggerimento} other {# suggerimenti}}",
276
+ "mentionSearching": "Ricerca in corso…",
277
+ "mentionSuggestions": "Suggerimenti",
264
278
  "mergeCells": "Unisci celle selezionate",
265
279
  "outdent": "Riduci rientro",
266
280
  "paragraph": "Paragrafo",
267
281
  "quotation": "Citazione",
268
282
  "redo": "Ripeti",
269
283
  "removeLink": "Rimuovi link",
284
+ "save": "Salva",
270
285
  "selectFontFamily": "Seleziona tipo di carattere",
271
286
  "selectFontSize": "Seleziona dimensione carattere",
272
287
  "splitCell": "Dividi cella",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "Formattazione",
281
296
  "underline": "Sottolineato",
282
297
  "undo": "Annulla",
283
- "widthPx": "Larghezza (px)"
298
+ "widthPx": "Larghezza (px)",
299
+ "wordCount": "{count, plural, one {# parola} other {# parole}}"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "Sfoglia i file",
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "背景色",
233
233
  "bold": "太字",
234
234
  "cancel": "キャンセル",
235
+ "characterCount": "{count} 文字",
236
+ "characterLimitHint": "{limit} 文字まで入力できます。",
237
+ "charactersLeft": "残り {count} 文字",
238
+ "charactersOver": "{count} 文字超過",
235
239
  "codeBlock": "コードブロック",
236
240
  "color": "色",
237
241
  "contentLabel": "リッチテキストエディター",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "列を削除",
240
244
  "deleteRow": "行を削除",
241
245
  "deleteTable": "表を削除",
246
+ "editImage": "画像を編集",
242
247
  "editLink": "リンクを編集",
243
248
  "enterUrl": "URLを入力",
244
249
  "fontSize": "フォントサイズ",
@@ -246,6 +251,11 @@
246
251
  "heading": "見出し{level}",
247
252
  "heightPx": "高さ (px)",
248
253
  "historyGroup": "履歴",
254
+ "imageFile": "画像ファイル",
255
+ "imageInserted": "{name} を挿入しました。",
256
+ "imageTooLarge": "{name} は追加されませんでした。ファイルが {size} を超えています。",
257
+ "imageUploadFailed": "{name} をアップロードできませんでした。",
258
+ "imageUploading": "{name} をアップロード中",
249
259
  "imageUrl": "画像URL",
250
260
  "indent": "インデントを増やす",
251
261
  "indentGroup": "インデント",
@@ -261,12 +271,17 @@
261
271
  "justify": "両端揃え",
262
272
  "linkGroup": "リンク",
263
273
  "listGroup": "リスト",
274
+ "mentionNoResults": "一致する候補はありません",
275
+ "mentionResults": "{count} 件の候補",
276
+ "mentionSearching": "検索中…",
277
+ "mentionSuggestions": "候補",
264
278
  "mergeCells": "選択したセルを結合",
265
279
  "outdent": "インデントを減らす",
266
280
  "paragraph": "段落",
267
281
  "quotation": "引用",
268
282
  "redo": "やり直す",
269
283
  "removeLink": "リンクを削除",
284
+ "save": "保存",
270
285
  "selectFontFamily": "フォントを選択",
271
286
  "selectFontSize": "フォントサイズを選択",
272
287
  "splitCell": "セルを分割",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "書式設定",
281
296
  "underline": "下線",
282
297
  "undo": "元に戻す",
283
- "widthPx": "幅 (px)"
298
+ "widthPx": "幅 (px)",
299
+ "wordCount": "{count} 語"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "ファイルを参照",
@@ -232,6 +232,10 @@
232
232
  "backgroundColor": "배경색",
233
233
  "bold": "굵게",
234
234
  "cancel": "취소",
235
+ "characterCount": "{count}자",
236
+ "characterLimitHint": "최대 {limit}자까지 입력할 수 있습니다.",
237
+ "charactersLeft": "{count}자 남음",
238
+ "charactersOver": "{count}자 초과",
235
239
  "codeBlock": "코드 블록",
236
240
  "color": "색상",
237
241
  "contentLabel": "서식 있는 텍스트 편집기",
@@ -239,6 +243,7 @@
239
243
  "deleteColumn": "열 삭제",
240
244
  "deleteRow": "행 삭제",
241
245
  "deleteTable": "표 삭제",
246
+ "editImage": "이미지 편집",
242
247
  "editLink": "링크 편집",
243
248
  "enterUrl": "URL 입력",
244
249
  "fontSize": "글꼴 크기",
@@ -246,6 +251,11 @@
246
251
  "heading": "제목 {level}",
247
252
  "heightPx": "높이 (px)",
248
253
  "historyGroup": "기록",
254
+ "imageFile": "이미지 파일",
255
+ "imageInserted": "{name}을(를) 삽입했습니다.",
256
+ "imageTooLarge": "{name}을(를) 추가하지 않았습니다. 파일이 {size}보다 큽니다.",
257
+ "imageUploadFailed": "{name}을(를) 업로드하지 못했습니다.",
258
+ "imageUploading": "{name} 업로드 중",
249
259
  "imageUrl": "이미지 URL",
250
260
  "indent": "들여쓰기",
251
261
  "indentGroup": "들여쓰기",
@@ -261,12 +271,17 @@
261
271
  "justify": "양쪽 맞춤",
262
272
  "linkGroup": "링크",
263
273
  "listGroup": "목록",
274
+ "mentionNoResults": "일치하는 항목 없음",
275
+ "mentionResults": "추천 {count}개",
276
+ "mentionSearching": "검색 중…",
277
+ "mentionSuggestions": "추천",
264
278
  "mergeCells": "선택한 셀 병합",
265
279
  "outdent": "내어쓰기",
266
280
  "paragraph": "단락",
267
281
  "quotation": "인용",
268
282
  "redo": "다시 실행",
269
283
  "removeLink": "링크 제거",
284
+ "save": "저장",
270
285
  "selectFontFamily": "글꼴 선택",
271
286
  "selectFontSize": "글꼴 크기 선택",
272
287
  "splitCell": "셀 분할",
@@ -280,7 +295,8 @@
280
295
  "toolbar": "서식",
281
296
  "underline": "밑줄",
282
297
  "undo": "실행 취소",
283
- "widthPx": "너비 (px)"
298
+ "widthPx": "너비 (px)",
299
+ "wordCount": "{count}단어"
284
300
  },
285
301
  "fileUpload": {
286
302
  "browse": "파일 찾아보기",