mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-26 01:51:41 +08:00
Merge pull request #336 from Aqr-K/fix/i18n
This commit is contained in:
@@ -39,7 +39,7 @@ export function getBrowserLocale(): SupportedLocale | null {
|
||||
return navigatorLocale.includes(locale.split('-')[0])
|
||||
})
|
||||
|
||||
return (locale as SupportedLocale) || null
|
||||
return (locale as SupportedLocale) || zh-CN
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user