aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/tunnelspage.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-30 12:32:47 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-30 20:19:50 +0200
commite725f38bdbe192bb280009c0e24e93fd4b47cb7b (patch)
tree7fa96e664467adbd4fd7207a53f7bc9fdcd67c69 /ui/tunnelspage.go
parentui: tunnelconfig -> tunneledit (diff)
downloadwireguard-windows-e725f38bdbe192bb280009c0e24e93fd4b47cb7b.tar.xz
wireguard-windows-e725f38bdbe192bb280009c0e24e93fd4b47cb7b.zip
ui: fix quoting in error strings
Diffstat (limited to '')
-rw-r--r--ui/tunnelspage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/tunnelspage.go b/ui/tunnelspage.go
index a74b6210..8650ece6 100644
--- a/ui/tunnelspage.go
+++ b/ui/tunnelspage.go
@@ -216,7 +216,7 @@ func (tp *TunnelsPage) importFiles(paths []string) {
configCount := 0
for _, unparsedConfig := range unparsedConfigs {
if existingLowerTunnels[strings.ToLower(unparsedConfig.Name)] {
- lastErr = fmt.Errorf("The tunnel \"%s\" already exists", unparsedConfig.Name)
+ lastErr = fmt.Errorf("Another tunnel already exists with the name ā€˜%sā€™", unparsedConfig.Name)
continue
}
config, err := conf.FromWgQuick(unparsedConfig.Config, unparsedConfig.Name)