Skip to content

Commit

Permalink
[iOS & tvOS] Unused Localization Cleanup (#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
JPKribs authored Dec 20, 2024
1 parent d580e8d commit a6bd093
Show file tree
Hide file tree
Showing 3 changed files with 1,436 additions and 2,023 deletions.
10 changes: 5 additions & 5 deletions Shared/Extensions/JellyfinAPI/MediaStream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ extension MediaStream {
var properties: [TextPair] = []

if let value = type {
properties.append(.init(title: L10n.type, subtitle: value.rawValue))
properties.append(.init(title: "Type", subtitle: value.rawValue))
}

if let value = codec {
Expand All @@ -63,7 +63,7 @@ extension MediaStream {
}

if let value = language {
properties.append(.init(title: L10n.language, subtitle: value))
properties.append(.init(title: "Language", subtitle: value))
}

if let value = timeBase {
Expand Down Expand Up @@ -107,15 +107,15 @@ extension MediaStream {
}

if let value = channels {
properties.append(.init(title: L10n.channels, subtitle: value.description))
properties.append(.init(title: "Channels", subtitle: value.description))
}

if let value = sampleRate {
properties.append(.init(title: "Sample Rate", subtitle: value.description))
}

if let value = isDefault {
properties.append(.init(title: L10n.default, subtitle: value.description))
properties.append(.init(title: "Default", subtitle: value.description))
}

if let value = isForced {
Expand Down Expand Up @@ -195,7 +195,7 @@ extension MediaStream {
}

if let value = deliveryURL {
properties.append(.init(title: L10n.url, subtitle: value))
properties.append(.init(title: "URL", subtitle: value))
}

if let value = deliveryURL {
Expand Down
Loading

0 comments on commit a6bd093

Please sign in to comment.