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
# 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:

View file

@ -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