diff --git a/Shared/Player/ChaptersView.swift b/Shared/Player/ChaptersView.swift index d7fbe067..2a92c746 100644 --- a/Shared/Player/ChaptersView.swift +++ b/Shared/Player/ChaptersView.swift @@ -25,7 +25,7 @@ struct ChaptersView: View { .listStyle(.plain) #endif } else { - NoCommentsView(text: "No chapters information available", systemImage: "xmark.circle.fill") + NoCommentsView(text: "No chapters information available".localized(), systemImage: "xmark.circle.fill") } } } diff --git a/Shared/Player/CommentsView.swift b/Shared/Player/CommentsView.swift index ae52a118..96fb0f17 100644 --- a/Shared/Player/CommentsView.swift +++ b/Shared/Player/CommentsView.swift @@ -9,9 +9,9 @@ struct CommentsView: View { var body: some View { Group { if comments.disabled { - NoCommentsView(text: "Comments are disabled", systemImage: "xmark.circle.fill") + NoCommentsView(text: "Comments are disabled".localized(), systemImage: "xmark.circle.fill") } else if comments.loaded && comments.all.isEmpty { - NoCommentsView(text: "No comments", systemImage: "0.circle.fill") + NoCommentsView(text: "No comments".localized(), systemImage: "0.circle.fill") } else if !comments.loaded { PlaceholderProgressView() } else { diff --git a/tvOS/NowPlayingView.swift b/tvOS/NowPlayingView.swift index 9f179f7f..41473146 100644 --- a/tvOS/NowPlayingView.swift +++ b/tvOS/NowPlayingView.swift @@ -126,9 +126,9 @@ struct NowPlayingView: View { if sections.contains(.comments) { if comments.disabled { - NoCommentsView(text: "Comments are disabled", systemImage: "xmark.circle.fill") + NoCommentsView(text: "Comments are disabled".localized(), systemImage: "xmark.circle.fill") } else if comments.loaded && comments.all.isEmpty { - NoCommentsView(text: "No comments", systemImage: "0.circle.fill") + NoCommentsView(text: "No comments".localized(), systemImage: "0.circle.fill") } else if !comments.loaded { VStack(alignment: .center) { PlaceholderProgressView() @@ -156,7 +156,7 @@ struct NowPlayingView: View { if sections.contains(.chapters) { if let video = player.currentVideo { if video.chapters.isEmpty { - NoCommentsView(text: "No chapters information available", systemImage: "xmark.circle.fill") + NoCommentsView(text: "No chapters information available".localized(), systemImage: "xmark.circle.fill") } else { Section(header: Text("Chapters")) { ForEach(video.chapters) { chapter in