Add turkish to app languages

This commit is contained in:
Paul Frazee 2024-04-03 16:50:15 -07:00
parent a4d4562aba
commit 55e4ea84f8
5 changed files with 26 additions and 11 deletions

View file

@ -1,7 +1,8 @@
import {AppBskyFeedDefs, AppBskyFeedPost} from '@atproto/api'
import lande from 'lande'
import {hasProp} from 'lib/type-guards'
import * as bcp47Match from 'bcp-47-match'
import lande from 'lande'
import {hasProp} from 'lib/type-guards'
import {
AppLanguage,
LANGUAGES_MAP_CODE2,
@ -146,6 +147,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
return AppLanguage.zh_TW
case 'it':
return AppLanguage.it
case 'tr':
return AppLanguage.tr
default:
continue
}