Merge pull request #768 from amnezia-vpn/feature/remove-middle-lvl-of-censorship

Remove middle level of censorship
This commit is contained in:
pokamest 2024-04-29 14:35:45 -07:00 committed by GitHub
commit e3b5b4a9d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -321,7 +321,7 @@ bool ContainerProps::isEasySetupContainer(DockerContainer container)
switch (container) { switch (container) {
case DockerContainer::WireGuard: return true; case DockerContainer::WireGuard: return true;
case DockerContainer::Awg: return true; case DockerContainer::Awg: return true;
case DockerContainer::Cloak: return true; // case DockerContainer::Cloak: return true;
default: return false; default: return false;
} }
} }
@ -330,8 +330,8 @@ QString ContainerProps::easySetupHeader(DockerContainer container)
{ {
switch (container) { switch (container) {
case DockerContainer::WireGuard: return tr("Low"); case DockerContainer::WireGuard: return tr("Low");
case DockerContainer::Awg: return tr("Medium or High"); case DockerContainer::Awg: return tr("High");
case DockerContainer::Cloak: return tr("Extreme"); // case DockerContainer::Cloak: return tr("Extreme");
default: return ""; default: return "";
} }
} }
@ -341,8 +341,8 @@ QString ContainerProps::easySetupDescription(DockerContainer container)
switch (container) { switch (container) {
case DockerContainer::WireGuard: return tr("I just want to increase the level of my privacy."); case DockerContainer::WireGuard: return tr("I just want to increase the level of my privacy.");
case DockerContainer::Awg: return tr("I want to bypass censorship. This option recommended in most cases."); case DockerContainer::Awg: return tr("I want to bypass censorship. This option recommended in most cases.");
case DockerContainer::Cloak: // case DockerContainer::Cloak:
return tr("Most VPN protocols are blocked. Recommended if other options are not working."); // return tr("Most VPN protocols are blocked. Recommended if other options are not working.");
default: return ""; default: return "";
} }
} }
@ -352,7 +352,7 @@ int ContainerProps::easySetupOrder(DockerContainer container)
switch (container) { switch (container) {
case DockerContainer::WireGuard: return 3; case DockerContainer::WireGuard: return 3;
case DockerContainer::Awg: return 2; case DockerContainer::Awg: return 2;
case DockerContainer::Cloak: return 1; // case DockerContainer::Cloak: return 1;
default: return 0; default: return 0;
} }
} }