zio/stable
Paul Frazee 2024-03-19 13:04:06 -07:00
commit 5dc41eb0d9
7 changed files with 4855 additions and 3 deletions

View File

@ -4,6 +4,7 @@ module.exports = {
'en',
'de',
'es',
'fi',
'fr',
'hi',
'id',

View File

@ -122,6 +122,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
return AppLanguage.de
case 'es':
return AppLanguage.es
case 'fi':
return AppLanguage.fi
case 'fr':
return AppLanguage.fr
case 'hi':

View File

@ -6,6 +6,7 @@ import {messages as messagesEn} from '#/locale/locales/en/messages'
import {messages as messagesDe} from '#/locale/locales/de/messages'
import {messages as messagesId} from '#/locale/locales/id/messages'
import {messages as messagesEs} from '#/locale/locales/es/messages'
import {messages as messagesFi} from '#/locale/locales/fi/messages'
import {messages as messagesFr} from '#/locale/locales/fr/messages'
import {messages as messagesHi} from '#/locale/locales/hi/messages'
import {messages as messagesJa} from '#/locale/locales/ja/messages'
@ -32,6 +33,10 @@ export async function dynamicActivate(locale: AppLanguage) {
i18n.loadAndActivate({locale, messages: messagesEs})
break
}
case AppLanguage.fi: {
i18n.loadAndActivate({locale, messages: messagesFi})
break
}
case AppLanguage.fr: {
i18n.loadAndActivate({locale, messages: messagesFr})
break

View File

@ -19,6 +19,10 @@ export async function dynamicActivate(locale: AppLanguage) {
case AppLanguage.es: {
mod = await import(`./locales/es/messages`)
break
}
case AppLanguage.fi: {
mod = await import(`./locales/fi/messages`)
break
}
case AppLanguage.fr: {
mod = await import(`./locales/fr/messages`)

View File

@ -8,6 +8,7 @@ export enum AppLanguage {
en = 'en',
de = 'de',
es = 'es',
fi = 'fi',
fr = 'fr',
hi = 'hi',
id = 'id',
@ -29,6 +30,7 @@ export const APP_LANGUAGES: AppLanguageConfig[] = [
{code2: AppLanguage.en, name: 'English'},
{code2: AppLanguage.de, name: 'Deutsch German'},
{code2: AppLanguage.es, name: 'Español Spanish'},
{code2: AppLanguage.fi, name: 'Suomi Finnish'},
{code2: AppLanguage.fr, name: 'Français French'},
{code2: AppLanguage.hi, name: 'हिंदी Hindi'},
{code2: AppLanguage.id, name: 'Bahasa Indonesia Indonesian'},

View File

@ -4395,8 +4395,8 @@ msgstr ""
msgid "Unmute thread"
msgstr ""
#: src/view/screens/ProfileFeed.tsx:354
#: src/view/screens/ProfileList.tsx:581
#: src/view/screens/ProfileFeed.tsx:353
#: src/view/screens/ProfileList.tsx:580
msgid "Unpin"
msgstr ""

File diff suppressed because it is too large Load Diff