3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-28 21:52:38 +01:00
dbot/modules/ignore
Douglas Gardner a53eb5e0d2 begin transition from English to ISO-639 with #234
This patch converts all English language strings used within
depressionbot's localisation interface (that is, strings.json) to their
ISO-639-1 equivalents.

The purpose of this patch is to make the strings.json file less
English-dependent.

All languages with an ISO-639-1 code have been converted; that is,
English, Spanish and Welsh, to ``en``, ``es`` and ``cy`` respectively.

This patch does not attempt to force a solution to the issue of Na'vi:
the language does not have a large enough corpus to warrant its own ISO
639-3 code, and as such there is no perfect solution. For the time
being, this patch keeps the Na'vi language as its English language
string ("Na'vi"). A possible solution to this discrepancy includes using
the ISO 639-3 code ``art``, used for artificial languages that do not
qualify for an official code, or by using local use codes specified
in ISO 639-3 (qaa to qtz).

This patch requires collaboration with upstream repositories that also
use strings.json, such as the Github and Stats modules.
2013-02-12 18:39:15 +00:00
..
config.json Add dependency info [#187] 2013-01-21 20:50:23 +00:00
ignore.js syntax fix 2013-01-27 19:45:56 +00:00
README.md Documentation for the Ignore module [#75] 2012-12-30 17:44:51 +00:00
strings.json begin transition from English to ISO-639 with #234 2013-02-12 18:39:15 +00:00

Ignore

Ignore modules.

Description

Commands with which users can choose to ignore listeners and commands from certain modules persistently, by storing their choices in the database. This is an interface for the JSBot ignoreTag functionality which actually implements the ignoration.

Configuration

All modules may return with them an ignorable property, which defines whether or not their functionality may be ignored by users.

Commands

~ignore [module]

Ignore a given module. If the user does not specify a module, or provides an invalid one a list of modules which are available to ignore will be given.

~unignore [module]

Unignore a previously ignored module. If the user does not specify a module, or provides an invalid choice a list of modules which are currently ignored will be given.