Closed hrw closed 5 months ago
Ah. https://github.com/marcokreeft87/formulaone-card/blob/c963094e0b42187f8736066497d8704783aa26dd/src/cards/next-race.ts#L10 has a list and README is just a bit out of sync ;D
defaultTranslations = {
'date' : 'Date',
'practice1' : 'Practice 1',
'practice2' : 'Practice 2',
'practice3' : 'Practice 3',
'race' : 'Race',
'racename' : 'Race name',
'circuitname' : 'Circuit name',
'location' : 'Location',
'city': 'City',
'racetime' : 'Race',
'sprint' : 'Sprint',
'qualifying' : 'Qualifying',
'endofseason' : 'Season is over. See you next year!',
};
Changed 'racet' to 'racetime' in YAML and now it shows like I wanted.
Can you update README?
Ah yes, thats a typo haha. Sorry about that.
I've changed it in the readme. Thnx for the headsup!
Describe the bug There is a way to translate words in card described in README. I use it but 'Race' is not translated:
Code:
Expected behavior 'Miasto Melbourne Wyścig Sun 05:00' in last line.
Screenshots![obraz](https://github.com/marcokreeft87/formulaone-card/assets/185508/3bfb6406-0e76-42a0-9bb6-3f9efa7918a1)
Desktop: