commit 19a421604c4e7b62a4b1a90f942efcccced51f2a
parent 68b57d8b997aa664e3f3082ac5116c4af8ae9fe8
Author: William Casarin <jb55@jb55.com>
Date: Mon, 20 Feb 2023 12:44:43 -0800
Remove all localization from formatting strings
until we have test converage
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/damus/Views/Events/ReplyDescription.swift b/damus/Views/Events/ReplyDescription.swift
@@ -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)
}