Merge branch 'jaoler-main' into main
commit
e9222a9d97
|
@ -4,6 +4,7 @@ module.exports = {
|
||||||
'en',
|
'en',
|
||||||
'de',
|
'de',
|
||||||
'es',
|
'es',
|
||||||
|
'fi',
|
||||||
'fr',
|
'fr',
|
||||||
'hi',
|
'hi',
|
||||||
'id',
|
'id',
|
||||||
|
|
|
@ -122,6 +122,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
|
||||||
return AppLanguage.de
|
return AppLanguage.de
|
||||||
case 'es':
|
case 'es':
|
||||||
return AppLanguage.es
|
return AppLanguage.es
|
||||||
|
case 'fi':
|
||||||
|
return AppLanguage.fi
|
||||||
case 'fr':
|
case 'fr':
|
||||||
return AppLanguage.fr
|
return AppLanguage.fr
|
||||||
case 'hi':
|
case 'hi':
|
||||||
|
|
|
@ -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 messagesDe} from '#/locale/locales/de/messages'
|
||||||
import {messages as messagesId} from '#/locale/locales/id/messages'
|
import {messages as messagesId} from '#/locale/locales/id/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 messagesFr} from '#/locale/locales/fr/messages'
|
import {messages as messagesFr} from '#/locale/locales/fr/messages'
|
||||||
import {messages as messagesHi} from '#/locale/locales/hi/messages'
|
import {messages as messagesHi} from '#/locale/locales/hi/messages'
|
||||||
import {messages as messagesJa} from '#/locale/locales/ja/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})
|
i18n.loadAndActivate({locale, messages: messagesEs})
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
case AppLanguage.fi: {
|
||||||
|
i18n.loadAndActivate({locale, messages: messagesFi})
|
||||||
|
break
|
||||||
|
}
|
||||||
case AppLanguage.fr: {
|
case AppLanguage.fr: {
|
||||||
i18n.loadAndActivate({locale, messages: messagesFr})
|
i18n.loadAndActivate({locale, messages: messagesFr})
|
||||||
break
|
break
|
||||||
|
|
|
@ -20,6 +20,10 @@ export async function dynamicActivate(locale: AppLanguage) {
|
||||||
mod = await import(`./locales/es/messages`)
|
mod = await import(`./locales/es/messages`)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
case AppLanguage.fi: {
|
||||||
|
mod = await import(`./locales/fi/messages`)
|
||||||
|
break
|
||||||
|
}
|
||||||
case AppLanguage.fr: {
|
case AppLanguage.fr: {
|
||||||
mod = await import(`./locales/fr/messages`)
|
mod = await import(`./locales/fr/messages`)
|
||||||
break
|
break
|
||||||
|
|
|
@ -8,6 +8,7 @@ export enum AppLanguage {
|
||||||
en = 'en',
|
en = 'en',
|
||||||
de = 'de',
|
de = 'de',
|
||||||
es = 'es',
|
es = 'es',
|
||||||
|
fi = 'fi',
|
||||||
fr = 'fr',
|
fr = 'fr',
|
||||||
hi = 'hi',
|
hi = 'hi',
|
||||||
id = 'id',
|
id = 'id',
|
||||||
|
@ -29,6 +30,7 @@ export const APP_LANGUAGES: AppLanguageConfig[] = [
|
||||||
{code2: AppLanguage.en, name: 'English'},
|
{code2: AppLanguage.en, name: 'English'},
|
||||||
{code2: AppLanguage.de, name: 'Deutsch – German'},
|
{code2: AppLanguage.de, name: 'Deutsch – German'},
|
||||||
{code2: AppLanguage.es, name: 'Español – Spanish'},
|
{code2: AppLanguage.es, name: 'Español – Spanish'},
|
||||||
|
{code2: AppLanguage.fi, name: 'Suomi – Finnish'},
|
||||||
{code2: AppLanguage.fr, name: 'Français – French'},
|
{code2: AppLanguage.fr, name: 'Français – French'},
|
||||||
{code2: AppLanguage.hi, name: 'हिंदी – Hindi'},
|
{code2: AppLanguage.hi, name: 'हिंदी – Hindi'},
|
||||||
{code2: AppLanguage.id, name: 'Bahasa Indonesia – Indonesian'},
|
{code2: AppLanguage.id, name: 'Bahasa Indonesia – Indonesian'},
|
||||||
|
|
|
@ -4395,8 +4395,8 @@ msgstr ""
|
||||||
msgid "Unmute thread"
|
msgid "Unmute thread"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/screens/ProfileFeed.tsx:354
|
#: src/view/screens/ProfileFeed.tsx:353
|
||||||
#: src/view/screens/ProfileList.tsx:581
|
#: src/view/screens/ProfileList.tsx:580
|
||||||
msgid "Unpin"
|
msgid "Unpin"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue