diff --git a/README.md b/README.md index 41cd9cf5aa..2ac678644f 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ You can merge columns of the table header and body area. ## 🎨 Features * [**Viewer**](https://github.com/nhn/tui.editor/tree/master/apps/editor/docs/viewer.md) : Supports a mode to display only markdown data without an editing area. -* [**Internationalization (i18n)**](https://github.com/nhn/tui.editor/tree/master/apps/editor/docs/i18n.md) : Supports English, Dutch, Korean, Japanese, Chinese, Spanish, German, Russian, French, Ukrainian, Turkish, Finnish, Czech, Arabic, Polish, Galician, Swedish, Italian, Norwegian + language and you can extend. +* [**Internationalization (i18n)**](https://github.com/nhn/tui.editor/tree/master/apps/editor/docs/i18n.md) : Supports English, Dutch, Korean, Japanese, Chinese, Spanish, German, Russian, French, Ukrainian, Turkish, Finnish, Czech, Arabic, Polish, Galician, Swedish, Italian, Norwegian, Croatian + language and you can extend. ## 🐾 Examples diff --git a/apps/editor/src/js/i18n/hr-hr.js b/apps/editor/src/js/i18n/hr-hr.js new file mode 100644 index 0000000000..f8498f2670 --- /dev/null +++ b/apps/editor/src/js/i18n/hr-hr.js @@ -0,0 +1,52 @@ +/** + * @fileoverview I18N for Croatian + * @author Hrvoje A. + */ +import Editor from '../editor'; + +Editor.setLanguage(['hr', 'hr-HR'], { + Markdown: 'Markdown', + WYSIWYG: 'WYSIWYG', + Write: 'Piši', + Preview: 'Pregled', + Headings: 'Naslovi', + Paragraph: 'Paragraf', + Bold: 'podebljano', + Italic: 'kurziv', + Strike: 'prcrtano', + Code: 'Uklopljeni kôd', + Line: 'Linija', + Blockquote: 'Blok citat', + 'Unordered list': 'Neporedana lista', + 'Ordered list': 'Poredana lista', + Task: 'Task', + Indent: 'Povećaj uvlaku', + Outdent: 'Smanji uvlaku', + 'Insert link': 'Umetni link', + 'Insert CodeBlock': 'Umetni blok kôda', + 'Insert table': 'Umetni tablicu', + 'Insert image': 'Umetni sliku', + Heading: 'Naslov', + 'Image URL': 'URL slike', + 'Select image file': 'Odaberi slikovnu datoteku', + Description: 'Opis', + OK: 'OK', + More: 'Više', + Cancel: 'Odustani', + File: 'Datoteka', + URL: 'URL', + 'Link text': 'Tekst linka', + 'Add row': 'Dodaj redak', + 'Add col': 'Dodaj stupac', + 'Remove row': 'Ukloni redak', + 'Remove col': 'Remove stupac', + 'Align left': 'Poravnaj lijevo', + 'Align center': 'Poravnaj centrirano', + 'Align right': 'Poravnaj desno', + 'Remove table': 'Ukloni tablicu', + 'Would you like to paste as table?': 'Zalite li zalijepiti kao tablicu?', + 'Text color': 'Boja teksta', + 'Auto scroll enabled': 'Omogući auto klizanje', + 'Auto scroll disabled': 'Onemogući auto klizanje', + 'Choose language': 'Odabir jezika' +}); diff --git a/plugins/table-merged-cell/src/js/langs.js b/plugins/table-merged-cell/src/js/langs.js index 20986e19e6..3ba113b0b3 100644 --- a/plugins/table-merged-cell/src/js/langs.js +++ b/plugins/table-merged-cell/src/js/langs.js @@ -166,5 +166,13 @@ export function addLangs(editor) { 'Cannot paste row merged cells into the table header': 'Kan ikke lime inn rad med sammenslåtte celler' }); + + Editor.setLanguage(['hr', 'hr-HR'], { + 'Merge cells': 'Spoji ćelije', + 'Unmerge cells': 'Odspoji ćelije', + 'Cannot change part of merged cell': 'Ne mogu mijenjati dio spojene ćelije.', + 'Cannot paste row merged cells into the table header': + 'Ne mogu zaljepiti redak spojenih ćelija u zaglavlje tablice' + }); } }