mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix: enable Irish language on ui (#4781)
* fix: enable irish language on ui * Update docusaurus.config.js
This commit is contained in:
parent
4769ddf1ba
commit
303c659bfc
4 changed files with 9 additions and 0 deletions
5
.changeset/dry-mirrors-roll.md
Normal file
5
.changeset/dry-mirrors-roll.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@verdaccio/ui-theme': patch
|
||||
---
|
||||
|
||||
fix: enable irish language on ui
|
|
@ -169,6 +169,7 @@
|
|||
"japanese": "Japanese",
|
||||
"portuguese": "Portuguese",
|
||||
"spanish": "Spanish",
|
||||
"irish": "Irish",
|
||||
"german": "German",
|
||||
"italian": "Italian",
|
||||
"french": "French",
|
||||
|
|
|
@ -13,6 +13,7 @@ export const listLanguages: LanguageConfiguration[] = [
|
|||
{ lng: 'cs-CZ', icon: Flags.CZ, menuKey: 'lng.czech' },
|
||||
{ lng: 'pt-BR', icon: Flags.BR, menuKey: 'lng.portuguese' },
|
||||
{ lng: 'es-ES', icon: Flags.ES, menuKey: 'lng.spanish' },
|
||||
{ lng: 'ga-IE', icon: Flags.IE, menuKey: 'lng.irish' },
|
||||
{ lng: 'de-DE', icon: Flags.DE, menuKey: 'lng.german' },
|
||||
{ lng: 'it-IT', icon: Flags.IT, menuKey: 'lng.italian' },
|
||||
{ lng: 'fr-FR', icon: Flags.FR, menuKey: 'lng.french' },
|
||||
|
|
|
@ -56,6 +56,7 @@ const i18nConfig = {
|
|||
'es-ES',
|
||||
'fr-FR',
|
||||
'it-IT',
|
||||
'ga-IE',
|
||||
'pl-PL',
|
||||
'pt-BR',
|
||||
'ru-RU',
|
||||
|
@ -70,6 +71,7 @@ const i18nConfig = {
|
|||
'it-IT': { label: `Italiano (${progress['it'].translationProgress}%)` },
|
||||
'es-ES': { label: `Español (${progress['es-ES'].translationProgress}%)` },
|
||||
'de-DE': { label: `Deutsch (${progress['de'].translationProgress}%)` },
|
||||
'ga-IE': { label: `Gaeilge (Éire) (${progress['ga'].translationProgress}%)` },
|
||||
'cs-CZ': { label: `Čeština (Česko) (${progress['cs'].translationProgress}%)` },
|
||||
'fr-FR': { label: `Français (${progress['fr'].translationProgress}%)` },
|
||||
'pl-PL': { label: `Polski (Polska) (${progress['pl'].translationProgress}%)` },
|
||||
|
|
Loading…
Reference in a new issue