From 02e8ee96a7442acaccc88df8621873de24457e34 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Tue, 12 Nov 2019 14:01:47 +0100 Subject: ui: remove trailing … from file dialog titles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is Microsoft Windows general convention. Signed-off-by: Simon Rozman --- ui/logpage.go | 2 +- ui/tunnelspage.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/logpage.go b/ui/logpage.go index 561cf819..b8febcbb 100644 --- a/ui/logpage.go +++ b/ui/logpage.go @@ -148,7 +148,7 @@ func (lp *LogPage) onSave() { fd := walk.FileDialog{ Filter: "Text Files (*.txt)|*.txt|All Files (*.*)|*.*", FilePath: fmt.Sprintf("wireguard-log-%s.txt", time.Now().Format("2006-01-02T150405")), - Title: "Export log to file…", + Title: "Export log to file", } form := lp.Form() diff --git a/ui/tunnelspage.go b/ui/tunnelspage.go index 5da65770..aed8d157 100644 --- a/ui/tunnelspage.go +++ b/ui/tunnelspage.go @@ -531,7 +531,7 @@ func (tp *TunnelsPage) onSelectAll() { func (tp *TunnelsPage) onImport() { dlg := walk.FileDialog{ Filter: "Configuration Files (*.zip, *.conf)|*.zip;*.conf|All Files (*.*)|*.*", - Title: "Import tunnel(s) from file…", + Title: "Import tunnel(s) from file", } if ok, _ := dlg.ShowOpenMultiple(tp.Form()); !ok { @@ -544,7 +544,7 @@ func (tp *TunnelsPage) onImport() { func (tp *TunnelsPage) onExportTunnels() { dlg := walk.FileDialog{ Filter: "Configuration ZIP Files (*.zip)|*.zip", - Title: "Export tunnels to zip…", + Title: "Export tunnels to zip", } if ok, _ := dlg.ShowSave(tp.Form()); !ok { -- cgit v1.2.3-59-g8ed1b