Irish PO file thanks to @kingdonncha1.bsky.social (#2924)
* Irish PO file thanks to @kingdonncha1.bsky.social * feat: add Gaeilge options added by @kscanne into the GUI --------- Co-authored-by: Kat Gaea <kat.knight@newgaea.net>zio/stable
parent
93fbd91193
commit
cad0590694
|
@ -6,6 +6,7 @@ module.exports = {
|
||||||
'es',
|
'es',
|
||||||
'fi',
|
'fi',
|
||||||
'fr',
|
'fr',
|
||||||
|
'ga',
|
||||||
'hi',
|
'hi',
|
||||||
'id',
|
'id',
|
||||||
'ja',
|
'ja',
|
||||||
|
|
|
@ -127,6 +127,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
|
||||||
return AppLanguage.fi
|
return AppLanguage.fi
|
||||||
case 'fr':
|
case 'fr':
|
||||||
return AppLanguage.fr
|
return AppLanguage.fr
|
||||||
|
case 'ga':
|
||||||
|
return AppLanguage.ga
|
||||||
case 'hi':
|
case 'hi':
|
||||||
return AppLanguage.hi
|
return AppLanguage.hi
|
||||||
case 'id':
|
case 'id':
|
||||||
|
|
|
@ -9,6 +9,7 @@ import {messages as messagesEn} from '#/locale/locales/en/messages'
|
||||||
import {messages as messagesEs} from '#/locale/locales/es/messages'
|
import {messages as messagesEs} from '#/locale/locales/es/messages'
|
||||||
import {messages as messagesFi} from '#/locale/locales/fi/messages'
|
import {messages as messagesFi} from '#/locale/locales/fi/messages'
|
||||||
import {messages as messagesFr} from '#/locale/locales/fr/messages'
|
import {messages as messagesFr} from '#/locale/locales/fr/messages'
|
||||||
|
import {messages as messagesGa} from '#/locale/locales/ga/messages'
|
||||||
import {messages as messagesHi} from '#/locale/locales/hi/messages'
|
import {messages as messagesHi} from '#/locale/locales/hi/messages'
|
||||||
import {messages as messagesId} from '#/locale/locales/id/messages'
|
import {messages as messagesId} from '#/locale/locales/id/messages'
|
||||||
import {messages as messagesIt} from '#/locale/locales/it/messages'
|
import {messages as messagesIt} from '#/locale/locales/it/messages'
|
||||||
|
@ -42,6 +43,10 @@ export async function dynamicActivate(locale: AppLanguage) {
|
||||||
i18n.loadAndActivate({locale, messages: messagesFr})
|
i18n.loadAndActivate({locale, messages: messagesFr})
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
case AppLanguage.ga: {
|
||||||
|
i18n.loadAndActivate({locale, messages: messagesGa})
|
||||||
|
break
|
||||||
|
}
|
||||||
case AppLanguage.hi: {
|
case AppLanguage.hi: {
|
||||||
i18n.loadAndActivate({locale, messages: messagesHi})
|
i18n.loadAndActivate({locale, messages: messagesHi})
|
||||||
break
|
break
|
||||||
|
|
|
@ -28,6 +28,10 @@ export async function dynamicActivate(locale: AppLanguage) {
|
||||||
mod = await import(`./locales/fr/messages`)
|
mod = await import(`./locales/fr/messages`)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
case AppLanguage.ga: {
|
||||||
|
mod = await import(`./locales/ga/messages`)
|
||||||
|
break
|
||||||
|
}
|
||||||
case AppLanguage.hi: {
|
case AppLanguage.hi: {
|
||||||
mod = await import(`./locales/hi/messages`)
|
mod = await import(`./locales/hi/messages`)
|
||||||
break
|
break
|
||||||
|
|
|
@ -10,6 +10,7 @@ export enum AppLanguage {
|
||||||
es = 'es',
|
es = 'es',
|
||||||
fi = 'fi',
|
fi = 'fi',
|
||||||
fr = 'fr',
|
fr = 'fr',
|
||||||
|
ga = 'ga',
|
||||||
hi = 'hi',
|
hi = 'hi',
|
||||||
id = 'id',
|
id = 'id',
|
||||||
ja = 'ja',
|
ja = 'ja',
|
||||||
|
@ -34,6 +35,7 @@ export const APP_LANGUAGES: AppLanguageConfig[] = [
|
||||||
{code2: AppLanguage.es, name: 'Español – Spanish'},
|
{code2: AppLanguage.es, name: 'Español – Spanish'},
|
||||||
{code2: AppLanguage.fi, name: 'Suomi – Finnish'},
|
{code2: AppLanguage.fi, name: 'Suomi – Finnish'},
|
||||||
{code2: AppLanguage.fr, name: 'Français – French'},
|
{code2: AppLanguage.fr, name: 'Français – French'},
|
||||||
|
{code2: AppLanguage.ga, name: 'Gaeilge - Irish'},
|
||||||
{code2: AppLanguage.hi, name: 'हिंदी – Hindi'},
|
{code2: AppLanguage.hi, name: 'हिंदी – Hindi'},
|
||||||
{code2: AppLanguage.id, name: 'Bahasa Indonesia – Indonesian'},
|
{code2: AppLanguage.id, name: 'Bahasa Indonesia – Indonesian'},
|
||||||
{code2: AppLanguage.ja, name: '日本語 – Japanese'},
|
{code2: AppLanguage.ja, name: '日本語 – Japanese'},
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue