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:
@@ -50,6 +50,63 @@ import type { Catalog } from "@/lib/i18n";
|
||||
*/
|
||||
export const catalog: Catalog = {
|
||||
strings: {
|
||||
// ── Administration: domains ────────────────────────────────────
|
||||
"Domains": "Domínios",
|
||||
"By hand": "Manual",
|
||||
"Signing": "Assinando",
|
||||
"Published, not signing yet": "Publicada, ainda não assina",
|
||||
"Retiring": "Sendo retirada",
|
||||
"Retired": "Retirada",
|
||||
"This domain no longer exists. Someone may have removed it.": "Este domínio não existe mais. Talvez alguém o tenha removido.",
|
||||
"That doesn't look like a domain name, such as example.com.": "Isso não parece um nome de domínio, como example.com.",
|
||||
"Added {name}. Its DNS records are ready to copy.": "{name} adicionado. Os registros DNS estão prontos para copiar.",
|
||||
"Saved {name}": "{name} salvo",
|
||||
"Add domain": "Adicionar domínio",
|
||||
"Added {date}": "Adicionado em {date}",
|
||||
"This domain is disabled on the server.": "Este domínio está desativado no servidor.",
|
||||
"Your role lets you view domains but not change them.": "Sua função permite ver os domínios, mas não alterá-los.",
|
||||
"New domains sign their mail with DKIM keys the server creates and rotates. Its DNS records appear here once it's added.": "Domínios novos assinam os e-mails com chaves DKIM que o servidor cria e renova. Os registros DNS aparecem aqui depois que o domínio é adicionado.",
|
||||
"Other names": "Outros nomes",
|
||||
"Delivery": "Entrega",
|
||||
"Catch-all address": "Endereço pega-tudo",
|
||||
"Mail to an address nobody has on this domain is delivered here. Leave it empty to refuse that mail.": "E-mails para um endereço que ninguém tem neste domínio são entregues aqui. Deixe vazio para recusá-los.",
|
||||
"Plus addressing": "Endereços com +",
|
||||
"Set by a custom rule on the server.": "Definido por uma regra personalizada no servidor.",
|
||||
"Mail to name+anything@ is delivered to name@.": "E-mails para nome+qualquercoisa@ são entregues a nome@.",
|
||||
"DNS records": "Registros DNS",
|
||||
"Published automatically through {provider}.": "Publicados automaticamente via {provider}.",
|
||||
"Published automatically by the server.": "Publicados automaticamente pelo servidor.",
|
||||
"Add these where this domain's DNS is hosted. Mail isn't delivered or trusted until they're in place.": "Adicione-os onde o DNS deste domínio está hospedado. Os e-mails não são entregues nem considerados confiáveis até que estejam lá.",
|
||||
"Copy {type} record for {name}": "Copiar o registro {type} de {name}",
|
||||
"Copy value": "Copiar valor",
|
||||
"Copied the zone file": "Arquivo de zona copiado",
|
||||
"Copy all as a zone file": "Copiar tudo como arquivo de zona",
|
||||
"The server returned no records for this domain.": "O servidor não retornou registros para este domínio.",
|
||||
"DKIM keys": "Chaves DKIM",
|
||||
"The server creates and rotates these keys itself.": "O servidor cria e renova estas chaves sozinho.",
|
||||
"These keys are managed by hand on the server.": "Estas chaves são gerenciadas manualmente no servidor.",
|
||||
"No DKIM keys, so mail from this domain isn't signed and is more likely to be marked as spam.": "Sem chaves DKIM: os e-mails deste domínio não são assinados e têm mais chance de ir para o spam.",
|
||||
"Managed by the server": "Gerenciado pelo servidor",
|
||||
"Certificate": "Certificado",
|
||||
"Another name for this domain": "Outro nome para este domínio",
|
||||
"Mail to the same address at any of these names reaches the same account. Changes apply when you save.": "E-mails para o mesmo endereço em qualquer um destes nomes chegam à mesma conta. As alterações valem ao salvar.",
|
||||
"Its DKIM keys have to be removed first, and your role can't remove them.": "As chaves DKIM precisam ser removidas primeiro, e sua função não pode removê-las.",
|
||||
"The server stops accepting mail for this domain.": "O servidor deixa de aceitar e-mails para este domínio.",
|
||||
"Remove domain…": "Remover domínio…",
|
||||
"Remove {name}?": "Remover {name}?",
|
||||
"Removed {name}": "{name} removido",
|
||||
"The server kept the domain: it is still used by {things}.": "O servidor manteve o domínio: ele ainda é usado por {things}.",
|
||||
"Remove domain": "Remover domínio",
|
||||
"The server stops accepting mail for this domain. This can't be undone.": "O servidor deixa de aceitar e-mails para este domínio. Não é possível desfazer.",
|
||||
"Where your addresses live, and the DNS records that let mail arrive and be trusted.": "Onde seus endereços ficam, e os registros DNS que fazem os e-mails chegarem e serem confiáveis.",
|
||||
"Search domains": "Pesquisar domínios",
|
||||
"No domains match": "Nenhum domínio corresponde",
|
||||
"No domains yet": "Ainda não há domínios",
|
||||
"DKIM": "DKIM",
|
||||
"Tenant": "Locatário",
|
||||
"Disabled": "Desativado",
|
||||
"also {names}": "também {names}",
|
||||
"The server did not say whether the domain was created.": "O servidor não informou se o domínio foi criado.",
|
||||
// ── Administration: accounts ───────────────────────────────────
|
||||
"Change your own password in {settings}.": "Altere sua própria senha em {settings}.",
|
||||
"Administration": "Administração",
|
||||
@@ -1420,6 +1477,13 @@ export const catalog: Catalog = {
|
||||
"no address": "nenhum endereço",
|
||||
},
|
||||
plurals: {
|
||||
// ── Administration: domains ────────────────────────────────────
|
||||
"{n} accounts use this domain. Move or delete them first.": { one: "{n} conta usa este domínio. Mova-a ou exclua-a primeiro.", other: "{n} contas usam este domínio. Mova-as ou exclua-as primeiro." },
|
||||
"The server stops accepting mail for this domain, and its {n} DKIM keys are deleted. This can't be undone.": { one: "O servidor deixa de aceitar e-mails para este domínio, e a {n} chave DKIM dele é excluída. Não é possível desfazer.", other: "O servidor deixa de aceitar e-mails para este domínio, e as {n} chaves DKIM dele são excluídas. Não é possível desfazer." },
|
||||
"{n} domains": { one: "{n} domínio", other: "{n} domínios" },
|
||||
"{n} mailing lists": { one: "{n} lista de e-mails", other: "{n} listas de e-mails" },
|
||||
"{n} DKIM keys": { one: "{n} chave DKIM", other: "{n} chaves DKIM" },
|
||||
"{n} other items": { one: "{n} outro item", other: "{n} outros itens" },
|
||||
// ── Administration ────────────────────────────────────────────────
|
||||
"{n} accounts": { one: "{n} conta", other: "{n} contas" },
|
||||
// ── Third pass ─────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user