From 19a421604c4e7b62a4b1a90f942efcccced51f2a Mon Sep 17 00:00:00 2001 From: William Casarin Date: Mon, 20 Feb 2023 12:44:43 -0800 Subject: [PATCH] Remove all localization from formatting strings until we have test converage --- damus/Views/Events/ReplyDescription.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/damus/Views/Events/ReplyDescription.swift b/damus/Views/Events/ReplyDescription.swift index 9cbfb9e8..7e130d62 100644 --- 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) }