localize main app
This commit is contained in:
@@ -31,7 +31,7 @@ struct OnboardingWrapup: View {
|
||||
VStack {
|
||||
Spacer()
|
||||
|
||||
Text("At")
|
||||
Text(String(localized: "onboarding_wrap_up_1"))
|
||||
.font(.title)
|
||||
.foregroundColor(Color(UIColor.white))
|
||||
.padding([.trailing, .leading], 55)
|
||||
@@ -44,7 +44,7 @@ struct OnboardingWrapup: View {
|
||||
.padding([.trailing, .leading], 55)
|
||||
.padding([.top], 15)
|
||||
|
||||
Text("aou will get notified that")
|
||||
Text(String(localized: "onboarding_wrap_up_2"))
|
||||
.font(.title)
|
||||
.foregroundColor(Color(UIColor.white))
|
||||
.padding([.trailing, .leading], 55)
|
||||
@@ -57,13 +57,13 @@ struct OnboardingWrapup: View {
|
||||
.padding([.trailing, .leading], 55)
|
||||
.padding([.top], 15)
|
||||
|
||||
Text("and when you vote it will be counted for the")
|
||||
Text(String(localized: "onboarding_wrap_up_3"))
|
||||
.font(.title)
|
||||
.foregroundColor(Color(UIColor.white))
|
||||
.padding([.trailing, .leading], 55)
|
||||
.padding([.top], 15)
|
||||
|
||||
Text(onboardingData.inputDay.rawValue)
|
||||
Text(onboardingData.inputDay.localizedValue)
|
||||
.font(.title)
|
||||
.fontWeight(.bold)
|
||||
.foregroundColor(Color(UIColor.white))
|
||||
@@ -73,7 +73,7 @@ struct OnboardingWrapup: View {
|
||||
Button(action: {
|
||||
completionClosure(onboardingData)
|
||||
}, label: {
|
||||
Text("Complete")
|
||||
Text(String(localized: "onboarding_wrap_up_complete_button"))
|
||||
.font(.title)
|
||||
.fontWeight(.bold)
|
||||
.foregroundColor(.yellow)
|
||||
|
||||
Reference in New Issue
Block a user