// // Swiftfin is subject to the terms of the Mozilla Public // License, v2.0. If a copy of the MPL was not distributed with this // file, you can obtain one at https://mozilla.org/MPL/2.0/. // // Copyright (c) 2025 Jellyfin & Jellyfin Contributors // enum ItemViewAttribute: String, CaseIterable, Displayable, Storable { case ratingCritics case ratingCommunity case ratingOfficial case videoQuality case audioChannels case subtitles var displayTitle: String { switch self { case .ratingCritics: return L10n.criticRating case .ratingCommunity: return L10n.communityRating case .ratingOfficial: return L10n.parentalRating case .videoQuality: return L10n.video case .audioChannels: return L10n.audio case .subtitles: return L10n.subtitles } } }