Correct language file names on some places

This commit is contained in:
Teh PeGaSuS
2026-03-03 13:21:29 +01:00
parent d152990382
commit d3202751b8
+2 -2
View File
@@ -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.