chore: text translations etc (#1590)
This commit is contained in:
parent
e23cbe67ad
commit
e16243ff55
4 changed files with 460 additions and 722 deletions
|
@ -74,7 +74,7 @@ QString errorString(ErrorCode code) {
|
||||||
case (ErrorCode::ApiServicesMissingError): errorMessage = QObject::tr("Missing list of available services"); break;
|
case (ErrorCode::ApiServicesMissingError): errorMessage = QObject::tr("Missing list of available services"); break;
|
||||||
case (ErrorCode::ApiConfigLimitError): errorMessage = QObject::tr("The limit of allowed configurations per subscription has been exceeded"); break;
|
case (ErrorCode::ApiConfigLimitError): errorMessage = QObject::tr("The limit of allowed configurations per subscription has been exceeded"); break;
|
||||||
case (ErrorCode::ApiNotFoundError): errorMessage = QObject::tr("Error when retrieving configuration from API"); break;
|
case (ErrorCode::ApiNotFoundError): errorMessage = QObject::tr("Error when retrieving configuration from API"); break;
|
||||||
case (ErrorCode::ApiMigrationError): errorMessage = QObject::tr("A migration error occurred. Please contact our technical support"); break;
|
case (ErrorCode::ApiMigrationError): errorMessage = QObject::tr("A migration error has occurred. Please contact our technical support"); break;
|
||||||
|
|
||||||
// QFile errors
|
// QFile errors
|
||||||
case(ErrorCode::OpenError): errorMessage = QObject::tr("QFile error: The file could not be opened"); break;
|
case(ErrorCode::OpenError): errorMessage = QObject::tr("QFile error: The file could not be opened"); break;
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -73,7 +73,7 @@ DrawerType2 {
|
||||||
var str = qsTr("We'll preserve all remaining days of your current subscription and give you an extra month as a thank you. ")
|
var str = qsTr("We'll preserve all remaining days of your current subscription and give you an extra month as a thank you. ")
|
||||||
str += qsTr("This new subscription type will be actively developed with more locations and features added regularly. Currently available:")
|
str += qsTr("This new subscription type will be actively developed with more locations and features added regularly. Currently available:")
|
||||||
str += "<ul style='margin-left: -16px;'>"
|
str += "<ul style='margin-left: -16px;'>"
|
||||||
str += qsTr("<li>9 locations (with more coming soon)</li>")
|
str += qsTr("<li>13 locations (with more coming soon)</li>")
|
||||||
str += qsTr("<li>Easier switching between countries in the app</li>")
|
str += qsTr("<li>Easier switching between countries in the app</li>")
|
||||||
str += qsTr("<li>Personal dashboard to manage your subscription</li>")
|
str += qsTr("<li>Personal dashboard to manage your subscription</li>")
|
||||||
str += "</ul>"
|
str += "</ul>"
|
||||||
|
|
|
@ -49,7 +49,7 @@ PageType {
|
||||||
if (!ConnectionController.isConnected) {
|
if (!ConnectionController.isConnected) {
|
||||||
SettingsController.isKillSwitchEnabled = checked
|
SettingsController.isKillSwitchEnabled = checked
|
||||||
} else {
|
} else {
|
||||||
PageController.showNotificationMessage(qsTr("Cannot change killSwitch settings during active connection"))
|
PageController.showNotificationMessage(qsTr("KillSwitch settings cannot be changed during an active connection"))
|
||||||
switcher.checked = SettingsController.isKillSwitchEnabled
|
switcher.checked = SettingsController.isKillSwitchEnabled
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ PageType {
|
||||||
checked: !SettingsController.strictKillSwitchEnabled
|
checked: !SettingsController.strictKillSwitchEnabled
|
||||||
|
|
||||||
text: qsTr("Soft KillSwitch")
|
text: qsTr("Soft KillSwitch")
|
||||||
descriptionText: qsTr("Internet connection is blocked if VPN connection drops accidentally")
|
descriptionText: qsTr("Internet access is blocked if the VPN disconnects unexpectedly")
|
||||||
|
|
||||||
onClicked: function() {
|
onClicked: function() {
|
||||||
SettingsController.strictKillSwitchEnabled = false
|
SettingsController.strictKillSwitchEnabled = false
|
||||||
|
@ -85,11 +85,11 @@ PageType {
|
||||||
checked: SettingsController.strictKillSwitchEnabled
|
checked: SettingsController.strictKillSwitchEnabled
|
||||||
|
|
||||||
text: qsTr("Strict KillSwitch")
|
text: qsTr("Strict KillSwitch")
|
||||||
descriptionText: qsTr("Internet connection is blocked even if VPN was turned off manually or not started")
|
descriptionText: qsTr("Internet connection is blocked even when VPN is turned off manually or hasn't started")
|
||||||
|
|
||||||
onClicked: function() {
|
onClicked: function() {
|
||||||
var headerText = qsTr("Just a little heads-up")
|
var headerText = qsTr("Just a little heads-up")
|
||||||
var descriptionText = qsTr("If you disconnect from VPN or the VPN connection drops while the Strict Kill Switch is turned on, your internet access will be disabled. To restore it, connect to VPN, change the Kill Switch mode or turn the Kill Switch off.")
|
var descriptionText = qsTr("If the VPN disconnects or drops while Strict KillSwitch is enabled, internet access will be blocked. To restore access, reconnect VPN or disable/change the KillSwitch.")
|
||||||
var yesButtonText = qsTr("Continue")
|
var yesButtonText = qsTr("Continue")
|
||||||
var noButtonText = qsTr("Cancel")
|
var noButtonText = qsTr("Cancel")
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ PageType {
|
||||||
|
|
||||||
enabled: true
|
enabled: true
|
||||||
text: qsTr("DNS Exceptions")
|
text: qsTr("DNS Exceptions")
|
||||||
descriptionText: qsTr("DNS servers from the list will remain accessible when Kill Switch is triggered")
|
descriptionText: qsTr("DNS servers listed here will remain accessible when KillSwitch is active.")
|
||||||
rightImageSource: "qrc:/images/controls/chevron-right.svg"
|
rightImageSource: "qrc:/images/controls/chevron-right.svg"
|
||||||
|
|
||||||
clickedFunction: function() {
|
clickedFunction: function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue