Commit Graph

33 Commits

Author SHA1 Message Date
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
Sam Nicholls
532b1daaa6 Restrict version command to admin 2013-02-11 16:36:01 +00:00
Jessica T
a8e8120a5c realityìri oel pamrel soli fì'ur mipa upxare leNa'vi 2013-01-29 14:47:37 +00:00
reality
d3c3c2a5c1 pushconfig command [#189] 2013-01-27 20:26:14 +00:00
reality
74d8fd9f94 getConfig now figures out value, appropriate changes for [#189] 2013-01-27 17:53:50 +00:00
reality
045ff8b9f8 status command and some basic error storing in module load [#198] 2013-01-23 22:32:17 +00:00
reality
2f2356f2fd Add dependency info [#187] 2013-01-21 20:50:23 +00:00
reality
2f05cba960 set some config options not allowed to be changes [#145] 2013-01-21 00:10:01 +00:00
reality
c4301c2ec3 correct userconfigpath 2013-01-20 17:02:00 +00:00
reality
a80f00038d showconfig and setconfig for root config options [#145] 2013-01-20 16:35:17 +00:00
reality
fedb9335a2 showconfig command [#145] 2013-01-20 16:17:22 +00:00
reality
2607ce1e93 create getcurrentconfigpath for use by other commands 2013-01-20 15:49:31 +00:00
reality
f64c50a0c8 setconfig command [#145] 2013-01-20 15:17:44 +00:00
reality
1bd1b5aa56 remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
reality
4b69aee3e9 Transformed admin [#131] 2013-01-14 16:56:34 +00:00
reality
e2cb5ea77d Underscorise users module (was not pleasant) [#81] 2013-01-13 15:26:44 +00:00
reality
abaa1e7fa2 underscorise admin.js [#81] 2013-01-12 17:36:59 +00:00
reality
39cab9c60d Disallow loading modules more than once, with a nice tribute to @samstudio8 if you try to load web [#116] 2013-01-12 17:10:48 +00:00
reality
f8d4896eb6 Moderator + admin access level for commands [#124]
* May now add property 'access' to commands specifying 'moderator' or 'admin' level access
* Add 'moderators' key to config
* Convert commands in admin module to use command marshalling listener rather than its own
2013-01-12 09:38:13 +00:00
Sam Nicholls
ddc538b6a0 Report version after greload callbacks complete 2013-01-05 22:20:09 +00:00
Sam Nicholls
7caa659017 version command [Close #96] 2013-01-05 22:04:59 +00:00
reality
b50f4d25b8 greload updates submodules [#100] 2013-01-04 16:13:45 +00:00
reality
1ab1ff5319 Help links added to config [#89] 2012-12-30 20:30:49 +00:00
reality
1746a9c7b8 Module documentation for Admin module [#75]
* Also removed lock functionality from quotes and admin modules.
2012-12-30 17:26:04 +00:00
reality
49c7e045af Complete strings.json usage in admin module [#88] 2012-12-30 16:41:10 +00:00
Luke Slater
d0c47d18eb Moved all data loaded from config to be used only from dbot.config. Changed admin key in to admins to avoid clash with admin module config. Admins should probably be a key under dbot.admin module anyway. 2012-12-17 17:18:31 +00:00
Luke Slater
c64e66da17 Module specific config. Allows specify dbKeys to ensure default objects there for use. 2012-12-12 18:07:08 +00:00
Luke Slater
19c3497f11 reload default strings in updateModules 2012-12-11 20:47:50 +00:00
Luke Slater
f72e29398f fixed module unloading 2012-12-11 20:27:18 +00:00
Luke Slater
1f2c7fa835 added try/catch for no usage/string info, moved module load error back to default stringspace 2012-12-11 20:23:31 +00:00
Luke Slater
3a58f6b8b1 moved strings for command 2012-12-11 16:26:29 +00:00
Luke Slater
b622d7a239 give all modules their own folders. overhauled admin strings 2012-12-11 16:18:27 +00:00
Luke Slater
b2ea634d8c Move all the modules to their own directories 2012-12-11 16:04:52 +00:00