3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00
Commit Graph

89 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
reality
c79c595ee7 Remove object prototype extensions in master [#135] 2013-02-12 18:34:36 +00:00
reality
b9ad35b21f fix syntax 2013-01-29 15:05:34 +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
a5cede8c92 remove timers.js [#170] 2013-01-27 20:52:11 +00:00
reality
aeea3fc269 Quotes rm stuff no longer uses timers.js [#170] 2013-01-27 20:33:27 +00:00
reality
4555e12eaa Fix quote interpol + no need to pass event [#230][#156] 2013-01-26 20:08:09 +00:00
reality
c77cb09f87 syntax error in quotes conf 2013-01-23 16:24:52 +00:00
reality
b12259643a sometimes i think i might be retarded 2013-01-23 16:12:08 +00:00
reality
2f2356f2fd Add dependency info [#187] 2013-01-21 20:50:23 +00:00
reality
4e248ef248 add readme for users 2013-01-15 21:43:09 +00:00
reality
921da917a4 Command hooks [#86]
* Command API function to addHook(command, callback)
* Commands open to callbacks must return information or indicate failed completion by return false
* Hooks to be added in module onLoad
* Command loop checks for available hooks and return state, then applies with module scope.
* onLoad running moved to end of all module loading to facilitate this without order problems
* Added example for ~qadd dent
2013-01-15 17:23:14 +00:00
reality
1bd1b5aa56 remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
reality
fbb60306d5 fix binding bug 2013-01-15 15:32:44 +00:00
reality
a591071b1a qhoops! 2013-01-15 14:51:07 +00:00
reality
a9bae98ae8 transform quotes [#131] 2013-01-15 14:47:46 +00:00
reality
ba2ab323e3 Do the [#133] 2013-01-14 13:10:16 +00:00
reality
08bd67f4f0 incomplete underscorisation in quotes [#81] 2013-01-12 21:40:16 +00:00
reality
0f39a227f2 -nicks- now picks random nick from channel [#105] 2013-01-12 11:39:17 +00:00
reality
6b903407ed Used access parameter on all elevated access commadns I can think of [#124] 2013-01-12 09:49:41 +00:00
Daniel Evans
f91fc99d35 Merge branch 'master' of git://github.com/reality/depressionbot into weboverhaul
Conflicts:
	modules/quotes/quotes.js
	modules/users/users.js
	run.js
2013-01-04 20:15:12 +00:00
reality
49528bb434 Made a getQuote API function [#98] 2013-01-03 21:27:06 +00:00
reality
1ab1ff5319 Help links added to config [#89] 2012-12-30 20:30:49 +00:00
reality
11cfa5d40c realityonce now just emits event. removed a lot of useless shit from there too 2012-12-30 19:24:10 +00:00
reality
ae902e3c21 Consolidate puns and quotes modules [#90] 2012-12-30 18:53:20 +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
8bd9f93632 add readme files for command and quotes [#75] 2012-12-29 23:05:16 +00:00
Daniel Evans
e544c909ec Modularised web routes and views 2012-12-24 05:51:19 +00:00
Luke Slater
1ff6c5c3c2 Update modules/quotes/quotes.js
Fix not found output
2012-12-20 13:27:56 +01:00
reality
950ba882b8 Changed quote spam protection model [#72] 2012-12-19 21:03:03 +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
96312303f0 web config data now taken from dbot web config 2012-12-12 18:36:12 +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
65414f6975 OH THE SHAME. THE SHAME OF IT ALL. 2012-12-11 21:01:37 +00:00
Luke Slater
cae8a1fc7d loaded strings and usage from the modules themselves in reloadModules. some other smaller changes. fixed the syntax of the usage json. careful though this dbot init may delete your database. 2012-12-11 20:06:29 +00:00
Luke Slater
cd56a8a197 Added usage.json files for all modules 2012-12-11 16:53:34 +00:00
Luke Slater
dfdcb0d359 moved quotes strings. removed qprune because it is not needed anymore 2012-12-11 16:42:06 +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