Localizations

This commit is contained in:
Arkadiusz Fal
2022-09-04 17:28:30 +02:00
parent 2d51f6adff
commit b66e177114
33 changed files with 2180 additions and 122 deletions

View File

@@ -227,7 +227,8 @@ struct ControlsBar: View {
}
VStack(alignment: .leading, spacing: 0) {
Text(model.currentVideo?.title ?? "Not Playing")
let notPlaying = "Not Playing".localized()
Text(model.currentVideo?.title ?? notPlaying)
.font(.system(size: 14))
.fontWeight(.semibold)
.foregroundColor(model.currentVideo.isNil ? .secondary : .accentColor)