mirror of
https://github.com/yattee/yattee.git
synced 2025-10-15 11:58:14 +00:00
Localizations fixes
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user