mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
Merge pull request #126 from winterrific/master
Added german language support
This commit is contained in:
commit
4b9ab71831
@ -80,7 +80,9 @@ export default function AccountSettings() {
|
||||
return (
|
||||
<>
|
||||
<PageHeader>
|
||||
<div>Accounts</div>
|
||||
<div>
|
||||
<FormattedMessage id="settings.accounts" defaultMessage="Accounts" />
|
||||
</div>
|
||||
<Button icon={<Plus />} size="small" onClick={() => setAddAccount(true)}>
|
||||
<div>
|
||||
<FormattedMessage id="button.add-account" defaultMessage="Add account" />
|
||||
|
239
lang/de-DE.json
Normal file
239
lang/de-DE.json
Normal file
@ -0,0 +1,239 @@
|
||||
{
|
||||
"active-users.message": {
|
||||
"defaultMessage": "{x} {x, plural, one {aktiver Besucher} other {aktive Besucher}}"
|
||||
},
|
||||
"button.add-account": {
|
||||
"defaultMessage": "Konto hinzufügen"
|
||||
},
|
||||
"button.add-website": {
|
||||
"defaultMessage": "Webseite hinzufügen"
|
||||
},
|
||||
"button.back": {
|
||||
"defaultMessage": "Zurück"
|
||||
},
|
||||
"button.cancel": {
|
||||
"defaultMessage": "Abbrechen"
|
||||
},
|
||||
"button.change-password": {
|
||||
"defaultMessage": "Passwort ändern"
|
||||
},
|
||||
"button.copy-to-clipboard": {
|
||||
"defaultMessage": "In die Zwischenablage kopieren"
|
||||
},
|
||||
"button.delete": {
|
||||
"defaultMessage": "Löschen"
|
||||
},
|
||||
"button.edit": {
|
||||
"defaultMessage": "Bearbeiten"
|
||||
},
|
||||
"button.login": {
|
||||
"defaultMessage": "Anmelden"
|
||||
},
|
||||
"button.more": {
|
||||
"defaultMessage": "Mehr"
|
||||
},
|
||||
"button.save": {
|
||||
"defaultMessage": "Speichern"
|
||||
},
|
||||
"button.view-details": {
|
||||
"defaultMessage": "Details anzeigen"
|
||||
},
|
||||
"footer.powered-by": {
|
||||
"defaultMessage": "powered by"
|
||||
},
|
||||
"header.nav.dashboard": {
|
||||
"defaultMessage": "Übersicht"
|
||||
},
|
||||
"header.nav.settings": {
|
||||
"defaultMessage": "Einstellungen"
|
||||
},
|
||||
"label.administrator": {
|
||||
"defaultMessage": "Administrator"
|
||||
},
|
||||
"label.confirm-password": {
|
||||
"defaultMessage": "Passwort wiederholen"
|
||||
},
|
||||
"label.current-password": {
|
||||
"defaultMessage": "Derzeitiges Passwort"
|
||||
},
|
||||
"label.domain": {
|
||||
"defaultMessage": "Domain"
|
||||
},
|
||||
"label.enable-share-url": {
|
||||
"defaultMessage": "Freigabe-URL aktivieren"
|
||||
},
|
||||
"label.invalid": {
|
||||
"defaultMessage": "Ungültig"
|
||||
},
|
||||
"label.invalid-domain": {
|
||||
"defaultMessage": "Ungültige Domain"
|
||||
},
|
||||
"label.last-days": {
|
||||
"defaultMessage": "Letzten {x} Tage"
|
||||
},
|
||||
"label.last-hours": {
|
||||
"defaultMessage": "Letzten {x} Stunden"
|
||||
},
|
||||
"label.logged-in-as": {
|
||||
"defaultMessage": "Angemeldet als {username}"
|
||||
},
|
||||
"label.logout": {
|
||||
"defaultMessage": "Abmelden"
|
||||
},
|
||||
"label.name": {
|
||||
"defaultMessage": "Name"
|
||||
},
|
||||
"label.new-password": {
|
||||
"defaultMessage": "Neues Passwort"
|
||||
},
|
||||
"label.password": {
|
||||
"defaultMessage": "Passwort"
|
||||
},
|
||||
"label.passwords-dont-match": {
|
||||
"defaultMessage": "Passwörter stimmen nicht überein"
|
||||
},
|
||||
"label.required": {
|
||||
"defaultMessage": "Erforderlich"
|
||||
},
|
||||
"label.this-month": {
|
||||
"defaultMessage": "Diesen Monat"
|
||||
},
|
||||
"label.this-week": {
|
||||
"defaultMessage": "Diese Woche"
|
||||
},
|
||||
"label.this-year": {
|
||||
"defaultMessage": "Dieses Jahr"
|
||||
},
|
||||
"label.today": {
|
||||
"defaultMessage": "Heute"
|
||||
},
|
||||
"label.username": {
|
||||
"defaultMessage": "Benutzername"
|
||||
},
|
||||
"message.confirm-delete": {
|
||||
"defaultMessage": "Sind sie sich sicher {target} zu löschen?"
|
||||
},
|
||||
"message.copied": {
|
||||
"defaultMessage": "In Zwischenablage kopiert!"
|
||||
},
|
||||
"message.delete-warning": {
|
||||
"defaultMessage": "Alle zugehörigen Daten werden auch gelöscht."
|
||||
},
|
||||
"message.failure": {
|
||||
"defaultMessage": "Es it ein Fehler aufgetreten."
|
||||
},
|
||||
"message.incorrect-username-password": {
|
||||
"defaultMessage": "Falsches Passwort oder Benutzername."
|
||||
},
|
||||
"message.no-data-available": {
|
||||
"defaultMessage": "Keine Daten vorhanden."
|
||||
},
|
||||
"message.save-success": {
|
||||
"defaultMessage": "Erfolgreich gespeichert."
|
||||
},
|
||||
"message.share-url": {
|
||||
"defaultMessage": "Dies ist der öffentliche URL zum Teilen für {target}."
|
||||
},
|
||||
"message.track-stats": {
|
||||
"defaultMessage": "Um die Statistiken für {target} zu übermitteln, platzieren Sie bitte den folgenden Quelltext im {head} ihrer Homepage."
|
||||
},
|
||||
"message.type-delete": {
|
||||
"defaultMessage": "Geben Sie {delete} in das Feld unten ein um zu bestätigen."
|
||||
},
|
||||
"metrics.actions": {
|
||||
"defaultMessage": "Aktionen"
|
||||
},
|
||||
"metrics.average-visit-time": {
|
||||
"defaultMessage": "Durchschn. Besuchszeit"
|
||||
},
|
||||
"metrics.bounce-rate": {
|
||||
"defaultMessage": "Absprungrate"
|
||||
},
|
||||
"metrics.browsers": {
|
||||
"defaultMessage": "Browsers"
|
||||
},
|
||||
"metrics.countries": {
|
||||
"defaultMessage": "Länder"
|
||||
},
|
||||
"metrics.devices": {
|
||||
"defaultMessage": "Geräte"
|
||||
},
|
||||
"metrics.events": {
|
||||
"defaultMessage": "Events"
|
||||
},
|
||||
"metrics.filter.combined": {
|
||||
"defaultMessage": "Kombiniert"
|
||||
},
|
||||
"metrics.filter.domain-only": {
|
||||
"defaultMessage": "Nur diese Domain"
|
||||
},
|
||||
"metrics.filter.raw": {
|
||||
"defaultMessage": "Rohdaten"
|
||||
},
|
||||
"metrics.operating-system": {
|
||||
"defaultMessage": "Betriebssystem"
|
||||
},
|
||||
"metrics.page-views": {
|
||||
"defaultMessage": "Seitenaufrufe"
|
||||
},
|
||||
"metrics.pages": {
|
||||
"defaultMessage": "Seiten"
|
||||
},
|
||||
"metrics.referrers": {
|
||||
"defaultMessage": "Referrers"
|
||||
},
|
||||
"metrics.unique-visitors": {
|
||||
"defaultMessage": "Eindeutige Besucher"
|
||||
},
|
||||
"metrics.views": {
|
||||
"defaultMessage": "Aufrufe"
|
||||
},
|
||||
"metrics.visitors": {
|
||||
"defaultMessage": "Besucher"
|
||||
},
|
||||
"placeholder.message.go-to-settings": {
|
||||
"defaultMessage": "Zu den Einstellungen"
|
||||
},
|
||||
"placeholder.message.no-websites-configured": {
|
||||
"defaultMessage": "Es ist keine Webseite vorhanden."
|
||||
},
|
||||
"settings.accounts": {
|
||||
"defaultMessage": "Konten"
|
||||
},
|
||||
"settings.profile": {
|
||||
"defaultMessage": "Profil"
|
||||
},
|
||||
"settings.websites": {
|
||||
"defaultMessage": "Webseiten"
|
||||
},
|
||||
"title.add-account": {
|
||||
"defaultMessage": "Konto hinzugfügen"
|
||||
},
|
||||
"title.add-website": {
|
||||
"defaultMessage": "Webseite hinzufügen"
|
||||
},
|
||||
"title.delete-account": {
|
||||
"defaultMessage": "Konto löschen"
|
||||
},
|
||||
"title.delete-website": {
|
||||
"defaultMessage": "Webseite löschen"
|
||||
},
|
||||
"title.edit-account": {
|
||||
"defaultMessage": "Konto bearbeiten"
|
||||
},
|
||||
"title.edit-website": {
|
||||
"defaultMessage": "Webseite bearbeiten"
|
||||
},
|
||||
"title.share-url": {
|
||||
"defaultMessage": "Freigabe-URL"
|
||||
},
|
||||
"title.tracking-code": {
|
||||
"defaultMessage": "Tracking Kennung"
|
||||
},
|
||||
"tooltip.get-share-url": {
|
||||
"defaultMessage": "Freigabe-URL abrufen"
|
||||
},
|
||||
"tooltip.get-tracking-code": {
|
||||
"defaultMessage": "Erstelle Tracking Kennung"
|
||||
}
|
||||
}
|
@ -3,13 +3,15 @@ import nlMessages from 'lang-compiled/nl-NL.json';
|
||||
import zhCNMessages from 'lang-compiled/zh-CN.json';
|
||||
import trTRMessages from 'lang-compiled/tr-TR.json';
|
||||
import ruRUMessages from 'lang-compiled/ru-RU.json';
|
||||
import deDEMessages from 'lang-compiled/de-DE.json';
|
||||
import { format } from 'date-fns';
|
||||
import { enUS, nl, zhCN, tr, ru } from 'date-fns/locale';
|
||||
import { enUS, nl, zhCN , tr, ru, de} from 'date-fns/locale';
|
||||
|
||||
export const messages = {
|
||||
en: enMessages,
|
||||
'nl-NL': nlMessages,
|
||||
'zh-CN': zhCNMessages,
|
||||
'de-DE': deDEMessages,
|
||||
'ru-RU': ruRUMessages,
|
||||
'tr-TR': trTRMessages,
|
||||
};
|
||||
@ -18,6 +20,7 @@ export const dateLocales = {
|
||||
en: enUS,
|
||||
'nl-NL': nl,
|
||||
'zh-CN': zhCN,
|
||||
'de-DE': de,
|
||||
'ru-RU': ru,
|
||||
'tr-TR': tr,
|
||||
};
|
||||
@ -26,6 +29,7 @@ export const menuOptions = [
|
||||
{ label: 'English', value: 'en', display: 'EN' },
|
||||
{ label: 'Nederlands', value: 'nl-NL', display: 'NL' },
|
||||
{ label: '中文 (Chinese Simplified)', value: 'zh-CN', display: '中文' },
|
||||
{ label: 'Deutsch' , value:"de-DE", display: 'DE'},
|
||||
{ label: 'Русский', value: 'ru-RU', display: 'РУ' },
|
||||
{ label: 'Turkish', value: 'tr-TR', display: 'TR' },
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user