From 32d23422240451c6e22e644f6872fc19a6489a4a Mon Sep 17 00:00:00 2001 From: makinosp Date: Fri, 22 Nov 2024 12:36:52 +0900 Subject: [PATCH 1/3] feat: add link to account settings --- harmonie/Components/IconSet.swift | 3 +++ .../Setting/Profile/SettingsView+ProfileSection.swift | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/harmonie/Components/IconSet.swift b/harmonie/Components/IconSet.swift index db872c0..e7bac3b 100644 --- a/harmonie/Components/IconSet.swift +++ b/harmonie/Components/IconSet.swift @@ -6,6 +6,9 @@ // enum IconSet { + static var account: some Iconizable { + Icon("person.text.rectangle") + } static var at: some Iconizable { Icon("at") } diff --git a/harmonie/Views/Setting/Profile/SettingsView+ProfileSection.swift b/harmonie/Views/Setting/Profile/SettingsView+ProfileSection.swift index c804be2..749ccf7 100644 --- a/harmonie/Views/Setting/Profile/SettingsView+ProfileSection.swift +++ b/harmonie/Views/Setting/Profile/SettingsView+ProfileSection.swift @@ -24,6 +24,13 @@ extension SettingsView { Button("Edit", systemImage: IconSet.edit.systemName) { isPresentedForm.toggle() } + if let url = URL(string: "https://vrchat.com/home/profile") { + ExternalLink( + title: String(localized: "Account Settings"), + url: url, + systemImage: IconSet.account.systemName + ) + } } .textCase(nil) } From 0f77cf693c3c520d9279841fe8758aaf80ecf8c9 Mon Sep 17 00:00:00 2001 From: makinosp Date: Fri, 22 Nov 2024 12:39:18 +0900 Subject: [PATCH 2/3] update: localization --- harmonie/Localization/Localizable.xcstrings | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/harmonie/Localization/Localizable.xcstrings b/harmonie/Localization/Localizable.xcstrings index 7092f38..75a16c1 100644 --- a/harmonie/Localization/Localizable.xcstrings +++ b/harmonie/Localization/Localizable.xcstrings @@ -31,6 +31,22 @@ } } }, + "Account Settings" : { + "localizations" : { + "ja" : { + "stringUnit" : { + "state" : "translated", + "value" : "アカウント設定" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "账号设置" + } + } + } + }, "Activity" : { "localizations" : { "ja" : { From 493e29c8a62338b5eb65e4afb5a668f33dc23fee Mon Sep 17 00:00:00 2001 From: makinosp Date: Fri, 22 Nov 2024 12:39:36 +0900 Subject: [PATCH 3/3] update: bump up to 1.0.2 --- Harmonie.xcodeproj/project.pbxproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Harmonie.xcodeproj/project.pbxproj b/Harmonie.xcodeproj/project.pbxproj index 3580cb8..ebcdf2e 100644 --- a/Harmonie.xcodeproj/project.pbxproj +++ b/Harmonie.xcodeproj/project.pbxproj @@ -474,7 +474,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.0.2; PRODUCT_BUNDLE_IDENTIFIER = jp.mknn.harmonie; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -510,7 +510,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.1; + MARKETING_VERSION = 1.0.2; PRODUCT_BUNDLE_IDENTIFIER = jp.mknn.harmonie; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES;