mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-06 10:46:38 +00:00
add chinese
This commit is contained in:
@@ -35,6 +35,10 @@ export default function LocaleSwitcher() {
|
|||||||
{
|
{
|
||||||
value: 'tr-TR',
|
value: 'tr-TR',
|
||||||
label: 'Türkçe'
|
label: 'Türkçe'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: 'zh-CN',
|
||||||
|
label: '中国人'
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export type Locale = (typeof locales)[number];
|
export type Locale = (typeof locales)[number];
|
||||||
|
|
||||||
export const locales = ['en-US', 'fr-FR', 'de-DE', 'it-IT', 'pl-PL', 'pt-PT', 'tr-TR'] as const;
|
export const locales = ['en-US', 'fr-FR', 'de-DE', 'it-IT', 'pl-PL', 'pt-PT', 'tr-TR', 'zh-CN'] as const;
|
||||||
export const defaultLocale: Locale = 'en-US';
|
export const defaultLocale: Locale = 'en-US';
|
||||||
Reference in New Issue
Block a user