added german translation
This commit is contained in:
parent
24bd7fcfd2
commit
e7f9a54ca5
|
@ -5,6 +5,7 @@ import { RomanianTranslation } from './translations/romanian'
|
|||
import { DutchTranslation } from './translations/nederlands'
|
||||
import { MandarinTranslation } from './translations/chinese'
|
||||
import { TurkishTranslation } from './translations/turkish'
|
||||
import { DeutschTranslation } from './translations/deutsch'
|
||||
|
||||
/**
|
||||
* Object with all translations
|
||||
|
@ -14,7 +15,8 @@ export const translations: Record<supportedLanguage, Translation> = {
|
|||
['română']: RomanianTranslation,
|
||||
dutch: DutchTranslation,
|
||||
['中文']: MandarinTranslation,
|
||||
['türkçe']: TurkishTranslation
|
||||
['türkçe']: TurkishTranslation,
|
||||
deutsch: DeutschTranslation
|
||||
}
|
||||
|
||||
export const allSupportedLanguages: supportedLanguage[] = [
|
||||
|
@ -22,5 +24,6 @@ export const allSupportedLanguages: supportedLanguage[] = [
|
|||
'română',
|
||||
'dutch',
|
||||
'中文',
|
||||
'türkçe'
|
||||
'türkçe',
|
||||
'deutsch'
|
||||
]
|
||||
|
|
55
src/modules/internalisation/translations/deutsch.ts
Normal file
55
src/modules/internalisation/translations/deutsch.ts
Normal file
|
@ -0,0 +1,55 @@
|
|||
import { Translation } from '../types/TranslationInterface'
|
||||
|
||||
/**
|
||||
* The enaglish translation
|
||||
*/
|
||||
export const DeutschTranslation: Translation = {
|
||||
language: 'deutsch',
|
||||
sidebar: {
|
||||
createSimulation: 'Simulation erstellen',
|
||||
logicGates: ' Logische Tore',
|
||||
openSimulation: ' Simulationen öffnen ',
|
||||
simulation: 'Simulation',
|
||||
language: ' Sprache ',
|
||||
backToSimulation: ' Zurück zur Simulation',
|
||||
backToGates: ' Zurück zur Logische Tore'
|
||||
},
|
||||
createSimulation: {
|
||||
mode: {
|
||||
question: 'Welche Art von Simulation möchten Sie erstellen?',
|
||||
options: {
|
||||
ic: 'Integrierter Schaltkreis',
|
||||
project: 'Projekt'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
question: 'Was wollen Sie Ihre Simulation genannt werden?'
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
save: 'Speichern',
|
||||
clean: 'Reinigen',
|
||||
refresh: 'Aktualisierung',
|
||||
undo: 'Rückgängig machen',
|
||||
paste: 'Einfügen',
|
||||
copy: 'Kopieren',
|
||||
duplicate: 'Duplizieren',
|
||||
cut: 'Schnitt',
|
||||
'select all': 'Wählen Sie Alle',
|
||||
'delete selection': 'Auswahl löschen',
|
||||
'delete simulation': 'Simulation löschen'
|
||||
},
|
||||
messages: {
|
||||
createdSimulation: name => `Erfolgreich erstellte Simulation '${name}'`,
|
||||
switchedToSimulation: name =>
|
||||
`Erfolgreich auf Simulation umgestellt '${name}'`,
|
||||
savedSimulation: name =>
|
||||
`Erfolgreich gespeicherte Simulation '${name}'`,
|
||||
compiledIc: name => `Erfolgreich kompilierte Schaltung '${name}'`,
|
||||
cleaned: name => `Erfolgreich bereinigte Simulation '${name}'`,
|
||||
refreshed: name => `Erfolgreich aktualisierte Simulation '${name}'`,
|
||||
undone: name => `Simulation erfolgreich rückgängig gemacht ' ${name}'`,
|
||||
deletedSimulation: name => `Simulation erfolgreich gelöscht ' ${name}'`,
|
||||
addedGate: name => `Tor erfolgreich hinzugefügt`
|
||||
}
|
||||
}
|
|
@ -7,3 +7,4 @@ export type supportedLanguage =
|
|||
| 'dutch'
|
||||
| '中文'
|
||||
| 'türkçe'
|
||||
| 'deutsch'
|
||||
|
|
|
@ -10,7 +10,7 @@ const incrementorTemplate: PartialTemplate = {
|
|||
},
|
||||
material: {
|
||||
type: 'image',
|
||||
fill: require('../../../assets/incrementor')
|
||||
fill: require('../../../assets/incrementor.svg')
|
||||
},
|
||||
code: {
|
||||
activation: `
|
||||
|
|
Loading…
Reference in a new issue