mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-08-07 00:06:37 +03:00
Compare commits
1 Commits
dev
...
fix/share-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5327564ad1 |
File diff suppressed because it is too large
Load Diff
@@ -272,7 +272,7 @@ bool SubscriptionUiController::restoreServiceFromAppStore()
|
||||
return false;
|
||||
}
|
||||
|
||||
emit installServerFromApiFinished(tr("Subscription restored successfully"));
|
||||
emit installServerFromApiFinished(tr("Subscription restored successfully."));
|
||||
if (result.duplicateCount > 0) {
|
||||
qInfo().noquote() << "[IAP] Skipped" << result.duplicateCount
|
||||
<< "duplicate restored transactions for original transaction IDs already processed";
|
||||
@@ -469,7 +469,7 @@ bool SubscriptionUiController::importTrialFromGateway(const QString &email)
|
||||
if (errorCode != ErrorCode::NoError) {
|
||||
if (errorCode == ErrorCode::ApiTrialAlreadyUsedError) {
|
||||
emit trialEmailError(
|
||||
tr("This email address has already been used to activate a trial. Like the service? Upgrade to Premium"));
|
||||
tr("This email address has already been used to activate a trial. If you like the service, you can upgrade to Premium"));
|
||||
} else {
|
||||
emit errorOccurred(errorCode);
|
||||
}
|
||||
@@ -648,7 +648,7 @@ QStringList SubscriptionUiController::availableProtocols(const QString &serverId
|
||||
void SubscriptionUiController::removeApiConfig(const QString &serverId)
|
||||
{
|
||||
m_subscriptionController->removeApiConfig(serverId);
|
||||
emit apiConfigRemoved(tr("API config removed"));
|
||||
emit apiConfigRemoved(tr("Api config removed"));
|
||||
}
|
||||
|
||||
void SubscriptionUiController::removeServer(const QString &serverId)
|
||||
|
||||
@@ -84,7 +84,11 @@ PageType {
|
||||
}
|
||||
|
||||
PageController.showBusyIndicator(false)
|
||||
|
||||
|
||||
if (!ExportController.config || ExportController.config.length === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
var headerText = qsTr("Connection to ") + serverSelector.text
|
||||
var configContentHeaderText = qsTr("File with connection settings to ") + serverSelector.text
|
||||
PageController.goToShareConnectionPage(headerText, configContentHeaderText, configCaption, configExtension, configFileName)
|
||||
|
||||
@@ -159,7 +159,11 @@ PageType {
|
||||
}
|
||||
|
||||
PageController.showBusyIndicator(false)
|
||||
|
||||
|
||||
if (!ExportController.config || ExportController.config.length === 0) {
|
||||
return
|
||||
}
|
||||
|
||||
PageController.goToShareConnectionPage(listView.headerText, listView.configContentHeaderText, "", ".vpn", "amnezia_config")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user