Localizations fixes

This commit is contained in:
Arkadiusz Fal
2022-11-19 00:06:13 +01:00
parent be2af82300
commit 780b7ab130
13 changed files with 18 additions and 19 deletions

View File

@@ -64,7 +64,7 @@ struct InspectorView: View {
if let systemName {
Image(systemName: systemName)
}
Text(heading.uppercased())
Text(heading.localized().uppercased())
.font(.footnote)
}
.foregroundColor(.secondary)
@@ -72,7 +72,7 @@ struct InspectorView: View {
@ViewBuilder func videoDetailRow(_ detail: String, value: String) -> some View {
HStack {
Text(detail)
Text(detail.localized())
.foregroundColor(.secondary)
Spacer()
let value = Text(value).lineLimit(1)