Skip to content

Commit

Permalink
de.js (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasbrett authored Aug 31, 2024
1 parent df8904a commit 1814b15
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 1 deletion.
148 changes: 148 additions & 0 deletions src/localize/languages/de.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
export const de = {
"common": {
"api_error": "API Error",
"no_upcoming_games": "Keine anstehenden Spiele bis %s",
"finalTerm": "%s - Endergebnis",
"byeTerm": "BYE",
"tourney2": "Finale",
"tourney4": "Halbfinale",
"tourney8": "Viertelfinale",
"tourney16": "Achtelfinale",
"tourney32": "Sechzehntelfinale",
"tourney64": "Vorrunde",
"tourney128": "Vorrunde",
"tourney256": "Vorrunde",
"today": "Heute",
"tomorrow": "Morgen"
},
"australian-football": {
"startTerm": "Start",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Gewinnchance",
"teamBarLabel": "%s%",
"oppoBarLabel": "%s%"
},
"baseball": {
"startTerm": "First Pitch",
"overUnder": "O/U: %s",
"gameStat1": "Balls %s",
"gameStat2": "Strikes %s",
"gameStat3": "%s Outs",
"gameBar": "Gewinnchance",
"teamBarLabel": "%s%",
"oppoBarLabel": "%s%"
},
"basketball": {
"startTerm": "Tipoff",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Gewinnchance",
"teamBarLabel": "%s%",
"oppoBarLabel": "%s%"
},
"cricket": {
"startTerm": "Start",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Gewinnchance",
"teamBarLabel": "%s%",
"oppoBarLabel": "%s%"
},
"football": {
"startTerm": "Kickoff",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Gewinnchance",
"teamBarLabel": "%s%",
"oppoBarLabel": "%s%"
},
"golf": {
"startTerm": "Round Starts",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Shots (Thru)",
"teamBarLabel": "%s",
"oppoBarLabel": "%s"
},
"hockey": {
"startTerm": "Puck Drop",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Torschüsse",
"teamBarLabel": "%s",
"oppoBarLabel": "%s"
},
"mma": {
"startTerm": "Start",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Gewinnchance",
"teamBarLabel": "%s%",
"oppoBarLabel": "%s%"
},
"racing": {
"startTerm": "Start",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Runden",
"teamBarLabel": "%s",
"oppoBarLabel": "%s"
},
"soccer": {
"startTerm": "Anstoß",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Torschüsse",
"teamBarLabel": "%s",
"oppoBarLabel": "%s"
},
"tennis": {
"startTerm": "First Serve",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "%s",
"teamBarLabel": "%s",
"oppoBarLabel": "%s"
},
"volleyball": {
"startTerm": "Aufschlag",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "%s Score",
"teamBarLabel": "%s",
"oppoBarLabel": "%s"
},
"default": {
"startTerm": "Start",
"overUnder": "O/U: %s",
"gameStat1": "%s",
"gameStat2": "%s",
"gameStat3": "",
"gameBar": "Gewinnchance",
"teamBarLabel": "%s%",
"oppoBarLabel": "%s%"
}
}
4 changes: 3 additions & 1 deletion src/localize/translator.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import {de} from "./languages/de.js"
import {en} from "./languages/en.js"
import {en_US} from "./languages/en_US.js"
import {es} from "./languages/es.js"
Expand All @@ -10,6 +11,7 @@ import {sk} from "./languages/sk.js"
import {sk_SK} from "./languages/sk_SK.js"

var languages = {
de: de,
en: en,
en_US: en_US,
es: es,
Expand All @@ -19,7 +21,7 @@ var languages = {
it: it,
pt_BR: pt_BR,
sk: sk,
sk_SK: sk_SK,
sk_SK: sk_SK,
};

export class Translator {
Expand Down

0 comments on commit 1814b15

Please sign in to comment.