From d3202751b84a3b31fca85f1357ef523e65c231e1 Mon Sep 17 00:00:00 2001 From: Teh PeGaSuS Date: Tue, 3 Mar 2026 13:21:29 +0100 Subject: [PATCH] Correct language file names on some places --- Chanban/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chanban/README.md b/Chanban/README.md index b1450a1..b7f144f 100644 --- a/Chanban/README.md +++ b/Chanban/README.md @@ -30,7 +30,7 @@ All configuration is done at the top of `cmgmt.tcl`. | Variable | Default | Description | |---|---|---| -| `locale` | `en` | Language to use. Must match a file in `cmgmt_langs/` (e.g. `en`, `pt_PT`, `it_IT`) | +| `locale` | `en` | Language to use. Must match a file in `cmgmt_langs/` (e.g. `en`, `pt`, `it`) | | `trigger` | `@` | Prefix for public commands | | `tBanDuration` | `30` | Duration of temporary bans, in minutes | | `upCommand` | `curl -s -F file=@- https://x0.at/` | Command used to upload the ban list. Must read from stdin | @@ -106,7 +106,7 @@ When enabled, the bot automatically mirrors IRC bans (`+b` modes) into its inter ## Language Support -The script uses Tcl's `msgcat` package for internationalisation. Language files are stored in `scripts/cmgmt_langs/` and named by locale (e.g. `en.msg`, `pt_PT.msg`, `it_IT.msg`). +The script uses Tcl's `msgcat` package for internationalisation. Language files are stored in `scripts/cmgmt_langs/` and named by locale (e.g. `en.msg`, `pt.msg`, `it.msg`). To change the language, set the `locale` variable in the configuration section to the desired locale code.