mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 03:23:57 +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 {
|
||||
let body_lower = body.to_lowercase();
|
||||
if body_lower.contains("unsupported_country") {
|
||||
"Unsupported Country"
|
||||
"Unsupported Country/Region"
|
||||
} else {
|
||||
"Yes"
|
||||
}
|
||||
|
@ -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)"
|
||||
}
|
||||
|
@ -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)": "Ошибка подключения"
|
||||
}
|
||||
|
@ -592,6 +592,6 @@
|
||||
"Disallowed ISP": "不允许的 ISP",
|
||||
"Originals Only": "仅限原创",
|
||||
"No (IP Banned By Disney+)": "不支持(IP被Disney+禁止)",
|
||||
"Unsupported Country": "不支持的国家",
|
||||
"Unsupported Country/Region": "不支持的国家/地区",
|
||||
"Failed (Network Connection)": "测试失败(网络连接问题)"
|
||||
}
|
||||
|
@ -191,7 +191,7 @@ const UnlockPage = () => {
|
||||
if (
|
||||
status === "Disallowed ISP" ||
|
||||
status === "Blocked" ||
|
||||
status === "Unsupported Country"
|
||||
status === "Unsupported Country/Region"
|
||||
) {
|
||||
return "error";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user