Add German translation (#13)

* Added German translation
* Make French translation actually French
* Added 'de' to supported locales
This commit is contained in:
Philipp Kiemle 2021-11-11 11:00:12 +01:00 committed by GitHub
parent b48450657d
commit cf4e0fefb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 1 deletions

21
assets/i18n/de.po Normal file
View File

@ -0,0 +1,21 @@
# Philipp Kiemle <philipp.kiemle@gmail.com>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2021-09-29 09:59+0200\n"
"PO-Revision-Date: 2021-11-11 09:09+0100\n"
"Last-Translator: Philipp Kiemle <philipp.kiemle@gmail.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 21.08.2\n"
"X-Poedit-Basepath: .\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: de\n"
msgid "Main menu"
msgstr "Hauptmenü"
msgid "Use dark mode"
msgstr "Den dunklen Modus verwenden"

View File

@ -5,7 +5,7 @@ msgstr ""
"PO-Revision-Date: 2021-09-29 10:58+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

View File

@ -49,6 +49,7 @@ class _AppState extends State<App> with PreferencesMixin {
* but are present in fr.po, the missing translations will not be picked up from fr.po,
* and thus will show up in english.
*/
Locale('de'),
Locale('en'),
Locale('fr'),
Locale('fr', 'CH'),