mirror of
git://jb55.com/damus
synced 2024-10-06 19:53:22 +00:00
Remove all localization from formatting strings
until we have test converage
This commit is contained in:
parent
68b57d8b99
commit
19a421604c
@ -43,14 +43,14 @@ func reply_desc(profiles: Profiles, event: NostrEvent) -> String {
|
||||
let othersCount = n - pubkeys.count
|
||||
if names.count > 1 {
|
||||
if othersCount == 0 {
|
||||
return String(format: NSLocalizedString("Replying to %@ & %@", comment: "Label to indicate that the user is replying to 2 users."), names[0], names[1])
|
||||
return String(format: "Replying to %@ & %@", names[0], names[1])
|
||||
} else {
|
||||
return String(format: "Replying to %@, %@ & %d others", names[0], names[1], othersCount)
|
||||
}
|
||||
}
|
||||
|
||||
if othersCount == 0 {
|
||||
return String(format: NSLocalizedString("Replying to %@", comment: "Label to indicate that the user is replying to 1 user."), names[0])
|
||||
return String(format: "Replying to %@", names[0])
|
||||
} else {
|
||||
return String(format: "Replying to %@ & %d others", names[0], othersCount)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user