diff options
author | Roopesh Chander <roop@roopc.net> | 2019-02-22 13:03:03 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-02-22 13:03:53 +0530 |
commit | b01d09dfb505ce47b32f826692bc34eb9cb4400e (patch) | |
tree | dbfdce0c7a7fb41a0753d8164bb62e4b004ad8f9 /WireGuard/WireGuard/UI | |
parent | macOS: Show 'quitting with active tunnel' only when appropriate (diff) | |
download | wireguard-apple-b01d09dfb505ce47b32f826692bc34eb9cb4400e.tar.xz wireguard-apple-b01d09dfb505ce47b32f826692bc34eb9cb4400e.zip |
Importing: Give a clearer error message on importing an invalid config
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/UI/TunnelImporter.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/TunnelImporter.swift b/WireGuard/WireGuard/UI/TunnelImporter.swift index 0bf76e5..2c88219 100644 --- a/WireGuard/WireGuard/UI/TunnelImporter.swift +++ b/WireGuard/WireGuard/UI/TunnelImporter.swift @@ -41,7 +41,7 @@ class TunnelImporter { } } } else { - errorPresenterType.showErrorAlert(title: tr("alertUnableToImportTitle"), message: tr("alertUnableToImportMessage"), + errorPresenterType.showErrorAlert(title: tr("alertBadConfigImportTitle"), message: tr(format: "alertBadConfigImportMessage (%@)", fileName), from: sourceVC, onPresented: completionHandler) } } |