mirror of
https://github.com/go-task/task.git
synced 2025-06-17 00:17:51 +02:00
feat(website): add spanish to language dropdown menu (#1187)
This commit is contained in:
@ -31,7 +31,7 @@ const getConfig = async () => {
|
|||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
locales: ['en', 'fr-FR', 'pt-BR', 'ru-RU', 'zh-Hans'],
|
locales: ['en', 'fr-FR', 'pt-BR', 'ru-RU', 'es-ES', 'zh-Hans'],
|
||||||
localeConfigs: {
|
localeConfigs: {
|
||||||
en: {
|
en: {
|
||||||
label: 'English',
|
label: 'English',
|
||||||
@ -53,6 +53,11 @@ const getConfig = async () => {
|
|||||||
direction: 'ltr',
|
direction: 'ltr',
|
||||||
htmlLang: 'ru-RU'
|
htmlLang: 'ru-RU'
|
||||||
},
|
},
|
||||||
|
'es-ES': {
|
||||||
|
label: `Español (${translationProgress['es-ES'] || 0}%)`,
|
||||||
|
direction: 'ltr',
|
||||||
|
htmlLang: 'es-ES'
|
||||||
|
},
|
||||||
'zh-Hans': {
|
'zh-Hans': {
|
||||||
label: `简体中文 (${translationProgress['zh-CN'] || 0}%)`,
|
label: `简体中文 (${translationProgress['zh-CN'] || 0}%)`,
|
||||||
direction: 'ltr',
|
direction: 'ltr',
|
||||||
|
Reference in New Issue
Block a user