#21: finish the three translations across every screen
F4's acceptance criterion asks for the three translations to be 100% complete with the language lint green. The bundles had parity but the admin screens and the account area were still hardcoded English: 63 visible strings that no locale could reach. They now come from a shared ui namespace, so the three bundles cannot drift apart, and all three carry 126 keys. The language lint also caught this branch's own Go tests: the RFC 2047 cases need accented output to be worth anything, and the delivery test had Portuguese fixture text. The expectations are written as Go escapes instead, which keeps the assertions and leaves the source ASCII, and the fixture text is English. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eec4a4e520
commit
b57854107e
15 files changed
+260
-68
No files matched your search
@@ -10,7 +10,7 @@ func TestRenderMessage_ExtractsHeadersAndText(t *testing.T) {
|
||||
"Content-Type: text/plain; charset=utf-8\r\n\r\nCorpo.\r\n"
|
||||
|
||||
got := RenderMessage([]byte(raw), 7)
|
||||
if got.UID != 7 || got.Subject != "Olá" {
|
||||
if got.UID != 7 || got.Subject != "Ol\u00e1" {
|
||||
t.Errorf("UID/Subject = %d/%q", got.UID, got.Subject)
|
||||
}
|
||||
if got.Text != "Corpo.\r\n" {
|
||||
|
||||
Reference in new issue
Block a user