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:
parent
ef96bcbd06
commit
9b51db07f5
32 changed files with 295 additions and 128 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue