### Replies for ban, mute, restriction and unban (R11 I4 to I7, beta decision D2 and Q10, ### docs/architecture.md sections 4.1 to 4.3), and the two messages of the routine behind ### docs/architecture.md section 4.3, its section 1, steps 2 and 3. Group replies are rendered ### in the group's language and private notices in the reader's (R11 I16). A reply never ### repeats the banned message or the written reason to the group (docs/architecture.md ### section 4.1, Notify). ## Ban ban-done = { $user } has been banned for { $duration }. # Bans without an end date: the fifth category (D2.10) and periods Telegram cannot carry (D2). ban-done-no-end = { $user } has been banned. The ban has no end date. ban-ends = The ban ends on { DATETIME($until, dateStyle: "medium", timeStyle: "short") }. ban-reason = Reason: { $reason }. ban-message-deleted = The message was deleted. # R11 F2 2.5: Telegram deletes only messages younger than 48 hours. ban-message-not-deleted = The message could not be deleted. Telegram allows deletion only within 48 hours. ban-failed = { $user } could not be banned. # Locked ban-across-groups decision (R11 I4): this group is the default. ban-scope-prompt = Where should the ban apply? ban-scope-this-group = This group ban-scope-all-groups = All my groups ban-done-groups = { $user } has been banned in { $count -> [one] one group *[other] { $count } groups }. ban-failed-groups = The ban failed in { $count -> [one] one group *[other] { $count } groups }. # The whole ban reply as one message (card 0085; src/bot/README.md section 7), in place of # ban-done, ban-ends, ban-reason and the deletion line as four messages. $result is done (an # ordinary ban: $duration and $until are passed), no-end (a ban without an end date, the # category among them) or failed; $has-reason is yes when $reason, a rendered reason-label, is # passed; $deleted is yes, no, or none when no deletion was requested. An optional value is # passed only when present and referenced only in the variant its flag selects (card 0084's # finding on DATETIME). The empty placeable { "" } at the end of a line keeps the line break in # front of the next line. ban-reply = { $result -> [failed] { ban-failed } [no-end] { ban-done-no-end } *[done] { ban-done } { ban-ends } }{ $has-reason -> [yes] { "" } { ban-reason } *[no] { "" } }{ $deleted -> [yes] { "" } { ban-message-deleted } [no] { "" } { ban-message-not-deleted } *[none] { "" } } ## Unban (R11 I5, only_if_banned) unban-done = { $user } has been unbanned and can join the group again. unban-not-banned = { $user } is not banned here. unban-failed = { $user } could not be unbanned. ## Mute (R11 I6) mute-done = { $user } has been muted for { $duration }. # RQ-017 A: the end date in the mute reply, as ban-ends above (src/bot/README.md section 7). mute-ends = The mute ends on { DATETIME($until, dateStyle: "medium", timeStyle: "short") }. mute-failed = { $user } could not be muted. unmute-done = { $user } can write again. unmute-failed = The mute on { $user } could not be lifted. ## Restriction presets (R11 I7) restriction-no-media = No media (text only) restriction-no-links = No links or previews restriction-no-stickers = No stickers, animations or inline bots restriction-no-polls = No polls restriction-label = { $preset -> [no-media] { restriction-no-media } [no-links] { restriction-no-links } [no-stickers] { restriction-no-stickers } *[no-polls] { restriction-no-polls } } restriction-done = { $user } is restricted for { $duration }: { $preset }. restriction-failed = { $user } could not be restricted. restriction-lifted = The restriction on { $user } has been lifted. restriction-lift-failed = The restriction on { $user } could not be lifted. ## Restriction presets as the permissions module names them (#28, card 0050; R11 I7) ## The same four presets as restriction-* above, named by src/permissions/restrictions.ts with the ## reference text of src/permissions/README.md section 10. Which vocabulary #27 shows is open; ## both exist until it is decided (card 0072). permissions-preset-text-only = Text only permissions-preset-no-link-previews = No link previews permissions-preset-no-stickers-animations-inline = No stickers, animations or inline bots permissions-preset-no-polls = No polls ## The fifth category (routine section 1, steps 2 and 3; docs/architecture.md section 4.3) # The question before a direct ban in the category (RQ-031 B: it asks first, as a move into it # does; card 0085). Shown with the confirmation buttons; $user is the person named. A move into # the category keeps its own question, reason-change-serious-question. serious-violation-question = You are banning { $user } with the reason "{ reason-serious-violation }". If you replied to a message, it is deleted and nothing of it is kept. The ban has no end date. Continue? # Shown only to the moderator who banned. Reporting links are an open question for Patrik. serious-violation-guidance = The message has been deleted and { $user } has been banned with the reason "{ reason-serious-violation }". Report the content in Telegram. If you choose, you can also report it to the police. Save nothing, take no screenshots and forward nothing. # Private message to the owner: group and time, no content and no names. serious-violation-owner-notice = A ban with the reason "{ reason-serious-violation }" was made in { $group } on { DATETIME($time, dateStyle: "medium", timeStyle: "short") }.