mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:33:45 +08:00
fix: unlock test error message to "Unsupported Country/Region"
This commit is contained in:
parent
84fbccbfd9
commit
843f40d7d5
@ -207,7 +207,7 @@ async fn check_chatgpt_combined(client: &Client) -> Vec<UnlockItem> {
|
|||||||
if let Ok(body) = response.text().await {
|
if let Ok(body) = response.text().await {
|
||||||
let body_lower = body.to_lowercase();
|
let body_lower = body.to_lowercase();
|
||||||
if body_lower.contains("unsupported_country") {
|
if body_lower.contains("unsupported_country") {
|
||||||
"Unsupported Country"
|
"Unsupported Country/Region"
|
||||||
} else {
|
} else {
|
||||||
"Yes"
|
"Yes"
|
||||||
}
|
}
|
||||||
|
@ -592,6 +592,6 @@
|
|||||||
"Disallowed ISP": "Disallowed ISP",
|
"Disallowed ISP": "Disallowed ISP",
|
||||||
"Originals Only": "Originals Only",
|
"Originals Only": "Originals Only",
|
||||||
"No (IP Banned By Disney+)": "No (IP Banned By Disney+)",
|
"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)"
|
"Failed (Network Connection)": "Failed (Network Connection)"
|
||||||
}
|
}
|
||||||
|
@ -577,6 +577,6 @@
|
|||||||
"Disallowed ISP": "ISP заблокирован",
|
"Disallowed ISP": "ISP заблокирован",
|
||||||
"Originals Only": "Только Originals",
|
"Originals Only": "Только Originals",
|
||||||
"No (IP Banned By Disney+)": "Нет (IP забанен Disney+)",
|
"No (IP Banned By Disney+)": "Нет (IP забанен Disney+)",
|
||||||
"Unsupported Country": "Страна не поддерживается",
|
"Unsupported Country/Region": "Страна/регион не поддерживается",
|
||||||
"Failed (Network Connection)": "Ошибка подключения"
|
"Failed (Network Connection)": "Ошибка подключения"
|
||||||
}
|
}
|
||||||
|
@ -592,6 +592,6 @@
|
|||||||
"Disallowed ISP": "不允许的 ISP",
|
"Disallowed ISP": "不允许的 ISP",
|
||||||
"Originals Only": "仅限原创",
|
"Originals Only": "仅限原创",
|
||||||
"No (IP Banned By Disney+)": "不支持(IP被Disney+禁止)",
|
"No (IP Banned By Disney+)": "不支持(IP被Disney+禁止)",
|
||||||
"Unsupported Country": "不支持的国家",
|
"Unsupported Country/Region": "不支持的国家/地区",
|
||||||
"Failed (Network Connection)": "测试失败(网络连接问题)"
|
"Failed (Network Connection)": "测试失败(网络连接问题)"
|
||||||
}
|
}
|
||||||
|
@ -191,7 +191,7 @@ const UnlockPage = () => {
|
|||||||
if (
|
if (
|
||||||
status === "Disallowed ISP" ||
|
status === "Disallowed ISP" ||
|
||||||
status === "Blocked" ||
|
status === "Blocked" ||
|
||||||
status === "Unsupported Country"
|
status === "Unsupported Country/Region"
|
||||||
) {
|
) {
|
||||||
return "error";
|
return "error";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user