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

@@ -26,17 +26,17 @@ struct ContentView: View {
TabView {
mainView
.tabItem {
Label("Main", systemImage: "list.dash")
Label(String(localized: "content_view_tab_main"), systemImage: "list.dash")
}
FilterView()
.tabItem {
Label("Filter", systemImage: "calendar.circle")
Label(String(localized: "content_view_tab_filter"), systemImage: "calendar.circle")
}
GraphView()
.tabItem {
Label("Stats", systemImage: "chart.line.uptrend.xyaxis")
Label(String(localized: "content_view_tab_stats"), systemImage: "chart.line.uptrend.xyaxis")
}
}.sheet(isPresented: $needsOnboarding, onDismiss: {