mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-29 23:25:58 +02:00
remove language translation
This commit is contained in:
parent
d460dd35c7
commit
9d68c5666f
3 changed files with 26 additions and 10 deletions
22
messages/de-DE.json
Normal file
22
messages/de-DE.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"locales": {
|
||||
"label": "Sprache",
|
||||
"en-US": "Englisch",
|
||||
"de-DE": "Deutsch"
|
||||
},
|
||||
"setupCreate": "Erstelle deine Organisation, Seite und Ressourcen",
|
||||
"setupNewOrg": "Neue Organisation",
|
||||
"setupCreateOrg": "Organisation erstellen",
|
||||
"setupCreateSite": "Seite erstellen",
|
||||
"setupCreateResources": "Ressource erstellen",
|
||||
"setupOrgName": "Organisation's Name",
|
||||
"setupDisplayName": "Dies ist der Anzeigename für Ihre Organisation.",
|
||||
"setupOrgId": "Organisations-ID",
|
||||
"setupIdentifierMessage": "Dies ist der eindeutige Bezeichner für Ihre Organisation. Dies ist getrennt vom Anzeigenamen.",
|
||||
"setupErrorIdentifier": "Organisations-ID ist bereits vergeben. Bitte wählen Sie eine andere.",
|
||||
"componentsErrorNoMemberCreate": "Sie sind derzeit kein Mitglied einer Organisation. Erstellen Sie eine Organisation, um loszulegen.",
|
||||
"componentsErrorNoMember": "Du bist aktuell kein Mitglied einer Organisation.",
|
||||
"welcome": "Willkommen zu Pangolin",
|
||||
"componentsCreateOrg": "Erstelle eine Organisation",
|
||||
"componentsMember": "Du bist Mitglied von {count, plural, =0 {keiner Organisation} =1 {einer Organisation} other {# Organisationen}}."
|
||||
}
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
"locales": {
|
||||
"label": "Language",
|
||||
"en-US": "English",
|
||||
"de-DE": "German"
|
||||
},
|
||||
"setupCreate": "Create your organization, site, and resources",
|
||||
"setupNewOrg": "New Organization",
|
||||
"setupCreateOrg": "Create Organization",
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import { useLocale, useTranslations } from 'next-intl';
|
||||
import { useLocale } from 'next-intl';
|
||||
import LocaleSwitcherSelect from './LocaleSwitcherSelect';
|
||||
|
||||
export default function LocaleSwitcher() {
|
||||
const t = useTranslations('locales');
|
||||
const locale = useLocale();
|
||||
|
||||
return (
|
||||
|
@ -11,14 +10,14 @@ export default function LocaleSwitcher() {
|
|||
items={[
|
||||
{
|
||||
value: 'en-US',
|
||||
label: t('en-US')
|
||||
label: 'Englisch'
|
||||
},
|
||||
{
|
||||
value: 'de-DE',
|
||||
label: t('de-DE')
|
||||
label: 'German'
|
||||
}
|
||||
]}
|
||||
label={t('label')}
|
||||
label='Language'
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue