feat(i18n): add internationalization with i18next and expo-localization
This commit is contained in:
@@ -8,7 +8,7 @@ struct WorkoutDetailView: View {
|
||||
if let workout = workoutManager.selectedWorkout {
|
||||
Section {
|
||||
VStack(spacing: 8) {
|
||||
Text(workout.name ?? "Workout")
|
||||
Text(workout.name ?? String(localized: "Workout"))
|
||||
.font(.headline)
|
||||
|
||||
Text("\(Int(workout.poolLength))m pool")
|
||||
|
||||
Reference in New Issue
Block a user