summaryrefslogtreecommitdiff
path: root/lib/rbot/load-gettext.rb
AgeCommit message (Collapse)Author
2008-04-16gettext: support anonymous modules (and thus plugins) with newer gettextGiuseppe Bilotta
While older ruby-gettext raised when trying to bind for anonymous modules (such as the ones that wrap rbot plugins), newer versions just provide an empty array. This makes the previous fix (which used rescue) ineffective. Solve by rescuing with [] (so that older gettext behaves like the new one) and then adding Object if the list is indeed empty.
2008-03-11gettext: undefine GetText if we failed to load properlyGiuseppe Bilotta
2008-03-11load-gettext.rb: accept ruby-gettext version of 1.8.0 and above, not just ↵Yaohan Chen
1.8.0-1.10.0
2007-09-12namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*Giuseppe Bilotta
2007-08-27GetText: add Config.datadir-based locale search path.Giuseppe Bilotta
This ensures that locale files are found regardless of rubygems being loaded or not
2007-08-26Output gettext textdomain information when setting the language, not when ↵Giuseppe Bilotta
loading the module
2007-08-26Cleaner gettext debug information reportingGiuseppe Bilotta
2007-07-23* display installed version when gettext version is unsupportedYaohan Chen
2007-07-18- added version check for ruby/gettext, too low or high versions will not be ↵Yaohan Chen
loaded and fallback is done - updated comments in load_gettext.rb - moved requires in relevant code sections
2007-07-14added a warning message if retrieving gettext info failsYaohan Chen
added Nn_ dummy replacement
2007-07-12* (gettext) make us somewhat less dependent on gettext internalsDmitry Kim
2007-07-12* (gettext) work around failing current_textdomain_info()Dmitry Kim
2007-07-09integrated ruby-gettextYaohan Chen
modified a few files to allow translated messages created gettext template file initialized gettext files for Japanese and Simplified Chinese