@toast-ui/editor 3.0.1 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +4 -4
  2. package/dist/esm/i18n/ar.js +63 -0
  3. package/dist/esm/i18n/cs-cz.js +63 -0
  4. package/dist/esm/i18n/de-de.js +63 -0
  5. package/dist/esm/i18n/en-us.js +63 -0
  6. package/dist/esm/i18n/es-es.js +63 -0
  7. package/dist/esm/i18n/fi-fi.js +63 -0
  8. package/dist/esm/i18n/fr-fr.js +63 -0
  9. package/dist/esm/i18n/gl-es.js +63 -0
  10. package/dist/esm/i18n/hr-hr.js +63 -0
  11. package/dist/esm/i18n/i18n.js +223 -0
  12. package/dist/esm/i18n/it-it.js +63 -0
  13. package/dist/esm/i18n/ja-jp.js +63 -0
  14. package/dist/esm/i18n/ko-kr.js +63 -0
  15. package/dist/esm/i18n/nb-no.js +63 -0
  16. package/dist/esm/i18n/nl-nl.js +63 -0
  17. package/dist/esm/i18n/pl-pl.js +63 -0
  18. package/dist/esm/i18n/pt-br.js +63 -0
  19. package/dist/esm/i18n/ru-ru.js +64 -0
  20. package/dist/esm/i18n/sv-se.js +63 -0
  21. package/dist/esm/i18n/tr-tr.js +63 -0
  22. package/dist/esm/i18n/uk-ua.js +63 -0
  23. package/dist/esm/i18n/zh-cn.js +63 -0
  24. package/dist/esm/i18n/zh-tw.js +63 -0
  25. package/dist/esm/index.js +2887 -441
  26. package/dist/esm/indexViewer.js +1659 -293
  27. package/dist/i18n/ar.js +1 -1
  28. package/dist/i18n/cs-cz.js +1 -1
  29. package/dist/i18n/de-de.js +1 -1
  30. package/dist/i18n/es-es.js +1 -1
  31. package/dist/i18n/fi-fi.js +1 -1
  32. package/dist/i18n/fr-fr.js +1 -1
  33. package/dist/i18n/gl-es.js +1 -1
  34. package/dist/i18n/hr-hr.js +1 -1
  35. package/dist/i18n/it-it.js +1 -1
  36. package/dist/i18n/ja-jp.js +1 -1
  37. package/dist/i18n/ko-kr.js +1 -1
  38. package/dist/i18n/nb-no.js +1 -1
  39. package/dist/i18n/nl-nl.js +1 -1
  40. package/dist/i18n/pl-pl.js +1 -1
  41. package/dist/i18n/pt-br.js +1 -1
  42. package/dist/i18n/ru-ru.js +15 -14
  43. package/dist/i18n/sv-se.js +1 -1
  44. package/dist/i18n/tr-tr.js +1 -1
  45. package/dist/i18n/uk-ua.js +1 -1
  46. package/dist/i18n/zh-cn.js +1 -1
  47. package/dist/i18n/zh-tw.js +1 -1
  48. package/dist/toastui-editor-only.css +27 -19
  49. package/dist/toastui-editor-viewer.css +10 -2
  50. package/dist/toastui-editor-viewer.js +1849 -386
  51. package/dist/toastui-editor.css +36 -20
  52. package/dist/toastui-editor.js +2841 -318
  53. package/package.json +10 -1
  54. package/types/editor.d.ts +6 -4
  55. package/types/index.d.ts +4 -3
  56. package/types/toastui-editor-viewer.d.ts +39 -0
