Add Mailing lists to Administration

A mailing list is an address that passes mail on to everyone on it. To
Stalwart it is its own object, x:MailingList, behind sysMailingList*, so
it gets its own section under Directory after Groups: search, fifty to a
page with each list's recipient count, and a panel to create, edit and
delete one.

Recipients are a property of the list, so unlike a group's members they
save with the rest of the panel. What Save sends for them is only what was
added and removed, one recipients/<address> pointer each -- the patch the
live server accepted -- so a recipient added elsewhere while the panel was
open is not taken out. They can be pasted several at a time, from a
spreadsheet column, a comma-separated line or Name <address>; anything with
an @ that is not an address stays in the box with a note. Past a dozen, a
filter narrows them.

That is all a list is in Stalwart -- no owners, moderation or posting
rules -- so that is all the panel offers.

The mock answers x:MailingList with two lists, the recipient set's live
shape, and the refusals a wrong address, a clash with an account and a
missing permission get.

Twenty-five new strings and one plural, in all nine catalogues.
This commit is contained in:
2026-09-15 08:47:04 -07:00
parent 79afc334ab
commit 627422d794
25 changed files with 1113 additions and 13 deletions
+26
View File
@@ -176,6 +176,31 @@ export const catalog: Catalog = {
"Your organisation has reached the number of groups it is allowed.": "Ваша организация достигла допустимого числа групп.",
"This group no longer exists. Someone may have deleted it.": "Этой группы больше нет. Возможно, её кто-то удалил.",
"The server did not say whether the group was created.": "Сервер не сообщил, создана ли группа.",
"Mailing lists": "Списки рассылки",
"Mailing list": "Список рассылки",
"A list needs an address.": "Списку нужен адрес.",
"New mailing list": "Новый список рассылки",
"Your role lets you view mailing lists but not change them.": "Ваша роль позволяет просматривать списки рассылки, но не изменять их.",
"No domains are available to create a list on.": "Нет доменов, на которых можно создать список.",
"Mail to these addresses goes to the list too. Changes apply when you save.": "Почта на эти адреса тоже идёт в список. Изменения применяются при сохранении.",
"Create list": "Создать список",
"Filter recipients": "Фильтр получателей",
"No recipients match": "Нет подходящих получателей",
"Add recipients": "Добавить получателей",
"Addresses, separated by commas": "Адреса через запятую",
"Not added, as they aren't addresses: {items}": "Не добавлены, так как это не адреса: {items}",
"Mail to the list is passed on to every recipient, on this server or anywhere else. Paste several at once if you like. Changes apply when you save.": "Почта в список пересылается каждому получателю — на этом сервере или любом другом. Можно вставить сразу несколько. Изменения применяются при сохранении.",
"Mail to this address stops being passed on. The recipients' own mail is untouched.": "Почта на этот адрес больше не пересылается. Собственная почта получателей не затрагивается.",
"Delete list…": "Удалить список…",
"Delete list": "Удалить список",
"Mail to this address is no longer passed on to anyone. It can't be undone.": "Почта на этот адрес больше никому не пересылается. Это нельзя отменить.",
"Addresses that pass mail on to everyone on them.": "Адреса, которые пересылают почту всем, кто в них состоит.",
"Search mailing lists": "Поиск списков рассылки",
"No mailing lists match": "Нет подходящих списков рассылки",
"No mailing lists yet": "Списков рассылки пока нет",
"Your organisation has reached the number of mailing lists it is allowed.": "Ваша организация достигла допустимого числа списков рассылки.",
"This mailing list no longer exists. Someone may have deleted it.": "Этого списка рассылки больше нет. Возможно, его кто-то удалил.",
"The server did not say whether the list was created.": "Сервер не сообщил, создан ли список.",
"User": "Пользователь",
"Administrator": "Администратор",
"Custom role": "Особая роль",
@@ -1571,6 +1596,7 @@ export const catalog: Catalog = {
"{n} groups": { one: "{n} группа", few: "{n} группы", many: "{n} групп", other: "{n} группы" },
"Its {n} members are taken out of the group first, and lose what was shared with it. The group's own mail is removed in the background, and it can't be undone.": { one: "Сначала {n} участник убирается из группы и теряет то, чем с ней поделились. Почта группы удаляется в фоновом режиме, и это нельзя отменить.", few: "Сначала {n} участника убираются из группы и теряют то, чем с ней поделились. Почта группы удаляется в фоновом режиме, и это нельзя отменить.", many: "Сначала {n} участников убираются из группы и теряют то, чем с ней поделились. Почта группы удаляется в фоновом режиме, и это нельзя отменить.", other: "Сначала {n} участника убираются из группы и теряют то, чем с ней поделились. Почта группы удаляется в фоновом режиме, и это нельзя отменить." },
"{n} mailing lists": { one: "{n} список рассылки", few: "{n} списка рассылки", many: "{n} списков рассылки", other: "{n} списка рассылки" },
"{n} recipients": { one: "{n} получатель", few: "{n} получателя", many: "{n} получателей", other: "{n} получателя" },
"{n} DKIM keys": { one: "{n} ключ DKIM", few: "{n} ключа DKIM", many: "{n} ключей DKIM", other: "{n} ключа DKIM" },
"{n} other items": { one: "{n} другой объект", few: "{n} других объекта", many: "{n} других объектов", other: "{n} другого объекта" },
// ── Administration ────────────────────────────────────────────────