fix: unlock test error message to "Unsupported Country/Region"

This commit is contained in:
Tunglies 2025-04-10 11:30:52 +08:00
parent 84fbccbfd9
commit 843f40d7d5
5 changed files with 5 additions and 5 deletions

View File

@ -207,7 +207,7 @@ async fn check_chatgpt_combined(client: &Client) -> Vec<UnlockItem> {
if let Ok(body) = response.text().await {
let body_lower = body.to_lowercase();
if body_lower.contains("unsupported_country") {
"Unsupported Country"
"Unsupported Country/Region"
} else {
"Yes"
}

View File

@ -592,6 +592,6 @@
"Disallowed ISP": "Disallowed ISP",
"Originals Only": "Originals Only",
"No (IP Banned By Disney+)": "No (IP Banned By Disney+)",
"Unsupported Country": "Unsupported Country",
"Unsupported Country/Region": "Unsupported Country/Region",
"Failed (Network Connection)": "Failed (Network Connection)"
}

View File

@ -577,6 +577,6 @@
"Disallowed ISP": "ISP заблокирован",
"Originals Only": "Только Originals",
"No (IP Banned By Disney+)": "Нет (IP забанен Disney+)",
"Unsupported Country": "Страна не поддерживается",
"Unsupported Country/Region": "Страна/регион не поддерживается",
"Failed (Network Connection)": "Ошибка подключения"
}

View File

@ -592,6 +592,6 @@
"Disallowed ISP": "不允许的 ISP",
"Originals Only": "仅限原创",
"No (IP Banned By Disney+)": "不支持IP被Disney+禁止)",
"Unsupported Country": "不支持的国家",
"Unsupported Country/Region": "不支持的国家/地区",
"Failed (Network Connection)": "测试失败(网络连接问题)"
}

View File

@ -191,7 +191,7 @@ const UnlockPage = () => {
if (
status === "Disallowed ISP" ||
status === "Blocked" ||
status === "Unsupported Country"
status === "Unsupported Country/Region"
) {
return "error";
}