From 1a8836474ae7dffd10dc228e4ec3189f2b8227ef Mon Sep 17 00:00:00 2001 From: flokX Date: Sat, 23 May 2020 07:40:35 +0200 Subject: [PATCH] Add german translation (#117) * Create german.js * Add german translation --- README.md | 1 + src/editor/locales/german.js | 20 ++++++++++++++++++++ src/editor/locales/index.js | 2 ++ 3 files changed, 23 insertions(+) create mode 100644 src/editor/locales/german.js 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