Limnoria/plugins
Daniel Folkinshteyn b12d8a8a04 Use the ircutils.standardSubsitute function upon factoid output.
This allows inclusion of the usual standardSubstitute vars within factoids.

There is no config to disable this, since it is possible to escape the substitutions
by simply doubling the dollar signs, as per the python documentation:
http://docs.python.org/library/string.html#template-strings

Thus, if you want a factoid to output a literal "$channel", for example, all
you'd need to do is use "$$channel" in your factoid text, which will come out
as "$channel" when said by the bot.

Also added tests for this new behavior.
2011-02-25 19:18:02 +01:00
..
Admin Merge branch 'i18n' into l10n-fr 2010-10-17 18:37:47 +02:00
Alias Fix translations 2011-01-08 13:35:43 +01:00
Anonymous Merge branch 'i18n' into l10n-fr 2010-10-26 09:32:34 +02:00
AutoMode Add checkCapabilityButIgnoreOwner converter 2011-01-27 19:32:43 +01:00
BadWords Update BadWord's .pot and fr.po 2011-01-29 11:52:14 +01:00
Channel Merge branch 'i18n' into l10n-fr 2010-10-25 17:57:11 +02:00
ChannelLogger Internationalize ChannelLogger and Config 2010-10-26 19:23:26 +02:00
ChannelStats Add the '<empty>' feature to nItems, and changed ChannelStats localization in order to use it as bug fixer 2010-10-28 15:18:06 +02:00
Conditional Import Conditional from gribble repo 2011-02-20 11:13:57 +01:00
Config Change website supybot-fr.tk -> supybot.fr.cr 2011-02-09 17:16:26 +01:00
Ctcp Fix Ctcp internationalization 2010-10-26 19:22:39 +02:00
Dict add a random-synonym getting function to Dict, add tests for it. 2011-02-25 18:36:17 +01:00
Dunno Localize Dict, Dunno, Factoids, Filter, and Format 2010-10-27 19:48:46 +02:00
Factoids Use the ircutils.standardSubsitute function upon factoid output. 2011-02-25 19:18:02 +01:00
Filter Fix bug with rainbow when message contains numeric characters #SF3140981 2011-01-22 09:59:19 +01:00
Format add replace function to format that takes varying-length strings to replace. 2011-02-25 18:49:39 +01:00
Games Fix @help monologue french translation 2010-12-23 19:56:23 +01:00
Google make google translate return detailed google error, instead of the unhelpful "we broke google". 2011-02-25 18:56:56 +01:00
Herald Localized Games, Google, Herald, Internet, Karma, and Lart into French 2010-10-28 15:44:01 +02:00
Internet Localized Games, Google, Herald, Internet, Karma, and Lart into French 2010-10-28 15:44:01 +02:00
Karma update Karma plugin and test code to use sqlite3. 2011-02-25 19:11:58 +01:00
Lart Localized Games, Google, Herald, Internet, Karma, and Lart into French 2010-10-28 15:44:01 +02:00
Later in Later nick validation, use irc.isNick. now instead of forcing strictRfc to true, we are using the config. 2011-02-25 18:56:40 +01:00
Limiter Localize Later, Limiter, and Math into French 2010-10-28 19:33:27 +02:00
Math Localize Later, Limiter, and Math into French 2010-10-28 19:33:27 +02:00
MessageParser Import MessageParser from gribble repo 2011-02-20 11:14:29 +01:00
Misc Fix translations 2011-01-08 13:35:43 +01:00
MoobotFactoids This merges an old branch i had for sqlite3 factoids+moobotfactoids. 2011-02-24 20:55:24 +01:00
Network Fix Network localization 2011-01-05 17:22:34 +01:00
News Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
NickCapture Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
Nickometer Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
Note Merge branch 'i18n' into l10n-fr 2010-10-31 11:31:53 +01:00
Owner Add @reloadlocale to Owner plugin 2010-11-19 17:10:47 +01:00
Plugin fix docstring for Plugin.plugin command so it actually says what the command will do. 2011-02-25 19:14:35 +01:00
Praise Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
Protector Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
Quote Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
QuoteGrabs update quotegrabs to sqlite3 2011-02-25 19:14:06 +01:00
Relay Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
Reply add replies function to reply plugin, which makes multiple replies, if supybot.reply.oneToOne is false. 2011-02-24 20:58:05 +01:00
RSS Add some sanity checks to RSS plugin: 2011-02-25 19:15:41 +01:00
Scheduler Scheduler: handle event persistence on plugin reload. 2011-02-20 10:43:02 +01:00
Seen Merge branch 'testing' into unit-tests 2011-01-22 10:29:22 +01:00
Services Services: add some more strings indicating identification success. 2011-01-29 11:36:48 +01:00
ShrinkUrl Localize Services, ShrinkUrl, Status, and String into French 2010-10-29 20:19:35 +02:00
Status Merge branch 'l10n-fr' into testing 2010-10-30 21:41:44 +02:00
String Fix @String decode utf8 issue 2011-01-26 08:30:20 +01:00
Success Localize Sucess, Time, Todo, Topic, Url, Unix, User, Utilities, and Web into French 2010-10-30 12:10:31 +02:00
Time Import Time plugin from Supybot-plugin repo 2011-01-22 09:54:53 +01:00
Todo Localize Sucess, Time, Todo, Topic, Url, Unix, User, Utilities, and Web into French 2010-10-30 12:10:31 +02:00
Topic topic now checks for +t mode before denying topic changes, and also allows halfops in addition to ops. 2011-02-25 18:53:11 +01:00
Unix Merge branch 'testing' into unit-tests 2011-01-22 10:29:22 +01:00
URL Localize Sucess, Time, Todo, Topic, Url, Unix, User, Utilities, and Web into French 2010-10-30 12:10:31 +02:00
User Localize Sucess, Time, Todo, Topic, Url, Unix, User, Utilities, and Web into French 2010-10-30 12:10:31 +02:00
Utilities Utilities: add countargs function, returns number of arguments supplied. 2011-02-20 11:30:50 +01:00
Web Merge branch 'l10n-fr' into testing 2010-10-30 12:11:29 +02:00
__init__.py This merges an old branch i had for sqlite3 factoids+moobotfactoids. 2011-02-24 20:55:24 +01:00