summaryrefslogtreecommitdiff
path: root/lib/rbot/language.rb
AgeCommit message (Collapse)Author
2009-02-26finnish localization for basic expressionsRaine Virta
2009-02-19remove whitespaceRaine Virta
2007-11-22language.rb: add '.UTF-8' to Lang2Locale values to make gettext use UTF-8 on ↵Yaohan Chen
WIN32
2007-09-12namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*Giuseppe Bilotta
2007-08-29Flatten out Language module and classGiuseppe Bilotta
2007-08-27Language.from_locale now checks if the corresponding .lang file exist before ↵Giuseppe Bilotta
returning a language string
2007-08-26Only use locale functions when GetText was loadedGiuseppe Bilotta
2007-08-26Use rbot's own warning() command instead of Ruby built-in warn()Giuseppe Bilotta
2007-08-26Output gettext textdomain information when setting the language, not when ↵Giuseppe Bilotta
loading the module
2007-08-26Sanitize language string by downcasing, and use the sanitized string both ↵Giuseppe Bilotta
for gettext locale and rbot language files. This allows language names such as 'traditional_chinese' to be input as 'Traditional Chinese'
2007-08-26Cleaner gettext debug information reportingGiuseppe Bilotta
2007-08-25Try to guess the default language from the locale guessed from GeTextGiuseppe Bilotta
2007-08-25gettext support: initial works for language -> locale mappingsGiuseppe Bilotta
2006-10-15Allow plugins to do things when the language is changed. Will be used e.g. ↵Giuseppe Bilotta
by lart to use language-specific lart files
2005-08-03Wed Aug 03 15:25:07 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Added french language file (TODO most of the plugins just talk english) * The way the Enum configs were set up, it wasn't possible to add language files to rbot at runtime (the directory was only scanned at startup). Now you can set a values Proc, which is called to return a list of allowed values whenever it's queried. * Added Config module for determining where we were installed. Unfortunately rubygems is a total whore in this regard, and I hope the current hackery I have to do to support it becomes redundant in the future.
2005-07-31Sun Jul 31 02:20:08 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Updated docgen to generate rdoc again with the new repo structure * added new restart command to the core bot, quits irc and reexecs the bot, to pick up new code/libraries etc.
2005-07-30Sat Jul 30 22:33:36 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* Config items are now objects, various types are available. * The config wizard will now use registered config items if :wizard is set to true for those items. It will ask questions in the order they were registered. * The config module now works for doing runtime configuration. * misc refactoring
2005-07-30Sat Jul 30 01:19:32 BST 2005 Tom Gilbert <tom@linuxbrit.co.uk>Tom Gilbert
* config module for configuring the running bot via IRC * BotConfig.register method for various modules and any plugin to register bot configuration which the new config module will expose for them. * various other tweaks as I continue to refactor..
2005-07-27more work on packaging, use Irc::Config module for storing configuration setTom Gilbert
by install.rb
2005-07-27rework various modules to use the installed directoriesTom Gilbert
2005-07-27move rbot into lib - still rearranging for packaging/installationTom Gilbert