summaryrefslogtreecommitdiff
path: root/lib/rbot/load-gettext.rb
AgeCommit message (Collapse)Author
2008-06-23Set GetText.cached = false so that mo files are reloaded when setting localeYaohan Chen
2008-06-17* load-gettext: warn() -> warning()dmitry kim
2008-06-07recommit 33c336af346dc08b4f4f4951dd6eae7150cef481 po file per pluginYaohan Chen
each plugin uses its own po file, no change required for plugin source, Rakefile, plugin loader and gettext loader are modified to adjust to the change
2008-06-06Revert "each plugin uses its own po file"Yaohan Chen
This reverts commit 33c336af346dc08b4f4f4951dd6eae7150cef481.
2008-06-05each plugin uses its own po fileYaohan Chen
no modification in plugin source is needed, plugin loader is modified to automatically bind to the plugin's text domain updatepo task is modified to maintain per-plugin po file po files are updated and cleaned
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