diff options
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/ImportPanelPresenter.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ImportPanelPresenter.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ImportPanelPresenter.swift b/WireGuard/WireGuard/UI/macOS/ImportPanelPresenter.swift index b1ed2f5..03b1be7 100644 --- a/WireGuard/WireGuard/UI/macOS/ImportPanelPresenter.swift +++ b/WireGuard/WireGuard/UI/macOS/ImportPanelPresenter.swift @@ -7,6 +7,7 @@ class ImportPanelPresenter { static func presentImportPanel(tunnelsManager: TunnelsManager, sourceVC: NSViewController) { guard let window = sourceVC.view.window else { return } let openPanel = NSOpenPanel() + openPanel.prompt = tr("macSheetButtonImport") openPanel.allowedFileTypes = ["conf", "zip"] openPanel.beginSheetModal(for: window) { [weak tunnelsManager] response in guard let tunnelsManager = tunnelsManager else { return } |