i18n: sweep all remaining dynamic prose (oper commands, XLINE/FILTER/DNSBL notices, whois/vhost/knock/dcc/title/reputation/tline/rmode, hash, rename) through trf; +\xNN catalog escape; fr+es now 236 entries each

This commit is contained in:
Jean Chevronnet 2026-08-25 14:30:29 +00:00
parent ef96bcbd06
commit 9b51db07f5
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
32 changed files with 295 additions and 128 deletions

View file

@ -90,7 +90,8 @@ impl Module for BlockAmsg {
let notify_opers = matches!(action.as_str(), "killopers" | "noticeopers" | "zlineopers");
if notify_opers {
let mask = srv.users.get(&uid).map(|u| u.prefix()).unwrap_or_default();
srv.snotice(&format!("User {mask} had an /amsg or /ame blocked"));
let m = srv.trf("User {0} had an /amsg or /ame blocked", &[mask.as_str()]);
srv.snotice(&m);
}
let reason = "Attempted to global message (/amsg or /ame)";
match action.as_str() {