diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-04-03 16:50:15 -0700 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2024-04-03 16:50:15 -0700 |
commit | 55e4ea84f8dfd3bea6253fc66d3e8439262fbc9b (patch) | |
tree | ceef42587a717b06882bc00fb496fdfb68c47cfe /src/locale/helpers.ts | |
parent | a4d4562aba15fe5e2934dd355889a6b1f33fe567 (diff) | |
download | voidsky-55e4ea84f8dfd3bea6253fc66d3e8439262fbc9b.tar.zst |
Add turkish to app languages
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r-- | src/locale/helpers.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts index 58e8a3a82..c2434c7df 100644 --- a/src/locale/helpers.ts +++ b/src/locale/helpers.ts @@ -1,7 +1,8 @@ import {AppBskyFeedDefs, AppBskyFeedPost} from '@atproto/api' +import * as bcp47Match from 'bcp-47-match' import lande from 'lande' + import {hasProp} from 'lib/type-guards' -import * as bcp47Match from 'bcp-47-match' 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 } |