mirror of
https://github.com/go-task/task.git
synced 2025-06-27 00:51:05 +02:00
chore(website): disable translations for now (#1617)
This commit is contained in:
@ -31,56 +31,12 @@ const config: Config = {
|
|||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
locales: [
|
locales: ['en'],
|
||||||
'en',
|
|
||||||
'es-ES',
|
|
||||||
'fr-FR',
|
|
||||||
'ja-JP',
|
|
||||||
'pt-BR',
|
|
||||||
'ru-RU',
|
|
||||||
'tr-TR',
|
|
||||||
'zh-Hans'
|
|
||||||
],
|
|
||||||
localeConfigs: {
|
localeConfigs: {
|
||||||
en: {
|
en: {
|
||||||
label: 'English',
|
label: 'English',
|
||||||
direction: 'ltr',
|
direction: 'ltr',
|
||||||
htmlLang: 'en-US'
|
htmlLang: 'en-US'
|
||||||
},
|
|
||||||
'es-ES': {
|
|
||||||
label: `Español (${translationProgress['es-ES'] || 0}%)`,
|
|
||||||
direction: 'ltr',
|
|
||||||
htmlLang: 'es-ES'
|
|
||||||
},
|
|
||||||
'fr-FR': {
|
|
||||||
label: `Français (${translationProgress['fr'] || 0}%)`,
|
|
||||||
direction: 'ltr',
|
|
||||||
htmlLang: 'fr-FR'
|
|
||||||
},
|
|
||||||
'ja-JP': {
|
|
||||||
label: `日本語 (${translationProgress['ja'] || 0}%)`,
|
|
||||||
direction: 'ltr',
|
|
||||||
htmlLang: 'ja-JP'
|
|
||||||
},
|
|
||||||
'pt-BR': {
|
|
||||||
label: `Português (${translationProgress['pt-BR'] || 0}%)`,
|
|
||||||
direction: 'ltr',
|
|
||||||
htmlLang: 'pt-BR'
|
|
||||||
},
|
|
||||||
'ru-RU': {
|
|
||||||
label: `Pусский (${translationProgress['ru'] || 0}%)`,
|
|
||||||
direction: 'ltr',
|
|
||||||
htmlLang: 'ru-RU'
|
|
||||||
},
|
|
||||||
'tr-TR': {
|
|
||||||
label: `Türkçe (${translationProgress['tr'] || 0}%)`,
|
|
||||||
direction: 'ltr',
|
|
||||||
htmlLang: 'tr-TR'
|
|
||||||
},
|
|
||||||
'zh-Hans': {
|
|
||||||
label: `简体中文 (${translationProgress['zh-CN'] || 0}%)`,
|
|
||||||
direction: 'ltr',
|
|
||||||
htmlLang: 'zh-Hans'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -168,16 +124,6 @@ const config: Config = {
|
|||||||
position: 'right',
|
position: 'right',
|
||||||
dropdownActiveClassDisabled: true,
|
dropdownActiveClassDisabled: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
type: 'localeDropdown',
|
|
||||||
position: 'right',
|
|
||||||
dropdownItemsAfter: [
|
|
||||||
{
|
|
||||||
to: '/translate/',
|
|
||||||
label: 'Help Us Translate'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
href: GITHUB_URL,
|
href: GITHUB_URL,
|
||||||
position: 'right',
|
position: 'right',
|
||||||
|
Reference in New Issue
Block a user