]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Set GetText.cached = false so that mo files are reloaded when setting locale
authorYaohan Chen <yaohan.chen@gmail.com>
Mon, 23 Jun 2008 20:30:59 +0000 (16:30 -0400)
committerYaohan Chen <yaohan.chen@gmail.com>
Mon, 23 Jun 2008 20:33:38 +0000 (16:33 -0400)
lib/rbot/load-gettext.rb

index 22588c47d67f3f832b1b7cfb2d41e38deee39558..f2574af0cbe357a78a4e485d749ff7f20c6cb4e8 100644 (file)
@@ -24,6 +24,7 @@ begin
 
   add_default_locale_path(File.join(Irc::Bot::Config.datadir, "../locale/%{locale}/LC_MESSAGES/%{name}.mo"))
 
+  GetText.cached = false
   bindtextdomain 'rbot'
 
   module GetText