mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Fix locales
This commit is contained in:
@@ -193,7 +193,7 @@ extension BlurredImageBackground {
|
||||
.fill(.gray)
|
||||
.frame(width: 280, height: 158)
|
||||
|
||||
Text("Video Title")
|
||||
Text(verbatim: "Video Title")
|
||||
.font(.headline)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ struct ChannelCardGridView: View {
|
||||
}
|
||||
} else {
|
||||
// Reserve space with invisible text
|
||||
Text(" ")
|
||||
Text(verbatim: " ")
|
||||
.font(subscriberFont)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,16 +49,16 @@ struct VideoStatsRow: View {
|
||||
Text(publishedText)
|
||||
.onTapGesture { showFormattedDate.toggle() }
|
||||
} else if isLoadingAPIStats {
|
||||
Text("2 weeks ago")
|
||||
Text(verbatim: "2 weeks ago")
|
||||
.redacted(reason: .placeholder)
|
||||
}
|
||||
|
||||
// View count
|
||||
if let viewCount = video.formattedViewCount {
|
||||
Text("•")
|
||||
Text(verbatim: "•")
|
||||
Text("video.views \(viewCount)")
|
||||
} else if isLoadingAPIStats {
|
||||
Text("•")
|
||||
Text(verbatim: "•")
|
||||
Text("video.views 1.2M")
|
||||
.redacted(reason: .placeholder)
|
||||
}
|
||||
|
||||
@@ -171,9 +171,9 @@ extension VideoListContainer where Header == EmptyView {
|
||||
.fill(Color.gray.opacity(0.3))
|
||||
.frame(width: 120, height: 68)
|
||||
VStack(alignment: .leading) {
|
||||
Text("Video Title \(index + 1)")
|
||||
Text(verbatim: "Video Title \(index + 1)")
|
||||
.font(.subheadline)
|
||||
Text("Channel Name")
|
||||
Text(verbatim: "Channel Name")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
@@ -197,9 +197,9 @@ extension VideoListContainer where Header == EmptyView {
|
||||
.fill(Color.gray.opacity(0.3))
|
||||
.frame(width: 120, height: 68)
|
||||
VStack(alignment: .leading) {
|
||||
Text("Video Title \(index + 1)")
|
||||
Text(verbatim: "Video Title \(index + 1)")
|
||||
.font(.subheadline)
|
||||
Text("Channel Name")
|
||||
Text(verbatim: "Channel Name")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
|
||||
@@ -81,9 +81,9 @@ struct VideoListContent<Content: View>: View {
|
||||
.fill(Color.gray.opacity(0.3))
|
||||
.frame(width: 120, height: 68)
|
||||
VStack(alignment: .leading) {
|
||||
Text("Video Title \(index + 1)")
|
||||
Text(verbatim: "Video Title \(index + 1)")
|
||||
.font(.subheadline)
|
||||
Text("Channel Name")
|
||||
Text(verbatim: "Channel Name")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
@@ -112,9 +112,9 @@ struct VideoListContent<Content: View>: View {
|
||||
.fill(Color.gray.opacity(0.3))
|
||||
.frame(width: 120, height: 68)
|
||||
VStack(alignment: .leading) {
|
||||
Text("Video Title \(index + 1)")
|
||||
Text(verbatim: "Video Title \(index + 1)")
|
||||
.font(.subheadline)
|
||||
Text("Channel Name")
|
||||
Text(verbatim: "Channel Name")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
|
||||
@@ -121,9 +121,9 @@ struct VideoListRow<Content: View>: View {
|
||||
.fill(Color.gray.opacity(0.3))
|
||||
.frame(width: 120, height: 68)
|
||||
VStack(alignment: .leading) {
|
||||
Text("Video Title \(index + 1)")
|
||||
Text(verbatim: "Video Title \(index + 1)")
|
||||
.font(.subheadline)
|
||||
Text("Channel Name")
|
||||
Text(verbatim: "Channel Name")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
@@ -152,9 +152,9 @@ struct VideoListRow<Content: View>: View {
|
||||
.fill(Color.gray.opacity(0.3))
|
||||
.frame(width: 120, height: 68)
|
||||
VStack(alignment: .leading) {
|
||||
Text("Video Title \(index + 1)")
|
||||
Text(verbatim: "Video Title \(index + 1)")
|
||||
.font(.subheadline)
|
||||
Text("Channel Name")
|
||||
Text(verbatim: "Channel Name")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user