1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-23 16:54:10 +02:00

enhance(backend): バックエンドで言語リストのみを参照するように (#16915)

This commit is contained in:
かっこかり
2025-12-01 18:51:36 +09:00
committed by GitHub
parent 483483bc44
commit 7b9e83a6b8
4 changed files with 47 additions and 38 deletions

View File

@@ -0,0 +1,41 @@
/*
* SPDX-FileCopyrightText: syuilo and misskey-project
* SPDX-License-Identifier: AGPL-3.0-only
*/
export const languages = [
'ar-SA',
'ca-ES',
'cs-CZ',
'da-DK',
'de-DE',
'en-US',
'es-ES',
'fr-FR',
'id-ID',
'it-IT',
'ja-JP',
'ja-KS',
'kab-KAB',
'kn-IN',
'ko-KR',
'nl-NL',
'no-NO',
'pl-PL',
'pt-PT',
'ru-RU',
'sk-SK',
'th-TH',
'tr-TR',
'ug-CN',
'uk-UA',
'vi-VN',
'zh-CN',
'zh-TW',
] as const;
export const primaries = {
'en': 'US',
'ja': 'JP',
'zh': 'CN',
} as const satisfies Record<string, string>;