Commit fa851a0
committed
Localize Insights view and set locale
Replace hard-coded navigation title with the localization key 'tab.insights'. Add a view id tied to selectedLanguageCode and inject the app locale via .environment(\.locale, ...) so the Insights view refreshes and displays localized strings when the user changes language.1 parent 9293946 commit fa851a0
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
218 | 223 | | |
219 | 224 | | |
220 | 225 | | |
| |||
0 commit comments