diff --git a/README.md b/README.md index 5c39a71..ed86af6 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ Available Locales: - english (default) - hungarian - dutch + - german Note on the image upload API endpoint: - Image is uploaded by `multipart/form-data` diff --git a/src/editor/locales/german.js b/src/editor/locales/german.js new file mode 100644 index 0000000..81d905f --- /dev/null +++ b/src/editor/locales/german.js @@ -0,0 +1,20 @@ +module.exports = { + locale_name: 'Deutsch', + locale_shorthand: ['de', 'deutsch'], + // Translations: + justifyCenter: 'Zentriert', + justifyLeft: 'Linksbündig', + justifyRight: 'Rechtsbündig', + bold: 'Fett', + code: 'Programmcode', + headings: 'Überschriften (h1-h6)', + link: 'Link', + image: 'Bild einfügen', + italic: 'Kursiv', + orderedList: 'Nummerierung (1, 2, 3, ...)', + unorderedList: 'Aufzählung', + removeFormat: 'Formatierung entfernen.\nEntfernt Überschriften, fett, kursiv, unterstrichen, usw.', + separator: 'Querstrich', + table: 'Tabelle einfügen', + underline: 'Unterstrichen' +} diff --git a/src/editor/locales/index.js b/src/editor/locales/index.js index 7fa8453..9cd6462 100644 --- a/src/editor/locales/index.js +++ b/src/editor/locales/index.js @@ -1,9 +1,11 @@ import dutch from './dutch'; import hungarian from './hungarian'; +import german from './german'; import english from './english'; export default { dutch, hungarian, + german, english } \ No newline at end of file