mirror of
https://github.com/go-task/task.git
synced 2025-01-28 05:36:18 +02:00
feat(website): add spanish to language dropdown menu (#1187)
This commit is contained in:
parent
8e4afa88f7
commit
1936142042
@ -31,7 +31,7 @@ const getConfig = async () => {
|
||||
|
||||
i18n: {
|
||||
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: {
|
||||
en: {
|
||||
label: 'English',
|
||||
@ -53,6 +53,11 @@ const getConfig = async () => {
|
||||
direction: 'ltr',
|
||||
htmlLang: 'ru-RU'
|
||||
},
|
||||
'es-ES': {
|
||||
label: `Español (${translationProgress['es-ES'] || 0}%)`,
|
||||
direction: 'ltr',
|
||||
htmlLang: 'es-ES'
|
||||
},
|
||||
'zh-Hans': {
|
||||
label: `简体中文 (${translationProgress['zh-CN'] || 0}%)`,
|
||||
direction: 'ltr',
|
||||
|
Loading…
x
Reference in New Issue
Block a user