diff options
author | jeffreytse <jeffreytse.mail@gmail.com> | 2021-04-23 13:58:51 +0800 |
---|---|---|
committer | jeffreytse <jeffreytse.mail@gmail.com> | 2021-04-23 13:58:51 +0800 |
commit | f1e94f03c92daec732690fd359d9685d716ed5e0 (patch) | |
tree | 1c68d7c393dbd5fb95d9cb1884223243b3394e54 | |
parent | 6d7dca64691dfa245f023ee8c09d4efd208c3de9 (diff) |
fix: invalid language flags
-rw-r--r-- | _config.yml | 19 | ||||
-rw-r--r-- | _data/translate_langs.yml | 16 |
2 files changed, 16 insertions, 19 deletions
diff --git a/_config.yml b/_config.yml index 05a8cab..6f07d2a 100644 --- a/_config.yml +++ b/_config.yml @@ -61,31 +61,28 @@ yat: # langs refer to https://cloud.google.com/translate/docs/languages # translate_langs: # - lang: en +# img: https://cdn.countryflags.com/thumbs/united-states-of-america/flag-400.png # text: English # # - lang: fr -# img: https://www.countryflags.io/fr/flat/64.png +# img: https://cdn.countryflags.com/thumbs/france/flag-400.png # text: Franch # # - lang: zh-CN -# img: https://www.countryflags.io/cn/flat/64.png +# img: https://cdn.countryflags.com/thumbs/china/flag-400.png # text: Chinese(Simple) # -# - lang: zh-TW -# img: https://www.countryflags.io/tw/flat/64.png -# text: Chinese(Traditional) -# # - lang: ja -# img: https://www.countryflags.io/jp/flat/64.png -# text: Japan +# img: https://cdn.countryflags.com/thumbs/japan/flag-400.png +# text: Japanese # # - lang: ko -# img: https://www.countryflags.io/kr/flat/64.png +# img: https://cdn.countryflags.com/thumbs/south-korea/flag-400.png # text: Korean # # - lang: ru -# img: https://www.countryflags.io/ru/flat/64.png -# text: Russia +# img: https://cdn.countryflags.com/thumbs/russia/flag-400.png +# text: Russian # You can choose a theme color # Default theme colors as below: diff --git a/_data/translate_langs.yml b/_data/translate_langs.yml index d4e802a..85e026c 100644 --- a/_data/translate_langs.yml +++ b/_data/translate_langs.yml @@ -2,25 +2,25 @@ # langs refer to https://cloud.google.com/translate/docs/languages - lang: en - img: https://www.countryflags.io/us/flat/64.png + img: https://cdn.countryflags.com/thumbs/united-states-of-america/flag-400.png text: English - lang: fr - img: https://www.countryflags.io/fr/flat/64.png + img: https://cdn.countryflags.com/thumbs/france/flag-400.png text: Franch - lang: zh-CN - img: https://www.countryflags.io/cn/flat/64.png + img: https://cdn.countryflags.com/thumbs/china/flag-400.png text: Chinese(Simple) - lang: ja - img: https://www.countryflags.io/jp/flat/64.png - text: Japan + img: https://cdn.countryflags.com/thumbs/japan/flag-400.png + text: Japanese - lang: ko - img: https://www.countryflags.io/kr/flat/64.png + img: https://cdn.countryflags.com/thumbs/south-korea/flag-400.png text: Korean - lang: ru - img: https://www.countryflags.io/ru/flat/64.png - text: Russia + img: https://cdn.countryflags.com/thumbs/russia/flag-400.png + text: Russian |