Correct language file names on some places
This commit is contained in:
+2
-2
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user