Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-14 | translator: don't show provider | Raine Virta | |
2010-09-23 | translator: stricter url mapping | Raine Virta | |
2010-09-23 | translator: url translation through google | Raine Virta | |
2010-08-13 | translator: support both pre-1.0 and post-1.0 Mechanize namespaces | Giuseppe Bilotta | |
2010-05-21 | translator: fix undefined variable | Yaohan Chen | |
Fix an error in commit 027b6965f5abf5d05a95 which causes @lang_list to be undefined but used in BabelFish. | |||
2010-05-21 | translator: connect to sites only when necessary | Yaohan Chen | |
Previously the translation services in the plugin would connect to their respective websites on initialize. Now they will only do this when the first time they are used. WorldLingo still connects on initialialize in order to list the supported language pairs, but the Mechanize object is not saved here, so the connection should be closed after initialize, and only reopened if translation by WorldLingo is requested later. Previously the services are assumed to fail if they raise any Exception in initialize, and in that case the service is disabled, and its command as well as the help translate [failed] commands state this. Now this exception catch is done for any do_translate method call. | |||
2010-04-16 | translator: additional help for google translate auto-detect failure | Raine Virta | |
When translate command is used without source language, "auto" as source language is assumed. It means that google translator is used and we let google figure out what the source language is. Problem is that the google translator will fail if the system that the bot is running on does not have the json gem installed. This commit addresses that problem by showing more informative error message instead of a weird "none of the translators supports auto to en translation". | |||
2010-04-16 | translator: show info about failed translators in help | Raine Virta | |
2010-04-16 | translator: decode html entities on google_translate | Raine Virta | |
2009-11-30 | When a translator fails to initialize, map its command to respond the reason | Yaohan Chen | |
2009-11-30 | Simplify support for using "auto" to detect source language | Yaohan Chen | |
When "auto" is used as source language, Google Translate detects the source language. However there is no need to hardcode Google Translate as the only translator supporting "auto". If another translator supports language detection, we can add "auto" to its supported source languages. If no translator in default_list supports translating from "auto", the existing code already responds with a message saying so. | |||
2009-11-30 | translator: use google's RESTful interface for google_translate | Raine Virta | |
2009-11-30 | translator: fix random bug caused by undefined variables | Raine Virta | |
2009-04-30 | translator: fix sentences not working with omitted language parameters | Raine Virta | |
2009-04-30 | translator: replace underscores with spaces when showing the translator | Raine Virta | |
Because "provided by google_translate" is ugly. | |||
2009-04-30 | remove fish.rb and map translate in translator.rb | Raine Virta | |
Translator plugin supports babelfish, and getting rid of this plugin allows us to use ´translate´ command for better purposes. | |||
2009-04-30 | translator: make source language optional | Raine Virta | |
In which case we use Google translate's source language auto-detection feature. | |||
2009-04-30 | translator: make destination language optional | Raine Virta | |
2009-02-19 | remove whitespace | Raine Virta | |
2009-02-17 | translator: fix BabelfishTranslator | Raine Virta | |
2009-02-17 | translator: fix NiftyTranslator | Raine Virta | |
2009-02-17 | translator: use *_with(:attribute => value) syntax to find elements | Raine Virta | |
The way objects are currently searched inside Mechanize objects is deprecated in WWW::Mechanize version 0.9.0, so we switch to the preferred syntax. | |||
2009-02-17 | translator: update GoogleTranslator for changes in their web interface | Raine Virta | |
2007-11-18 | translator.rb: improved help message from translators | Yaohan Chen | |
2007-11-14 | translator.rb: use "help <translator>" instead of "help translator ↵ | Yaohan Chen | |
<translator>" to show translator information | |||
2007-11-05 | translator.rb: display translation provider when it's chosen automatically | Yaohan Chen | |
2007-09-12 | namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::* | Giuseppe Bilotta | |
2007-09-11 | * (plugins/fish,translator) long-running actions made threaded to avoid blocking | Dmitry Kim | |
2007-09-11 | translator plugin: catch all exceptions when trying to initialize translators | Giuseppe Bilotta | |
The most significant exception that wasn't catched was LoadError, so that a failing require 'mechanize' would cause the whole plugin from failing to load, instead of just disabling the translators depending on WWW::Mechanize | |||
2007-08-15 | + translator.rb: added 'translator' command which automatically picks a ↵ | Yaohan Chen | |
translator for given language pair | |||
2007-08-11 | * translator.rb: use Irc::Utils.bot | Yaohan Chen | |
2007-08-11 | translator.rb: | Yaohan Chen | |
+ added WorldLingo translator + display translator information in help messages * refactoring of error handling code * updated messages | |||
2007-08-10 | * (plugins/translator) fixed a diagnostic message | Dmitry Kim | |
2007-08-10 | * translator.rb: corrected naming of BabelfishTranslator#do_translate method | Yaohan Chen | |
2007-08-10 | + added a translator plugin | Yaohan Chen | |
* updated messages |