Fix localization issues and export strings for translation
This commit is contained in:
@@ -25,12 +25,15 @@ struct ReplyView: View {
|
||||
return "@" + Profile.displayName(profile: prof, pubkey: pk).username
|
||||
}
|
||||
.joined(separator: " ")
|
||||
Text("Replying to ", comment: "Indicating that the user is replying to the following listed people.")
|
||||
.foregroundColor(.gray)
|
||||
.font(.footnote) +
|
||||
Text(names.isEmpty ? "self" : names)
|
||||
.foregroundColor(.accentColor)
|
||||
.font(.footnote)
|
||||
if names.isEmpty {
|
||||
Text("Replying to \(Text("self", comment: "Part of a larger sentence 'Replying to self' in US English. 'self' indicates that the user is replying to themself and no one else.").foregroundColor(.accentColor).font(.footnote))", comment: "Indicating that the user is replying to the themself and no one else, where the parameter is 'self' in US English.")
|
||||
.foregroundColor(.gray)
|
||||
.font(.footnote)
|
||||
} else {
|
||||
Text("Replying to \(Text(verbatim: names).foregroundColor(.accentColor).font(.footnote))", comment: "Indicating that the user is replying to the following listed people.")
|
||||
.foregroundColor(.gray)
|
||||
.font(.footnote)
|
||||
}
|
||||
}
|
||||
.onTapGesture {
|
||||
participantsShown.toggle()
|
||||
|
||||
Reference in New Issue
Block a user