Mika Suomalainen
f74c6bf8b9
Factoids: update l10n-fi.
...
check_trans.py gave errrors, but now it doesn't seem to be giving them anymore.
2012-04-27 14:45:37 +03:00
Mika Suomalainen
83cd0dfc77
Factoids: fix l10n-fi.
2012-04-25 20:07:03 +03:00
Valentin Lorentz
bd6ff971c9
Factoids & Format & Praise: fix l10n-fi and l10n-it.
2012-04-19 21:31:21 +02:00
skizzhg
aedfc07762
Update l10n-it.
2012-03-16 18:28:05 +01:00
skizzhg
7e88bb1ce3
Update l10n-it for many plugins.
2011-08-07 11:16:04 +02:00
skizzhg
e37e292484
Channel & Factoids & Google & MessageParser & MoobotFactoids & Services & Topic & User: Add/update l10n-it.
2011-07-22 01:36:07 +02:00
Mika Suomalainen
435ed3196c
Factoids: added ln18n-fi.
2011-07-21 19:19:57 +03:00
Mika Suomalainen
e38d00cfc1
Factoids: 51% completed ln18-fi
2011-07-21 12:43:19 +03:00
Mika Suomalainen
d3788feecb
Factoids: updated incompleted Translation.
2011-07-20 16:20:18 +03:00
Mika Suomalainen
020034dd5c
Merge remote-tracking branch 'progval/testing' into testing
2011-07-20 10:48:20 +03:00
Mika Suomalainen
1e3bb247c0
Factoids: added partial l18n-fi
2011-07-20 10:48:08 +03:00
Valentin Lorentz
083815c6f7
Factoids: Fix typo.
2011-07-18 15:23:06 +02:00
Mika Suomalainen
225a2fa250
Factoids: Removed games fi.po from translation; Anonymous: updated ln18-fi
2011-07-16 22:26:24 +03:00
Mika Suomalainen
e76c36236b
Factoids: improved README
2011-07-08 00:54:12 +03:00
Mika Suomalainen
92b28a1a1c
Dict: updated Finnish translation
2011-07-02 12:07:15 +03:00
Valentin Lorentz
49e14f9a92
Conditional & Dict & Factoids & MessageParser: remove redundant spaces, update i18n and l10n-fr
2011-06-28 19:43:21 +02:00
Mika Suomalainen
15d9d0fe6c
Factoids: Add finnish translation
2011-06-11 19:05:26 +02:00
Valentin Lorentz
2791955209
Factoids: fix merge problem (duplicated wrap()-ing). Thanks kini fore the report
2011-04-09 15:24:52 +02:00
Valentin Lorentz
e687061cae
Factoids: update l10n-fr
2011-02-26 10:45:42 +01:00
Valentin Lorentz
f7899c7627
Factoids: fix merge
2011-02-26 10:45:29 +01:00
Valentin Lorentz
0d7e3d3759
(Re)generate all plugin's .pot file
2011-02-26 10:40:50 +01:00
Daniel Folkinshteyn
dfeb50de2d
Add --raw option to factoids.whatis, which disables variable substitution on the factoid.
...
also add test for this.
2011-02-25 19:18:50 +01:00
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
Daniel Folkinshteyn
8ed94257ba
some enhancements Factoids.rank:
...
output options: plain key output, and alpha sorting for plain output.
allow an optional argument for how many ranked facts to show.
2011-02-25 19:16:48 +01:00
Daniel Folkinshteyn
d433bfc8f0
for Factoids: make approximate fuzzy key searches also when invoking whatis directly.
...
also add tests.
while there, remove useless config setting for replyinvalidcommand testing, since it is true by default.
2011-02-25 19:13:27 +01:00
Daniel Folkinshteyn
e46948400d
take out getDb override from factoids, since i have changed it upstream, in plugins.__init__.py, to use proper sqlite3 syntax.
2011-02-25 18:54:51 +01:00
Daniel Folkinshteyn
2d718d31bb
Fix factoids bug ,Factoids.showFactoidIfOnlyOneMatch feature is broken when used off-channel:
...
https://sourceforge.net/tracker/?func=detail&aid=2965589&group_id=58965&atid=489447
2011-02-25 18:48:56 +01:00
Daniel Folkinshteyn
b306c5440f
add damerau-levenshtein distance to supybot.utils.seq
...
use it in factoids invalid command to match possible typos
write tests for same.
2011-02-25 18:36:09 +01:00
Daniel Folkinshteyn
9b516480af
add tests for factoids.alias
2011-02-25 18:35:37 +01:00
Daniel Folkinshteyn
50ac5a05e1
delete leftover debug-prints
2011-02-25 18:35:30 +01:00
Daniel Folkinshteyn
366c2b7c17
add factoids alias function, to link more keys to existing factoids.
2011-02-25 18:35:17 +01:00
Daniel Folkinshteyn
436d2bade8
mod factoids plugin to use a separate key-value relationship table
...
this avoids duplication, and allows one to set a bunch of aliases for a factoid, without creating duplicates of the same fact content.
2011-02-25 18:33:40 +01:00
Daniel Folkinshteyn
471921eab6
make 'factoids info' include usage count in output. add test for same.
2011-02-24 21:03:30 +01:00
nanotube
e71ee8fbb1
don't give up too easily with invalid command, instead search factoid keys with wildcard first.
2011-02-24 21:02:39 +01:00
nanotube
b922890b6f
add rank test to factoids, update factoids test code to sqlite3
2011-02-24 21:01:19 +01:00
nanotube
5c0596f484
rename factrank to just rank for consistency
2011-02-24 21:01:08 +01:00
Daniel Folkinshteyn
f71464adb3
This merges an old branch i had for sqlite3 factoids+moobotfactoids.
...
fix up moobotfactoids+factoids to use the sqlite text_factory=str,
also fixed up a test for factoid search, since it now sorts keys alphabetically.
2011-02-24 20:55:24 +01:00
Daniel Folkinshteyn
c0ebdddb47
start factoid rankings from 1 not from 0
2011-02-24 20:09:00 +01:00
Daniel Folkinshteyn
34f8557cfd
remove rogue test-print
2011-02-24 20:06:35 +01:00
Daniel Folkinshteyn
7351ec1702
sort keys in factoid search output by alphabetically by key name.
2011-02-24 20:03:28 +01:00
Daniel Folkinshteyn
d2ac0e742a
implement factoid usage counter
2011-02-24 20:03:03 +01:00
Valentin Lorentz
3582286658
Fix Factoids
2011-01-02 09:31:07 +01:00
Valentin Lorentz
4d957e858e
Factoids: localize a string
2010-11-11 12:39:13 +01:00
Valentin Lorentz
9ca812c83d
Merge branch 'i18n' into l10n-fr
2010-11-11 12:38:32 +01:00
Valentin Lorentz
11f7033ee0
Factoids: Internationalize a config variable
2010-11-11 12:37:21 +01:00
Valentin Lorentz
9b67f670c2
Localize Dict, Dunno, Factoids, Filter, and Format
2010-10-27 19:48:46 +02:00
Valentin Lorentz
d14bb0cc16
Internationalize ChannelLogger, Ctcp, Dict, Dunno, Factoids
2010-10-17 11:22:07 +02:00
James Vega
fe07ea1146
Fix the previous Factoids fix.
...
channel needs to be part of the args list.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-04-11 11:04:45 -04:00
James Vega
209facd242
Factoids: Pass channel to whatis when being called from search
...
Thanks to Daniel Folkinshteyn for the fix.
Closes: Sf#2965589
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-04-11 10:36:55 -04:00
James Vega
10f5a12b7e
Factoids: Prevent empty key or value when adding a factoid.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-02-05 18:50:48 -05:00