mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
a53eb5e0d2
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. |
||
---|---|---|
jsbot@ba70bf1b9d | ||
modules | ||
public | ||
views | ||
.gitignore | ||
.gitmodules | ||
config.json.sample | ||
install.sh | ||
LICENCE | ||
README.md | ||
run.js | ||
snippets.js | ||
strings.json | ||
VERSION |
Depressionbot IRC Bot
Introduction
Depressionbot is an IRC bot which aims to be the fanciest IRC bot around - On the general standard of software fanciness, dbot is statistically rated as being ‘82% the same as bathing in fine, fine grape juice.’
Please note that this documentation is not complete and is a work in progress, given I started it rather a long time after I began development of the project. Please don’t judge me too harshly for this as I am, in fact, mildly allergic to writing documentation.
Requirements:
- Node JS
- JSBot, a Javascript library which handles the IRC protocol
- Underscore JS library
- Various modules have their own requirements also.
External Modules
JSBot and externally developed modules can be imported by running the following commands in the cloned repository:
git submodule init
git submodule update