nyuszika7h
de61bb6b93
Google: Add translate command (needs testing)
...
https://github.com/myano/jenni/blob/master/modules/translate.py
is where I got the idea from. Say thanks to sbp and yano too! :)
2012-08-31 16:52:58 +02:00
Valentin Lorentz
30f711b12f
Google: Prevent flooding when no matches are found.
2012-08-26 07:37:40 +00:00
Terje Hoås
e1adc011c3
Google: Stop output when there are no result.
2012-08-17 17:16:26 +02:00
Valentin Lorentz
45bf9db03c
Merge branch 'py3k-backport' into testing
...
This branch provides support of Python 3 via 2to3 (without dropping
Python 2 support).
2012-08-08 21:46:29 +02:00
Valentin Lorentz
978a702346
Google: Use 'json' module and apply .decode() on data.
2012-08-04 19:50:30 +02:00
Mika Suomalainen
8b89014d10
Google: update l10n-fi.
2012-08-04 15:48:12 +03:00
Valentin Lorentz
ef78c86974
Add configuration variable supybot.reply.format.url.
2012-07-31 13:12:33 +00:00
Valentin Lorentz
d5f3e1844f
Google: Add supybot.plugins.Google.oneToOne.
2012-07-30 14:57:52 +00:00
Valentin Lorentz
ea21c7aff5
Google: Fix l10n-fr
2012-07-29 13:40:03 +00:00
Valentin Lorentz
1bf8ab11c0
Google & Network & PluginDownloader & RSS & ShrinkUrl & Topic & Unix: Update l10n-fr.
2012-07-29 12:05:42 +02:00
Valentin Lorentz
e4a1352e0a
Google & PluginDownloader & ShrinkUrl & Topic: Update messages.pot
2012-07-29 11:56:52 +02:00
Terje Hoås
e19ff328b6
Google: Fix currency conversions.
2012-07-13 19:05:21 +02:00
Valentin Lorentz
4692f831d4
Google: Fix HTML escaping.
2012-05-11 18:07:50 +02:00
Valentin Lorentz
5edd174e38
Google: Remove @translate from tests.
2012-05-11 18:07:39 +02:00
nyuszika7h
d23757e8fa
Google: Remove translate command. Closes GH-337.
2012-05-05 20:45:01 +02:00
Valentin Lorentz
207f6ec2da
Google: Fix bad json format.
2012-05-02 15:36:34 +00:00
skizzhg
aedfc07762
Update l10n-it.
2012-03-16 18:28:05 +01:00
Mika Suomalainen
63bc155750
Google: update l10n-fi.
2012-03-15 20:48:51 +08:00
Valentin Lorentz
808ed5cd9b
Update l10n-fr.
2012-03-15 13:44:43 +01:00
Valentin Lorentz
46a890417a
Update all plugin .pot files.
2012-03-11 21:06:19 +00:00
Terje Hoås
a1ab4b7ba0
Google: Fix UnicodeEncodeError in Calc.
2012-03-08 14:24:58 +01:00
Valentin Lorentz
72077c8c97
Google: fix previous cherry-pick.
2011-12-13 18:10:20 +01:00
Daniel Folkinshteyn
b991c8679b
Google: use web scraping as fallback to ig api
...
ig api doesn't have everything (for one, timezones),
and also, in case the IG api ever dies.
Conflicts:
plugins/Google/plugin.py
2011-12-13 18:10:15 +01:00
Daniel Folkinshteyn
e1ffe0f4e3
Google: use google ig api for the calc. no more web scraping. let's hope this stays alive.
...
Conflicts:
plugins/Google/plugin.py
2011-12-13 18:10:09 +01:00
Valentin Lorentz
cf8126223b
Google: Apply gholms's patch to fix @calc match.
2011-11-09 10:04:53 +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
cdb54322a7
Google: Add Finnish translation.
2011-06-21 18:24:01 +02:00
Valentin Lorentz
8595c177dd
Google: fix @calc
2011-03-07 18:20:10 +01:00
Valentin Lorentz
0d7e3d3759
(Re)generate all plugin's .pot file
2011-02-26 10:40:50 +01:00
Daniel Folkinshteyn
8e80e7b657
fix google calc to work when doing a currency conversion.
...
made the calcre more generic, so it finds stuff on both math and currency.
nothing a little exploration of google html page source couldn't solve.
2011-02-25 19:24:04 +01:00
Daniel Folkinshteyn
bf6f0e2d18
make google translate return detailed google error, instead of the unhelpful "we broke google".
2011-02-25 18:56:56 +01:00
Daniel Folkinshteyn
8d45228642
for google translate, error if destination language is 'auto'.
2011-02-25 18:56:50 +01:00
Daniel Folkinshteyn
bdc8fd5285
fix some encoding error for non-ascii langs
2011-02-25 18:36:00 +01:00
Daniel Folkinshteyn
ca045128d7
add detected source language display for 'auto' google translate, add test for auto translate.
2011-02-25 18:35:53 +01:00
Daniel Folkinshteyn
6b324674a7
enable google translate to autodetect language with 'auto' fromlang.
2011-02-25 18:35:44 +01:00
Valentin Lorentz
2d265f9d82
Google: update translation
2011-02-14 18:35:53 +01:00
Daniel Folkinshteyn
a6b9d5fe5f
Google: fix encoding bug in lucky --snippet; need to pass encoded string to utils.web.htmlToText
2011-02-14 18:27:40 +01:00
Daniel Folkinshteyn
614e6c3f43
Google: in lucky --snippet, properly convert html to text, using utils.web.htmlToText.
2011-02-14 18:27:26 +01:00
Daniel Folkinshteyn
33c6eabf82
Google: add --snippet option to lucky command, which shows the text snippet for the page.
2011-02-14 18:26:50 +01:00
Daniel Folkinshteyn
7c7b093b33
Google: add some extra matching capability to google calc
...
now should be able to display any 'special' result from google.
2011-01-29 11:39:59 +01:00
Valentin Lorentz
2d1917c9a0
Localized Games, Google, Herald, Internet, Karma, and Lart into French
2010-10-28 15:44:01 +02:00
Valentin Lorentz
9917232d9a
Internationalize Filter, Format, Games, and Google
2010-10-17 14:50:31 +02:00
James Vega
c9274606ce
Google: Remove Groups snarfer
...
The regular expressions were woefully out of date and since there's not a
stable API (or any for that matter), keeping things working is a losing
battle.
Closes: Sf#3057485
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-08 22:20:23 -04:00
Daniel Folkinshteyn
abf6df9e13
fix google calc to work when doing a currency conversion.
...
made the calcre more generic, so it finds stuff on both math and currency.
nothing a little exploration of google html page source couldn't solve.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 432228c736
)
2010-08-24 19:50:47 -04:00
James Vega
afb4e1e07f
Use 0 when no results are returned for Google.fight
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 3689460d0f
)
2010-08-24 19:40:54 -04:00
James Vega
2b0b74dfe0
Google: Keep the list of supported languages in one place.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 461f943d97
)
2010-08-24 19:01:00 -04:00
Ricky Zhou
4eb30069bf
Try using simplejson instead if json-py is installed.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 416a6e8dd2
)
2010-08-24 19:00:14 -04:00
James Vega
d7dee482ca
Google: Ensure we don't try to use the 3rd party json module.
...
json-py provides a different interface than simplejson (renamed json when
included with Python2.6). As such, we test for the different interface and
raise an error when we encounter it.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-19 00:55:17 -04:00
James Vega
d8297dfd3f
Google: Modify our local simplejson to work pre-Python2.6
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-31 07:50:41 -04:00