Read the statement by Michael Teeuw here.
MMM-OlympicGames
-
@mlhote In the meantime it works also with node-fetch v2 for me, so an upgrade seems not to be necessary.
One assumption is that this occurs when you restart the mirror several times. Then the API is often queried in a short time and therefore you are blocked.
-
Link to module https://github.com/fewieden/MMM-OlympicGames
[1.2.0]
Added
- Added another data source, see new config option
provider
.
Changed
- Countries with same medals share the same rank
[card:fewieden/MMM-OlympicGames]
- Added another data source, see new config option
-
I’ve specified the en-US locale but the country names seem to be in Catalan.
Here is my config file
{ module: "MMM-OlympicGames", position: "top_left", config: { // all your config options, which are different$ locale: "en_US", highlight: "CA", maxRows: "10", reloadInterval: "3600000", provider: "nbc" } } ```Edited to fix locale typo
-
-
@sdetweil Just saw that after posting and made the correction. Unfortunaly I get the same result with the typo corrected.
-
@sirfm
locale
has to be direcly under config not in the module config: https://github.com/fewieden/MMM-OlympicGames/blob/master/.github/global.png -
@kristjanesperanto yes, but that impacts system wide.
but looking at the code, you are correct
-
@sdetweil @KristjanESPERANTO
My default locale is “ca-FR”. I don’t mind contributing to a transaltion file if needed. -
@sirfm the locale
ca-FR
represents Catalan (France) in your case it should befr-CA
for French (Canada).In general, the locale format is mostly language code - region code.
There are some labels that could also be translated to french https://github.com/fewieden/MMM-OlympicGames/blob/master/translations/en.json
-
1.3.0
Added
- Added option for user to input list of countries to display, see config option
countryList
. - Added French language translations.
Changed
- Uniform spelling for MagicMirror²
- Upgraded development dependencies
- Updated preview images
Link to module https://github.com/fewieden/MMM-OlympicGames
- Added option for user to input list of countries to display, see config option