Say the Archive folder needs the role, not the name

Archiving looks the folder up by its special-use role and by nothing else --
roleId("archive"), falling back to roleId("all") -- and then, finding
neither, told you to create a folder named "Archive". Naming a folder does
not give it a role, and ihasmail has no way to assign one: Folders settings
shows the role beside a folder and offers no way to set it. So the advice
sent someone round a loop that could not end. They make the folder, it still
does not work, and the message says the same thing again.

It now says what is actually required and where it lives: a folder needs the
Archive role on the server, and naming it "Archive" is not enough.

All nine catalogues carry the correction rather than falling back to English,
and they need the same native review the rest of them do.

The existing test asserted only that archiving complained. It now checks what
the complaint says, since the words were the whole bug.

Closes #217.
This commit is contained in:
2026-09-02 08:00:46 -07:00
parent 3f33b61369
commit 1611ae6918
11 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -986,7 +986,7 @@ export const catalog: Catalog = {
"New all-day event on {date}": "Neuer ganztägiger Termin am {date}",
"New event at {time}": "Neuer Termin um {time}",
"New identity": "Neue Absenderidentität",
"No Archive folder found. Create one named “Archive” first.": "Kein Archivordner gefunden. Legen Sie zuerst einen mit dem Namen „Archive“ an.",
"No Archive folder is set. A folder needs the Archive role on the server; naming it “Archive” is not enough.": "Kein Archivordner festgelegt. Ein Ordner braucht auf dem Server die Rolle „Archive“; ihn so zu benennen genügt nicht.",
"No contacts yet": "Noch keine Kontakte",
"No longer shared": "Nicht mehr freigegeben",
"No matches": "Keine Treffer",