fix: invalid language flags

This commit is contained in:
jeffreytse 2021-04-23 13:58:51 +08:00
parent 6d7dca6469
commit f1e94f03c9
2 changed files with 16 additions and 19 deletions

View file

@ -61,31 +61,28 @@ yat:
# langs refer to https://cloud.google.com/translate/docs/languages # langs refer to https://cloud.google.com/translate/docs/languages
# translate_langs: # translate_langs:
# - lang: en # - lang: en
# img: https://cdn.countryflags.com/thumbs/united-states-of-america/flag-400.png
# text: English # text: English
# #
# - lang: fr # - lang: fr
# img: https://www.countryflags.io/fr/flat/64.png # img: https://cdn.countryflags.com/thumbs/france/flag-400.png
# text: Franch # text: Franch
# #
# - lang: zh-CN # - 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) # text: Chinese(Simple)
# #
# - lang: zh-TW
# img: https://www.countryflags.io/tw/flat/64.png
# text: Chinese(Traditional)
#
# - lang: ja # - lang: ja
# img: https://www.countryflags.io/jp/flat/64.png # img: https://cdn.countryflags.com/thumbs/japan/flag-400.png
# text: Japan # text: Japanese
# #
# - lang: ko # - lang: ko
# img: https://www.countryflags.io/kr/flat/64.png # img: https://cdn.countryflags.com/thumbs/south-korea/flag-400.png
# text: Korean # text: Korean
# #
# - lang: ru # - lang: ru
# img: https://www.countryflags.io/ru/flat/64.png # img: https://cdn.countryflags.com/thumbs/russia/flag-400.png
# text: Russia # text: Russian
# You can choose a theme color # You can choose a theme color
# Default theme colors as below: # Default theme colors as below:

View file

@ -2,25 +2,25 @@
# langs refer to https://cloud.google.com/translate/docs/languages # langs refer to https://cloud.google.com/translate/docs/languages
- lang: en - 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 text: English
- lang: fr - lang: fr
img: https://www.countryflags.io/fr/flat/64.png img: https://cdn.countryflags.com/thumbs/france/flag-400.png
text: Franch text: Franch
- lang: zh-CN - 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) text: Chinese(Simple)
- lang: ja - lang: ja
img: https://www.countryflags.io/jp/flat/64.png img: https://cdn.countryflags.com/thumbs/japan/flag-400.png
text: Japan text: Japanese
- lang: ko - lang: ko
img: https://www.countryflags.io/kr/flat/64.png img: https://cdn.countryflags.com/thumbs/south-korea/flag-400.png
text: Korean text: Korean
- lang: ru - lang: ru
img: https://www.countryflags.io/ru/flat/64.png img: https://cdn.countryflags.com/thumbs/russia/flag-400.png
text: Russia text: Russian