localize main app
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user