@@ -0,0 +1,223 @@
1
+ /**
2
+ * @toast-ui/editor : i18n
3
+ * @version 3.1.1 | Wed Oct 27 2021
4
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ /**
9
+ * @fileoverview Extend the target object from other objects.
10
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
11
+ */
12
+
13
+ /**
14
+ * @module object
15
+ */
16
+
17
+ /**
18
+ * Extend the target object from other objects.
19
+ * @param {object} target - Object that will be extended
20
+ * @param {...object} objects - Objects as sources
21
+ * @returns {object} Extended object
22
+ * @memberof module:object
23
+ */
24
+ function extend(target, objects) { // eslint-disable-line no-unused-vars
25
+ var hasOwnProp = Object.prototype.hasOwnProperty;
26
+ var source, prop, i, len;
27
+
28
+ for (i = 1, len = arguments.length; i < len; i += 1) {
29
+ source = arguments[i];
30
+ for (prop in source) {
31
+ if (hasOwnProp.call(source, prop)) {
32
+ target[prop] = source[prop];
33
+ }
34
+ }
35
+ }
36
+
37
+ return target;
38
+ }
39
+
40
+ var extend_1 = extend;
41
+
42
+ /**
43
+ * @fileoverview Check whether the given variable is an instance of Array or not.
44
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
45
+ */
46
+
47
+ /**
48
+ * Check whether the given variable is an instance of Array or not.
49
+ * If the given variable is an instance of Array, return true.
50
+ * @param {*} obj - Target for checking
51
+ * @returns {boolean} Is array instance?
52
+ * @memberof module:type
53
+ */
54
+ function isArray$1(obj) {
55
+ return obj instanceof Array;
56
+ }
57
+
58
+ var isArray_1 = isArray$1;
59
+
60
+ /* eslint-disable complexity */
61
+
62
+ var isArray = isArray_1;
63
+
64
+ /**
65
+ * @module array
66
+ */
67
+
68
+ /**
69
+ * Returns the first index at which a given element can be found in the array
70
+ * from start index(default 0), or -1 if it is not present.
71
+ * It compares searchElement to elements of the Array using strict equality
72
+ * (the same method used by the ===, or triple-equals, operator).
73
+ * @param {*} searchElement Element to locate in the array
74
+ * @param {Array} array Array that will be traversed.
75
+ * @param {number} startIndex Start index in array for searching (default 0)
76
+ * @returns {number} the First index at which a given element, or -1 if it is not present
77
+ * @memberof module:array
78
+ * @example
79
+ * // ES6
80
+ * import inArray from 'tui-code-snippet/array/inArray';
81
+ *
82
+ * // CommonJS
83
+ * const inArray = require('tui-code-snippet/array/inArray');
84
+ *
85
+ * const arr = ['one', 'two', 'three', 'four'];
86
+ * const idx1 = inArray('one', arr, 3); // -1
87
+ * const idx2 = inArray('one', arr); // 0
88
+ */
89
+ function inArray(searchElement, array, startIndex) {
90
+ var i;
91
+ var length;
92
+ startIndex = startIndex || 0;
93
+
94
+ if (!isArray(array)) {
95
+ return -1;
96
+ }
97
+
98
+ if (Array.prototype.indexOf) {
99
+ return Array.prototype.indexOf.call(array, searchElement, startIndex);
100
+ }
101
+
102
+ length = array.length;
103
+ for (i = startIndex; startIndex >= 0 && i < length; i += 1) {
104
+ if (array[i] === searchElement) {
105
+ return i;
106
+ }
107
+ }
108
+
109
+ return -1;
110
+ }
111
+
112
+ var inArray_1 = inArray;
113
+
114
+ /**
115
+ * @class
116
+ * @ignore
117
+ * @classdesc ES6 Map
118
+ */
119
+ var Map = /** @class */ (function () {
120
+ function Map() {
121
+ this.keys = [];
122
+ this.values = [];
123
+ }
124
+ Map.prototype.getKeyIndex = function (key) {
125
+ return inArray_1(key, this.keys);
126
+ };
127
+ Map.prototype.get = function (key) {
128
+ return this.values[this.getKeyIndex(key)];
129
+ };
130
+ Map.prototype.set = function (key, value) {
131
+ var keyIndex = this.getKeyIndex(key);
132
+ if (keyIndex > -1) {
133
+ this.values[keyIndex] = value;
134
+ }
135
+ else {
136
+ this.keys.push(key);
137
+ this.values.push(value);
138
+ }
139
+ return this;
140
+ };
141
+ Map.prototype.has = function (key) {
142
+ return this.getKeyIndex(key) > -1;
143
+ };
144
+ Map.prototype.delete = function (key) {
145
+ var keyIndex = this.getKeyIndex(key);
146
+ if (keyIndex > -1) {
147
+ this.keys.splice(keyIndex, 1);
148
+ this.values.splice(keyIndex, 1);
149
+ return true;
150
+ }
151
+ return false;
152
+ };
153
+ Map.prototype.forEach = function (callback, thisArg) {
154
+ var _this = this;
155
+ if (thisArg === void 0) { thisArg = this; }
156
+ this.values.forEach(function (value, index) {
157
+ if (value && _this.keys[index]) {
158
+ callback.call(thisArg, value, _this.keys[index], _this);
159
+ }
160
+ });
161
+ };
162
+ Map.prototype.clear = function () {
163
+ this.keys = [];
164
+ this.values = [];
165
+ };
166
+ return Map;
167
+ }());
168
+
169
+ /**
170
+ * @fileoverview Implements i18n
171
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
172
+ */
173
+ var DEFAULT_CODE = 'en-US';
174
+ /**
175
+ * Class I18n
176
+ * @ignore
177
+ */
178
+ var I18n = /** @class */ (function () {
179
+ function I18n() {
180
+ this.code = DEFAULT_CODE;
181
+ this.langs = new Map();
182
+ }
183
+ I18n.prototype.setCode = function (code) {
184
+ this.code = code || DEFAULT_CODE;
185
+ };
186
+ /**
187
+ * Set language set
188
+ * @param {string|string[]} codes locale code
189
+ * @param {object} data language set
190
+ */
191
+ I18n.prototype.setLanguage = function (codes, data) {
192
+ var _this = this;
193
+ codes = [].concat(codes);
194
+ codes.forEach(function (code) {
195
+ if (!_this.langs.has(code)) {
196
+ _this.langs.set(code, data);
197
+ }
198
+ else {
199
+ var langData = _this.langs.get(code);
200
+ _this.langs.set(code, extend_1(langData, data));
201
+ }
202
+ });
203
+ };
204
+ I18n.prototype.get = function (key, code) {
205
+ if (!code) {
206
+ code = this.code;
207
+ }
208
+ var langSet = this.langs.get(code);
209
+ if (!langSet) {
210
+ langSet = this.langs.get(DEFAULT_CODE);
211
+ }
212
+ var text = langSet[key];
213
+ if (!text) {
214
+ throw new Error("There is no text key \"" + key + "\" in " + code);
215
+ }
216
+ return text;
217
+ };
218
+ return I18n;
219
+ }());
220
+ var i18n = new I18n();
221
+
222
+ export default i18n;
223
+ export { I18n };
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @toast-ui/editor : i18n
3
+ * @version 3.1.1 | Wed Oct 27 2021
4
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@toast-ui/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Italian
12
+ * @author Massimo Redaelli <massimo@typish.io>
13
+ */
14
+ Editor.setLanguage(['it', 'it-IT'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Scrivere',
18
+ Preview: 'Anteprima',
19
+ Headings: 'Intestazioni',
20
+ Paragraph: 'Paragrafo',
21
+ Bold: 'Grassetto',
22
+ Italic: 'Corsivo',
23
+ Strike: 'Barrato',
24
+ Code: 'Codice',
25
+ Line: 'Linea',
26
+ Blockquote: 'Blocco citazione',
27
+ 'Unordered list': 'Lista puntata',
28
+ 'Ordered list': 'Lista numerata',
29
+ Task: 'Attività',
30
+ Indent: 'Aggiungi indentazione',
31
+ Outdent: 'Rimuovi indentazione',
32
+ 'Insert link': 'Inserisci link',
33
+ 'Insert CodeBlock': 'Inserisci blocco di codice',
34
+ 'Insert table': 'Inserisci tabella',
35
+ 'Insert image': 'Inserisci immagine',
36
+ Heading: 'Intestazione',
37
+ 'Image URL': 'URL immagine',
38
+ 'Select image file': 'Seleziona file immagine',
39
+ 'Choose a file': 'Scegli un file',
40
+ 'No file': 'Nessun file',
41
+ Description: 'Descrizione',
42
+ OK: 'OK',
43
+ More: 'Più',
44
+ Cancel: 'Cancella',
45
+ File: 'File',
46
+ URL: 'URL',
47
+ 'Link text': 'Testo del collegamento',
48
+ 'Add row to up': 'Aggiungi riga in alto',
49
+ 'Add row to down': 'Aggiungi riga in basso',
50
+ 'Add column to left': 'Aggiungi colonna a sinistra',
51
+ 'Add column to right': 'Aggiungi colonna a destra',
52
+ 'Remove row': 'Rimuovi riga',
53
+ 'Remove column': 'Rimuovi colonna',
54
+ 'Align column to left': 'Allinea a sinistra',
55
+ 'Align column to center': 'Allinea al centro',
56
+ 'Align column to right': 'Allinea a destra',
57
+ 'Remove table': 'Rimuovi tabella',
58
+ 'Would you like to paste as table?': 'Desideri incollare sotto forma di tabella?',
59
+ 'Text color': 'Colore del testo',
60
+ 'Auto scroll enabled': 'Scrolling automatico abilitato',
61
+ 'Auto scroll disabled': 'Scrolling automatico disabilitato',
62
+ 'Choose language': 'Scegli la lingua',
63
+ });
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @toast-ui/editor : i18n
3
+ * @version 3.1.1 | Wed Oct 27 2021
4
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@toast-ui/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Japanese
12
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
13
+ */
14
+ Editor.setLanguage(['ja', 'ja-JP'], {
15
+ Markdown: 'マークダウン',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: '編集する',
18
+ Preview: 'プレビュー',
19
+ Headings: '見出し',
20
+ Paragraph: '本文',
21
+ Bold: '太字',
22
+ Italic: 'イタリック',
23
+ Strike: 'ストライク',
24
+ Code: 'インラインコード',
25
+ Line: 'ライン',
26
+ Blockquote: '引用',
27
+ 'Unordered list': '番号なしリスト',
28
+ 'Ordered list': '順序付きリスト',
29
+ Task: 'タスク',
30
+ Indent: 'インデント',
31
+ Outdent: 'アウトデント',
32
+ 'Insert link': 'リンク挿入',
33
+ 'Insert CodeBlock': 'コードブロック挿入',
34
+ 'Insert table': 'テーブル挿入',
35
+ 'Insert image': '画像挿入',
36
+ Heading: '見出し',
37
+ 'Image URL': 'イメージURL',
38
+ 'Select image file': '画像ファイル選択',
39
+ 'Choose a file': 'ファイルの選択',
40
+ 'No file': 'ファイルがない',
41
+ Description: 'ディスクリプション ',
42
+ OK: 'はい',
43
+ More: 'もっと',
44
+ Cancel: 'キャンセル',
45
+ File: 'ファイル',
46
+ URL: 'URL',
47
+ 'Link text': 'リンクテキスト',
48
+ 'Add row to up': '行を上に追加',
49
+ 'Add row to down': '下に行を追加',
50
+ 'Add column to left': '左側に列を追加',
51
+ 'Add column to right': '右側に列を追加',
52
+ 'Remove row': '行削除',
53
+ 'Remove column': '列削除',
54
+ 'Align column to left': '左揃え',
55
+ 'Align column to center': '中央揃え',
56
+ 'Align column to right': '右揃え',
57
+ 'Remove table': 'テーブル削除',
58
+ 'Would you like to paste as table?': 'テーブルを貼り付けますか?',
59
+ 'Text color': '文字色相',
60
+ 'Auto scroll enabled': '自動スクロールが有効',
61
+ 'Auto scroll disabled': '自動スクロールを無効に',
62
+ 'Choose language': '言語選択',
63
+ });
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @toast-ui/editor : i18n
3
+ * @version 3.1.1 | Wed Oct 27 2021
4
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@toast-ui/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Korean
12
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
13
+ */
14
+ Editor.setLanguage(['ko', 'ko-KR'], {
15
+ Markdown: '마크다운',
16
+ WYSIWYG: '위지윅',
17
+ Write: '편집하기',
18
+ Preview: '미리보기',
19
+ Headings: '제목크기',
20
+ Paragraph: '본문',
21
+ Bold: '굵게',
22
+ Italic: '기울임꼴',
23
+ Strike: '취소선',
24
+ Code: '인라인 코드',
25
+ Line: '문단나눔',
26
+ Blockquote: '인용구',
27
+ 'Unordered list': '글머리 기호',
28
+ 'Ordered list': '번호 매기기',
29
+ Task: '체크박스',
30
+ Indent: '들여쓰기',
31
+ Outdent: '내어쓰기',
32
+ 'Insert link': '링크 삽입',
33
+ 'Insert CodeBlock': '코드블럭 삽입',
34
+ 'Insert table': '표 삽입',
35
+ 'Insert image': '이미지 삽입',
36
+ Heading: '제목',
37
+ 'Image URL': '이미지 주소',
38
+ 'Select image file': '이미지 파일을 선택하세요.',
39
+ 'Choose a file': '파일 선택',
40
+ 'No file': '선택된 파일 없음',
41
+ Description: '설명',
42
+ OK: '확인',
43
+ More: '더 보기',
44
+ Cancel: '취소',
45
+ File: '파일',
46
+ URL: '주소',
47
+ 'Link text': '링크 텍스트',
48
+ 'Add row to up': '위에 행 추가',
49
+ 'Add row to down': '아래에 행 추가',
50
+ 'Add column to left': '왼쪽에 열 추가',
51
+ 'Add column to right': '오른쪽에 열 추가',
52
+ 'Remove row': '행 삭제',
53
+ 'Remove column': '열 삭제',
54
+ 'Align column to left': '열 왼쪽 정렬',
55
+ 'Align column to center': '열 가운데 정렬',
56
+ 'Align column to right': '열 오른쪽 정렬',
57
+ 'Remove table': '표 삭제',
58
+ 'Would you like to paste as table?': '표형태로 붙여 넣겠습니까?',
59
+ 'Text color': '글자 색상',
60
+ 'Auto scroll enabled': '자동 스크롤 켜짐',
61
+ 'Auto scroll disabled': '자동 스크롤 꺼짐',
62
+ 'Choose language': '언어 선택',
63
+ });
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @toast-ui/editor : i18n
3
+ * @version 3.1.1 | Wed Oct 27 2021
4
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@toast-ui/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Norwegian
12
+ * @author Anton Reytarovskiy <reitarovskii.toh@gmail.com>
13
+ */
14
+ Editor.setLanguage(['nb', 'nb-NO'], {
15
+ Markdown: 'Funksjonaliteter',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Skriv',
18
+ Preview: 'Forhåndsvisning',
19
+ Headings: 'Overskrift',
20
+ Paragraph: 'Paragraf',
21
+ Bold: 'Fet skrift',
22
+ Italic: 'Italic',
23
+ Strike: 'Strike',
24
+ Code: 'Kode',
25
+ Line: 'Linje',
26
+ Blockquote: 'Blokksitat',
27
+ 'Unordered list': 'Usortert liste',
28
+ 'Ordered list': 'Sortert liste',
29
+ Task: 'Task',
30
+ Indent: 'Indent',
31
+ Outdent: 'Outdent',
32
+ 'Insert link': 'Sett inn lenke',
33
+ 'Insert CodeBlock': 'Sett inn CodeStreng',
34
+ 'Insert table': 'Sett inn diagram',
35
+ 'Insert image': 'Sett inn bilde',
36
+ Heading: 'Overskrift',
37
+ 'Image URL': 'BildeURL',
38
+ 'Select image file': 'Velg bildefil',
39
+ 'Choose a file': 'Velg en fil',
40
+ 'No file': 'Ingen fil',
41
+ Description: 'Beskrivelse',
42
+ OK: 'OK',
43
+ More: 'Mer',
44
+ Cancel: 'Angre',
45
+ File: 'Fil',
46
+ URL: 'URL',
47
+ 'Link text': 'Lenketekst',
48
+ 'Add row to up': 'Legg rad til opp',
49
+ 'Add row to down': 'Legg rad til ned',
50
+ 'Add column to left': 'Legg til kolonne til venstre',
51
+ 'Add column to right': 'Legg til kolonne til høyre',
52
+ 'Remove row': 'Fjern rad',
53
+ 'Remove column': 'Fjern kolonne',
54
+ 'Align column to left': 'Venstreorienter',
55
+ 'Align column to center': 'Senterorienter',
56
+ 'Align column to right': 'Høyreorienter',
57
+ 'Remove table': 'Fjern diagram',
58
+ 'Would you like to paste as table?': 'Ønsker du å lime inn som et diagram?',
59
+ 'Text color': 'Tekstfarge',
60
+ 'Auto scroll enabled': 'Auto-scroll aktivert',
61
+ 'Auto scroll disabled': 'Auto-scroll deaktivert',
62
+ 'Choose language': 'Velg språl',
63
+ });
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @toast-ui/editor : i18n
3
+ * @version 3.1.1 | Wed Oct 27 2021
4
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@toast-ui/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Dutch
12
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
13
+ */
14
+ Editor.setLanguage(['nl', 'nl-NL'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Opslaan',
18
+ Preview: 'Voorbeeld',
19
+ Headings: 'Koppen',
20
+ Paragraph: 'Alinea',
21
+ Bold: 'Vet',
22
+ Italic: 'Cursief',
23
+ Strike: 'Doorhalen',
24
+ Code: 'Inline code',
25
+ Line: 'Regel',
26
+ Blockquote: 'Citaatblok',
27
+ 'Unordered list': 'Opsomming',
28
+ 'Ordered list': 'Genummerde opsomming',
29
+ Task: 'Taak',
30
+ Indent: 'Niveau verhogen',
31
+ Outdent: 'Niveau verlagen',
32
+ 'Insert link': 'Link invoegen',
33
+ 'Insert CodeBlock': 'Codeblok toevoegen',
34
+ 'Insert table': 'Tabel invoegen',
35
+ 'Insert image': 'Afbeelding invoegen',
36
+ Heading: 'Kop',
37
+ 'Image URL': 'Afbeelding URL',
38
+ 'Select image file': 'Selecteer een afbeelding',
39
+ 'Choose a file': 'Kies een bestand',
40
+ 'No file': 'Geen bestand',
41
+ Description: 'Omschrijving',
42
+ OK: 'OK',
43
+ More: 'Meer',
44
+ Cancel: 'Annuleren',
45
+ File: 'Bestand',
46
+ URL: 'URL',
47
+ 'Link text': 'Link tekst',
48
+ 'Add row to up': 'Voeg rij toe aan omhoog',
49
+ 'Add row to down': 'Rij naar beneden toevoegen',
50
+ 'Add column to left': 'Voeg kolom aan de linkerkant toe',
51
+ 'Add column to right': 'Voeg een kolom aan de rechterkant toe',
52
+ 'Remove row': 'Rij verwijderen',
53
+ 'Remove column': 'Kolom verwijderen',
54
+ 'Align column to left': 'Links uitlijnen',
55
+ 'Align column to center': 'Centreren',
56
+ 'Align column to right': 'Rechts uitlijnen',
57
+ 'Remove table': 'Verwijder tabel',
58
+ 'Would you like to paste as table?': 'Wil je dit als tabel plakken?',
59
+ 'Text color': 'Tekstkleur',
60
+ 'Auto scroll enabled': 'Autoscroll ingeschakeld',
61
+ 'Auto scroll disabled': 'Autoscroll uitgeschakeld',
62
+ 'Choose language': 'Kies een taal',
63
+ });
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @toast-ui/editor : i18n
3
+ * @version 3.1.1 | Wed Oct 27 2021
4
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@toast-ui/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Polish
12
+ * @author Marcin Mikołajczak <me@m4sk.in>
13
+ */
14
+ Editor.setLanguage(['pl', 'pl-PL'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Napisz',
18
+ Preview: 'Podgląd',
19
+ Headings: 'Nagłówki',
20
+ Paragraph: 'Akapit',
21
+ Bold: 'Pogrubienie',
22
+ Italic: 'Kursywa',
23
+ Strike: 'Przekreślenie',
24
+ Code: 'Fragment kodu',
25
+ Line: 'Linia',
26
+ Blockquote: 'Cytat',
27
+ 'Unordered list': 'Lista nieuporządkowana',
28
+ 'Ordered list': 'Lista uporządkowana',
29
+ Task: 'Zadanie',
30
+ Indent: 'Utwórz wcięcie',
31
+ Outdent: 'Usuń wcięcie',
32
+ 'Insert link': 'Umieść odnośnik',
33
+ 'Insert CodeBlock': 'Umieść blok kodu',
34
+ 'Insert table': 'Umieść tabelę',
35
+ 'Insert image': 'Umieść obraz',
36
+ Heading: 'Nagłówek',
37
+ 'Image URL': 'Adres URL obrazu',
38
+ 'Select image file': 'Wybierz plik obrazu',
39
+ 'Choose a file': 'Wybierz plik',
40
+ 'No file': 'Brak plik',
41
+ Description: 'Opis',
42
+ OK: 'OK',
43
+ More: 'Więcej',
44
+ Cancel: 'Anuluj',
45
+ File: 'Plik',
46
+ URL: 'URL',
47
+ 'Link text': 'Tekst odnośnika',
48
+ 'Add row to up': 'Dodaj wiersz do góry',
49
+ 'Add row to down': 'Dodaj wiersz w dół',
50
+ 'Add column to left': 'Dodaj kolumnę po lewej stronie',
51
+ 'Add column to right': 'Dodaj kolumnę po prawej stronie',
52
+ 'Remove row': 'Usuń rząd',
53
+ 'Remove column': 'Usuń kolumnę',
54
+ 'Align column to left': 'Wyrównaj do lewej',
55
+ 'Align column to center': 'Wyśrodkuj',
56
+ 'Align column to right': 'Wyrównaj do prawej',
57
+ 'Remove table': 'Usuń tabelę',
58
+ 'Would you like to paste as table?': 'Czy chcesz wkleić tekst jako tabelę?',
59
+ 'Text color': 'Kolor tekstu',
60
+ 'Auto scroll enabled': 'Włączono automatyczne przewijanie',
61
+ 'Auto scroll disabled': 'Wyłączono automatyczne przewijanie',
62
+ 'Choose language': 'Wybierz język',
63
+ });
@@ -0,0 +1,63 @@
1
+ /**
2
+ * @toast-ui/editor : i18n
3
+ * @version 3.1.1 | Wed Oct 27 2021
4
+ * @author NHN FE Development Lab <dl_javascript@nhn.com>
5
+ * @license MIT
6
+ */
7
+
8
+ import Editor from '@toast-ui/editor';
9
+
10
+ /**
11
+ * @fileoverview I18N for Português
12
+ * @author Nícolas Huber <nicolasluishuber@gmail.com>
13
+ */
14
+ Editor.setLanguage(['pt', 'pt-BR'], {
15
+ Markdown: 'Markdown',
16
+ WYSIWYG: 'WYSIWYG',
17
+ Write: 'Escrever',
18
+ Preview: 'Pré-visualizar',
19
+ Headings: 'Cabeçalhos',
20
+ Paragraph: 'Parágrafo',
21
+ Bold: 'Negrito',
22
+ Italic: 'Itálico',
23
+ Strike: 'Traçado',
24
+ Code: 'Código',
25
+ Line: 'Linha',
26
+ Blockquote: 'Bloco de citação',
27
+ 'Unordered list': 'Lista não ordenada',
28
+ 'Ordered list': 'Lista ordenada',
29
+ Task: 'Tarefa',
30
+ Indent: 'Recuo à esquerda',
31
+ Outdent: 'Recuo à direita',
32
+ 'Insert link': 'Inserir link',
33
+ 'Insert CodeBlock': 'Inserir bloco de código',
34
+ 'Insert table': 'Inserir tabela',
35
+ 'Insert image': 'Inserir imagem',
36
+ Heading: 'Título',
37
+ 'Image URL': 'URL da imagem',
38
+ 'Select image file': 'Selecione um arquivo de imagem',
39
+ 'Choose a file': 'Escolha um arquivo',
40
+ 'No file': 'Nenhum arquivo',
41
+ Description: 'Descrição',
42
+ OK: 'OK',
43
+ More: 'Mais',
44
+ Cancel: 'Cancelar',
45
+ File: 'Arquivo',
46
+ URL: 'URL',
47
+ 'Link text': 'Link de texto',
48
+ 'Add row to up': 'Adicionar linha para cima',
49
+ 'Add row to down': 'Adicionar linha para baixo',
50
+ 'Add column to left': 'Adicionar coluna à esquerda',
51
+ 'Add column to right': 'Adicionar coluna à direita',
52
+ 'Remove row': 'Remover linha',
53
+ 'Remove column': 'Remover coluna',
54
+ 'Align column to left': 'Alinhar à esquerda',
55
+ 'Align column to center': 'Alinhar ao centro',
56
+ 'Align column to right': 'Alinhar à direita',
57
+ 'Remove table': 'Remover tabela',
58
+ 'Would you like to paste as table?': 'Você gostaria de colar como mesa?',
59
+ 'Text color': 'Cor do texto',
60
+ 'Auto scroll enabled': 'Rolagem automática habilitada',
61
+ 'Auto scroll disabled': 'Rolagem automática desabilitada',
62
+ 'Choose language': 'Escolher linguagem',
63
+ });