Skip to content

Commit

Permalink
Add german translation (#117)
Browse files Browse the repository at this point in the history
* Create german.js

* Add german translation
  • Loading branch information
Flokx authored May 23, 2020
1 parent 2c02bf4 commit 1a88364
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
20 changes: 20 additions & 0 deletions src/editor/locales/german.js
Original file line number Diff line number Diff line change
@@ -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'
}
2 changes: 2 additions & 0 deletions src/editor/locales/index.js
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 1a88364

Please sign in to comment.