Localization fix

This commit is contained in:
Arkadiusz Fal 2023-05-20 15:59:47 +02:00
parent 6c5b8ef3ec
commit b53b5eac56
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ struct OpeningStream: View {
if let selection = player.streamSelection { if let selection = player.streamSelection {
if selection.isLocal { if selection.isLocal {
return "Opening file..." return "Opening file...".localized()
} else { } else {
return String(format: "Opening %@ stream...".localized(), selection.shortQuality) return String(format: "Opening %@ stream...".localized(), selection.shortQuality)
} }

View File

@ -15,7 +15,7 @@ struct InspectorView: View {
videoDetailRow("Format", value: player.mpvBackend.videoFormat) videoDetailRow("Format", value: player.mpvBackend.videoFormat)
videoDetailRow("Codec", value: player.mpvBackend.videoCodec) videoDetailRow("Codec", value: player.mpvBackend.videoCodec)
videoDetailRow("Hardware Decoder", value: player.mpvBackend.hwDecoder) videoDetailRow("Hardware decoder", value: player.mpvBackend.hwDecoder)
videoDetailRow("Driver", value: player.mpvBackend.currentVo) videoDetailRow("Driver", value: player.mpvBackend.currentVo)
videoDetailRow("Size", value: player.formattedSize) videoDetailRow("Size", value: player.formattedSize)
videoDetailRow("FPS", value: player.mpvBackend.formattedOutputFps) videoDetailRow("FPS", value: player.mpvBackend.formattedOutputFps)