mirror of
https://github.com/ruilisi/fortune-sheet.git
synced 2025-01-07 03:16:50 +08:00
fixed #619: browser displays language in different names
This commit is contained in:
parent
bffee0a2e8
commit
0c8ba33db0
@ -357,7 +357,7 @@ export function getFailureText(ctx: Context, item: any) {
|
||||
const { lang } = ctx;
|
||||
|
||||
const { type, type2, value1, value2 } = item;
|
||||
if (lang === "en") {
|
||||
if (lang === "en" || lang === "en-GB" || lang === "en-US") {
|
||||
const optionLabel_en = ctx.dataVerification?.optionLabel_en;
|
||||
if (type === "dropdown") {
|
||||
failureText += "what you selected is not an option in the drop-down list";
|
||||
|
Loading…
Reference in New Issue
Block a user