localize main app

This commit is contained in:
Trey t
2022-01-23 10:28:38 -06:00
parent 8648a8f834
commit 8ece03abce
12 changed files with 132 additions and 40 deletions

View File

@@ -46,7 +46,7 @@ struct SettingsView: View {
Button(action: {
dismiss()
}, label: {
Text("Exit")
Text(String(localized: "settings_view_exit"))
.font(.body)
.foregroundColor(Color(UIColor.systemBlue))
})
@@ -60,7 +60,7 @@ struct SettingsView: View {
Button(action: {
}, label: {
Text("Special thanks to")
Text(String(localized: "settings_view_special_thanks_to"))
})
.padding()
}
@@ -102,7 +102,7 @@ struct SettingsView: View {
private var whyBackgroundMode: some View {
ZStack {
Color(UIColor.systemBackground)
Text("we do bg mode b/c we can")
Text(String(localized: "settings_view_why_bg_mode"))
.padding()
}
.fixedSize(horizontal: false, vertical: true)
@@ -118,7 +118,7 @@ struct SettingsView: View {
ZStack {
Color(UIColor.systemBackground)
VStack {
Text("Change Icon")
Text(String(localized: "settings_view_change_icon"))
HStack {
Button(action: {
@@ -157,7 +157,7 @@ struct SettingsView: View {
Button(action: {
showOnboarding.toggle()
}, label: {
Text("Show Onboarding")
Text(String(localized: "settings_view_show_onboarding"))
})
.padding()
}