Skip to content

Commit

Permalink
Merge pull request #731 from 0x1-company/onboard-localize
Browse files Browse the repository at this point in the history
feat: 🎸 add privacy, terms
  • Loading branch information
tomokisun authored Oct 10, 2023
2 parents 605cfbc + 53d55f5 commit 49bd8bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
17 changes: 3 additions & 14 deletions Packages/GodPackage/Sources/OnboardFeature/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@
}
}
},
"By entering your age you agree to our Terms and Privacy Policy" : {
"By entering your age you agree to our [Terms](https://docs.godapp.jp/terms-of-use) and [Privacy Policy](https://docs.godapp.jp/privacy-policy)" : {
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "年齢を選択すると利用規約とプライバシーポリシーに同意したものとします"
"value" : "年齢を選択すると[利用規約](https://docs.godapp.jp/terms-of-use)と[プライバシーポリシー](https://docs.godapp.jp/privacy-policy)に同意したものとします"
}
}
}
Expand Down Expand Up @@ -424,17 +424,6 @@
}
}
},
"Username" : {
"extractionState" : "stale",
"localizations" : {
"ja" : {
"stringUnit" : {
"state" : "translated",
"value" : "ユーザーネーム"
}
}
}
},
"Usernames can only use Roman latters (a-z, A-Z), numbers, underscores and periods" : {
"localizations" : {
"ja" : {
Expand Down Expand Up @@ -507,4 +496,4 @@
}
},
"version" : "1.0"
}
}
3 changes: 2 additions & 1 deletion Packages/GodPackage/Sources/OnboardFeature/Welcome.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ public struct WelcomeView: View {
VStack(spacing: 24) {
ZStack {
if case .none = viewStore.age {
Text("By entering your age you agree to our Terms and Privacy Policy", bundle: .module)
Text("By entering your age you agree to our [Terms](https://docs.godapp.jp/terms-of-use) and [Privacy Policy](https://docs.godapp.jp/privacy-policy)", bundle: .module)
.frame(height: 54)
.foregroundColor(Color.godTextSecondaryDark)
.tint(Color.godTextSecondaryDark)
.multilineTextAlignment(.center)
.padding(.horizontal, 32)
} else {
Expand Down

0 comments on commit 49bd8bb

Please sign in to comment.