mirror of
				https://github.com/yattee/yattee.git
				synced 2025-10-31 12:41:57 +00:00 
			
		
		
		
	Add missing translation strings
This commit is contained in:
		| @@ -25,7 +25,7 @@ struct ChaptersView: View { | |||||||
|             .listStyle(.plain) |             .listStyle(.plain) | ||||||
|             #endif |             #endif | ||||||
|         } else { |         } else { | ||||||
|             NoCommentsView(text: "No chapters information available", systemImage: "xmark.circle.fill") |             NoCommentsView(text: "No chapters information available".localized(), systemImage: "xmark.circle.fill") | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -9,9 +9,9 @@ struct CommentsView: View { | |||||||
|     var body: some View { |     var body: some View { | ||||||
|         Group { |         Group { | ||||||
|             if comments.disabled { |             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 { |             } 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 { |             } else if !comments.loaded { | ||||||
|                 PlaceholderProgressView() |                 PlaceholderProgressView() | ||||||
|             } else { |             } else { | ||||||
|   | |||||||
| @@ -126,9 +126,9 @@ struct NowPlayingView: View { | |||||||
|  |  | ||||||
|                 if sections.contains(.comments) { |                 if sections.contains(.comments) { | ||||||
|                     if comments.disabled { |                     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 { |                     } 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 { |                     } else if !comments.loaded { | ||||||
|                         VStack(alignment: .center) { |                         VStack(alignment: .center) { | ||||||
|                             PlaceholderProgressView() |                             PlaceholderProgressView() | ||||||
| @@ -156,7 +156,7 @@ struct NowPlayingView: View { | |||||||
|                 if sections.contains(.chapters) { |                 if sections.contains(.chapters) { | ||||||
|                     if let video = player.currentVideo { |                     if let video = player.currentVideo { | ||||||
|                         if video.chapters.isEmpty { |                         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 { |                         } else { | ||||||
|                             Section(header: Text("Chapters")) { |                             Section(header: Text("Chapters")) { | ||||||
|                                 ForEach(video.chapters) { chapter in |                                 ForEach(video.chapters) { chapter in | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Arkadiusz Fal
					Arkadiusz Fal