mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2025-04-21 07:50:19 +08:00
fix: failed to get the correct wrap type
This commit is contained in:
@ -135,7 +135,7 @@ const detectLocale = (value) => {
|
||||
const locale = value || app.getLocale()
|
||||
let result = 'zh-cn'
|
||||
for (let [key, list] of localeMap) {
|
||||
if (list.includes(locale)) {
|
||||
if (locale === key || list.includes(locale)) {
|
||||
result = key
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user