Fix locales

This commit is contained in:
Arkadiusz Fal
2026-02-09 00:13:46 +01:00
parent 05f921d605
commit 8464464199
55 changed files with 644 additions and 548 deletions

View File

@@ -105,11 +105,11 @@ struct MPVDebugOverlay: View {
// Header with close button (non-tvOS only - tvOS has button at bottom)
HStack(spacing: 4) {
#if os(tvOS)
Text("MPV Debug Stats")
Text(String(localized: "player.debug.stats"))
.font(.system(size: headerSize, weight: .semibold, design: .monospaced))
.foregroundStyle(primaryTextColor)
#else
Text(isLandscape ? "MPV Debug" : "Debug")
Text(String(localized: isLandscape ? "player.debug.title" : "player.debug.titleShort"))
.font(.system(size: headerSize, weight: .semibold, design: .monospaced))
.foregroundStyle(primaryTextColor)
@@ -168,7 +168,7 @@ struct MPVDebugOverlay: View {
HStack(spacing: 12) {
Image(systemName: "xmark.circle")
.font(.system(size: closeButtonSize))
Text("Close")
Text(String(localized: "common.close"))
.font(.system(size: rowSize, weight: .medium))
}
.foregroundStyle(.white)