forked from D34DC3N73R/ha-nfl-card
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update version * de.js (#105) * improve formatting (#104) --------- Co-authored-by: Andreas Brett <[email protected]>
- Loading branch information
1 parent
e4df459
commit e78b5e6
Showing
4 changed files
with
158 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
To add a new language | ||
1. Copy the en.js file to the file for the new language. | ||
1. Copy the `en.js` file to the file for the new language. | ||
2. Make the following updates to the new file: | ||
a. Change the variable name to the name of the new language | ||
b. Translate the phrases | ||
3. Make the following change to the translator.js file | ||
a. Import the new language file. | ||
b. Add the new language to the languages object. | ||
- Change the variable name to the name of the new language | ||
- Translate the phrases | ||
3. Make the following change to the `translator.js` file | ||
- Import the new language file. | ||
- Add the new language to the languages object. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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%" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters