Add Domains to Administration
A role that can read domains now finds a Domains section beside Accounts: list and search with each domain's account count and whether its DNS, DKIM and certificate are managed automatically; add a domain; edit its description, other names, catch-all address and plus addressing; copy its DNS records one at a time or as a zone file; see its DKIM keys and their stage; and remove it once no accounts use it. The records come from the zone file Stalwart computes per domain. A long DKIM record, which the BIND serialiser splits into quoted chunks, is joined back into the single value a DNS provider's form wants. Removing a domain takes its DKIM keys first, in the same request, because the server will not remove a domain its keys still name. Removal is not offered while accounts use the domain, or when the role cannot remove the keys. The Administration nav is now built from the sections the role can read, and the menu appears when there is at least one. The mock gains domains, DKIM keys and zone files. 61 new strings, translated in all nine catalogues; strings falling back to English stay at 16.
This commit is contained in:
@@ -43,6 +43,63 @@ import type { Catalog } from "@/lib/i18n";
|
||||
*/
|
||||
export const catalog: Catalog = {
|
||||
strings: {
|
||||
// ── Administration: domains ────────────────────────────────────
|
||||
"Domains": "Domeinen",
|
||||
"By hand": "Handmatig",
|
||||
"Signing": "Ondertekent",
|
||||
"Published, not signing yet": "Gepubliceerd, ondertekent nog niet",
|
||||
"Retiring": "Wordt uitgefaseerd",
|
||||
"Retired": "Uitgefaseerd",
|
||||
"This domain no longer exists. Someone may have removed it.": "Dit domein bestaat niet meer. Mogelijk heeft iemand het verwijderd.",
|
||||
"That doesn't look like a domain name, such as example.com.": "Dat lijkt niet op een domeinnaam, zoals example.com.",
|
||||
"Added {name}. Its DNS records are ready to copy.": "{name} toegevoegd. De DNS-records staan klaar om te kopiëren.",
|
||||
"Saved {name}": "{name} opgeslagen",
|
||||
"Add domain": "Domein toevoegen",
|
||||
"Added {date}": "Toegevoegd op {date}",
|
||||
"This domain is disabled on the server.": "Dit domein is op de server uitgeschakeld.",
|
||||
"Your role lets you view domains but not change them.": "Met uw rol kunt u domeinen bekijken, maar niet wijzigen.",
|
||||
"New domains sign their mail with DKIM keys the server creates and rotates. Its DNS records appear here once it's added.": "Nieuwe domeinen ondertekenen hun e-mail met DKIM-sleutels die de server aanmaakt en vervangt. De DNS-records verschijnen hier zodra het domein is toegevoegd.",
|
||||
"Other names": "Andere namen",
|
||||
"Delivery": "Bezorging",
|
||||
"Catch-all address": "Catch-alladres",
|
||||
"Mail to an address nobody has on this domain is delivered here. Leave it empty to refuse that mail.": "E-mail aan een adres dat niemand op dit domein heeft, wordt hier bezorgd. Laat leeg om die e-mail te weigeren.",
|
||||
"Plus addressing": "Plus-adressering",
|
||||
"Set by a custom rule on the server.": "Ingesteld door een aangepaste regel op de server.",
|
||||
"Mail to name+anything@ is delivered to name@.": "E-mail aan naam+wat-dan-ook@ wordt bezorgd bij naam@.",
|
||||
"DNS records": "DNS-records",
|
||||
"Published automatically through {provider}.": "Automatisch gepubliceerd via {provider}.",
|
||||
"Published automatically by the server.": "Automatisch gepubliceerd door de server.",
|
||||
"Add these where this domain's DNS is hosted. Mail isn't delivered or trusted until they're in place.": "Voeg deze toe waar de DNS van dit domein wordt beheerd. Tot die tijd wordt e-mail niet bezorgd of vertrouwd.",
|
||||
"Copy {type} record for {name}": "{type}-record voor {name} kopiëren",
|
||||
"Copy value": "Waarde kopiëren",
|
||||
"Copied the zone file": "Zonebestand gekopieerd",
|
||||
"Copy all as a zone file": "Alles als zonebestand kopiëren",
|
||||
"The server returned no records for this domain.": "De server gaf geen records voor dit domein.",
|
||||
"DKIM keys": "DKIM-sleutels",
|
||||
"The server creates and rotates these keys itself.": "De server maakt en vervangt deze sleutels zelf.",
|
||||
"These keys are managed by hand on the server.": "Deze sleutels worden op de server handmatig beheerd.",
|
||||
"No DKIM keys, so mail from this domain isn't signed and is more likely to be marked as spam.": "Geen DKIM-sleutels: e-mail van dit domein wordt niet ondertekend en komt eerder in de spam terecht.",
|
||||
"Managed by the server": "Beheerd door de server",
|
||||
"Certificate": "Certificaat",
|
||||
"Another name for this domain": "Andere naam voor dit domein",
|
||||
"Mail to the same address at any of these names reaches the same account. Changes apply when you save.": "E-mail aan hetzelfde adres onder een van deze namen komt in hetzelfde account. Wijzigingen gelden na opslaan.",
|
||||
"Its DKIM keys have to be removed first, and your role can't remove them.": "De DKIM-sleutels moeten eerst worden verwijderd, en uw rol mag dat niet.",
|
||||
"The server stops accepting mail for this domain.": "De server accepteert geen e-mail meer voor dit domein.",
|
||||
"Remove domain…": "Domein verwijderen…",
|
||||
"Remove {name}?": "{name} verwijderen?",
|
||||
"Removed {name}": "{name} verwijderd",
|
||||
"The server kept the domain: it is still used by {things}.": "De server heeft het domein behouden: het wordt nog gebruikt door {things}.",
|
||||
"Remove domain": "Domein verwijderen",
|
||||
"The server stops accepting mail for this domain. This can't be undone.": "De server accepteert geen e-mail meer voor dit domein. Dit kan niet ongedaan worden gemaakt.",
|
||||
"Where your addresses live, and the DNS records that let mail arrive and be trusted.": "Waar uw adressen wonen, en de DNS-records waardoor e-mail aankomt en wordt vertrouwd.",
|
||||
"Search domains": "Domeinen zoeken",
|
||||
"No domains match": "Geen domeinen gevonden",
|
||||
"No domains yet": "Nog geen domeinen",
|
||||
"DKIM": "DKIM",
|
||||
"Tenant": "Tenant",
|
||||
"Disabled": "Uitgeschakeld",
|
||||
"also {names}": "ook {names}",
|
||||
"The server did not say whether the domain was created.": "De server heeft niet gemeld of het domein is aangemaakt.",
|
||||
// ── Administration: accounts ───────────────────────────────────
|
||||
"Change your own password in {settings}.": "Wijzig uw eigen wachtwoord bij {settings}.",
|
||||
"Administration": "Beheer",
|
||||
@@ -1413,6 +1470,13 @@ export const catalog: Catalog = {
|
||||
"no address": "geen adres",
|
||||
},
|
||||
plurals: {
|
||||
// ── Administration: domains ────────────────────────────────────
|
||||
"{n} accounts use this domain. Move or delete them first.": { one: "{n} account gebruikt dit domein. Verplaats of verwijder het eerst.", other: "{n} accounts gebruiken dit domein. Verplaats of verwijder ze eerst." },
|
||||
"The server stops accepting mail for this domain, and its {n} DKIM keys are deleted. This can't be undone.": { one: "De server accepteert geen e-mail meer voor dit domein en de {n} DKIM-sleutel wordt verwijderd. Dit kan niet ongedaan worden gemaakt.", other: "De server accepteert geen e-mail meer voor dit domein en de {n} DKIM-sleutels worden verwijderd. Dit kan niet ongedaan worden gemaakt." },
|
||||
"{n} domains": { one: "{n} domein", other: "{n} domeinen" },
|
||||
"{n} mailing lists": { one: "{n} mailinglijst", other: "{n} mailinglijsten" },
|
||||
"{n} DKIM keys": { one: "{n} DKIM-sleutel", other: "{n} DKIM-sleutels" },
|
||||
"{n} other items": { one: "{n} ander item", other: "{n} andere items" },
|
||||
// ── Administration ────────────────────────────────────────────────
|
||||
"{n} accounts": { one: "{n} account", other: "{n} accounts" },
|
||||
// ── Third pass ─────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user