From ac119bb4c4f8c1b5e81621932ee5fc03a287b9a4 Mon Sep 17 00:00:00 2001 From: Jianming Chen Date: Mon, 24 Jan 2022 11:59:49 +0900 Subject: [PATCH] Localize import/export menu items --- macOS/Views/Sidebar/Sidebar.swift | 1 - macOS/zh-Hans.lproj/Localizable.strings | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/macOS/Views/Sidebar/Sidebar.swift b/macOS/Views/Sidebar/Sidebar.swift index 6d4fa8d..df046f7 100644 --- a/macOS/Views/Sidebar/Sidebar.swift +++ b/macOS/Views/Sidebar/Sidebar.swift @@ -199,7 +199,6 @@ private extension Sidebar { savePanel.canCreateDirectories = true savePanel.isExtensionHidden = false savePanel.allowsOtherFileTypes = false - savePanel.title = "Export Portfolios" let response = savePanel.runModal() return response == .OK ? savePanel.url : nil } diff --git a/macOS/zh-Hans.lproj/Localizable.strings b/macOS/zh-Hans.lproj/Localizable.strings index 1da70bc..1a5dfbd 100644 --- a/macOS/zh-Hans.lproj/Localizable.strings +++ b/macOS/zh-Hans.lproj/Localizable.strings @@ -109,6 +109,9 @@ /* No comment provided by engineer. */ "Delete..." = "删除..."; +/* No comment provided by engineer. */ +"Export..." = "导出..."; + /* No comment provided by engineer. */ "generate a sample portfolio" = "生成一个投资组合示例"; @@ -121,6 +124,9 @@ /* No comment provided by engineer. */ "How to get started" = "如何开始"; +/* No comment provided by engineer. */ +"Import..." = "导入..."; + /* No comment provided by engineer. */ "Investor Return" = "内部收益率";