This commit is contained in:
MarkZhang 2020-11-12 17:56:06 +08:00 коммит произвёл GitHub
Родитель f6e9717d57
Коммит a533221850
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -54,6 +54,7 @@ The ```data-market``` and ```data-language``` parameters control the market and
| Spain* | es-ES | | Spain* | es-ES |
| UK | en-GB | | UK | en-GB |
| US | en-US | | US | en-US |
| CN | zh-CN |
* Markets with an asterisk (*) do not support the ```data-type``` of ```covid19_stats_trends``` currently. * Markets with an asterisk (*) do not support the ```data-type``` of ```covid19_stats_trends``` currently.
@ -65,14 +66,14 @@ The ```data-market``` and ```data-language``` parameters control the market and
| English in India | en-IN | | English in India | en-IN |
| English in UK | en-GB | | English in UK | en-GB |
| English in US | en-US | | English in US | en-US |
| French | fr-FR | | French | fr-FR |
| French in Canada | fr-CA | | French in Canada | fr-CA |
| German | de-DE | | German | de-DE |
| Italian | it-IT | | Italian | it-IT |
| Japanese | ja-JP | | Japanese | ja-JP |
| Korean | ko-KR | | Korean | ko-KR |
| Spanish | es-ES | | Spanish | es-ES |
| Chinese Simplefied | zh-CN |
## How do I specify a location for the widget to load? ## How do I specify a location for the widget to load?
The ```data-location-id``` parameter allows you to set location based on a set of available ```“/Country/Region"``` combinations. Setting the ```data-location-id``` will update all modules with the specified location's data. A list of the supported locations is available in the [AllLocations.txt file](../master/AllLocations.txt). If no ```data-location-id``` is set, the default is the global view. You can also select a global view for the ```data-location-id``` parameter with a value of ```"/"```. The ```data-location-id``` parameter allows you to set location based on a set of available ```“/Country/Region"``` combinations. Setting the ```data-location-id``` will update all modules with the specified location's data. A list of the supported locations is available in the [AllLocations.txt file](../master/AllLocations.txt). If no ```data-location-id``` is set, the default is the global view. You can also select a global view for the ```data-location-id``` parameter with a value of ```"/"```.