mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -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",
|
"japanese": "Japanese",
|
||||||
"portuguese": "Portuguese",
|
"portuguese": "Portuguese",
|
||||||
"spanish": "Spanish",
|
"spanish": "Spanish",
|
||||||
|
"irish": "Irish",
|
||||||
"german": "German",
|
"german": "German",
|
||||||
"italian": "Italian",
|
"italian": "Italian",
|
||||||
"french": "French",
|
"french": "French",
|
||||||
|
|
|
@ -13,6 +13,7 @@ export const listLanguages: LanguageConfiguration[] = [
|
||||||
{ lng: 'cs-CZ', icon: Flags.CZ, menuKey: 'lng.czech' },
|
{ lng: 'cs-CZ', icon: Flags.CZ, menuKey: 'lng.czech' },
|
||||||
{ lng: 'pt-BR', icon: Flags.BR, menuKey: 'lng.portuguese' },
|
{ lng: 'pt-BR', icon: Flags.BR, menuKey: 'lng.portuguese' },
|
||||||
{ lng: 'es-ES', icon: Flags.ES, menuKey: 'lng.spanish' },
|
{ 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: 'de-DE', icon: Flags.DE, menuKey: 'lng.german' },
|
||||||
{ lng: 'it-IT', icon: Flags.IT, menuKey: 'lng.italian' },
|
{ lng: 'it-IT', icon: Flags.IT, menuKey: 'lng.italian' },
|
||||||
{ lng: 'fr-FR', icon: Flags.FR, menuKey: 'lng.french' },
|
{ lng: 'fr-FR', icon: Flags.FR, menuKey: 'lng.french' },
|
||||||
|
|
|
@ -56,6 +56,7 @@ const i18nConfig = {
|
||||||
'es-ES',
|
'es-ES',
|
||||||
'fr-FR',
|
'fr-FR',
|
||||||
'it-IT',
|
'it-IT',
|
||||||
|
'ga-IE',
|
||||||
'pl-PL',
|
'pl-PL',
|
||||||
'pt-BR',
|
'pt-BR',
|
||||||
'ru-RU',
|
'ru-RU',
|
||||||
|
@ -70,6 +71,7 @@ const i18nConfig = {
|
||||||
'it-IT': { label: `Italiano (${progress['it'].translationProgress}%)` },
|
'it-IT': { label: `Italiano (${progress['it'].translationProgress}%)` },
|
||||||
'es-ES': { label: `Español (${progress['es-ES'].translationProgress}%)` },
|
'es-ES': { label: `Español (${progress['es-ES'].translationProgress}%)` },
|
||||||
'de-DE': { label: `Deutsch (${progress['de'].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}%)` },
|
'cs-CZ': { label: `Čeština (Česko) (${progress['cs'].translationProgress}%)` },
|
||||||
'fr-FR': { label: `Français (${progress['fr'].translationProgress}%)` },
|
'fr-FR': { label: `Français (${progress['fr'].translationProgress}%)` },
|
||||||
'pl-PL': { label: `Polski (Polska) (${progress['pl'].translationProgress}%)` },
|
'pl-PL': { label: `Polski (Polska) (${progress['pl'].translationProgress}%)` },
|
||||||
|
|
Loading…
Reference in a new issue