feat: i18n de-DE (#206)

zio/stable
Shinigami 2022-11-28 17:41:58 +01:00 committed by GitHub
parent c5afa9d579
commit b118313b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 0 deletions

View File

@ -10,6 +10,10 @@ const languageList = [
value: 'en-US',
label: 'English',
},
{
value: 'de-DE',
label: 'Deutsch',
},
{
value: 'zh-CN',
label: '简体中文',

24
locales/de-DE.json 100644
View File

@ -0,0 +1,24 @@
{
"selectLanguage": "Sprache auswählen",
"nav_side": {
"home": "Startseite",
"notifications": "Mitteilungen",
"explore": "Entdecken",
"local": "Lokale Timeline",
"federated": "Förderierte Timeline",
"conversations": "Direktnachrichten",
"favourites": "Favoriten",
"bookmarks": "Lesezeichen",
"profile": "Profil"
},
"timeline": "Timeline",
"title": {
"local-timeline": "@:nav_side.local @:timeline",
"federated-timeline": "@:nav_side.federated @:timeline"
},
"account": {
"posts": "{0} Beiträge",
"following": "{0} Folge ich",
"followers": "{0} Follower"
}
}

View File

@ -72,6 +72,11 @@ export default defineNuxtConfig({
file: 'en-US.json',
name: 'English',
},
{
code: 'de-DE',
file: 'de-DE.json',
name: 'Deutsch',
},
{
code: 'zh-CN',
file: 'zh-CN.json',