diff options
author | Matthias Hecker <mail@apoc.cc> | 2020-04-06 20:19:15 +0200 |
---|---|---|
committer | Matthias Hecker <mail@apoc.cc> | 2020-04-06 20:19:15 +0200 |
commit | 263e939f1a8b8adf35afc33ab547dff8d4b97a4e (patch) | |
tree | 0816a4479a56c3969602e7c0578c72133be6956b /lib | |
parent | 63314f4987d7acc8a39a3680320e339cc94da66b (diff) |
fix: gettext updated each_textdomain > each_text_domains
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/load-gettext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/load-gettext.rb b/lib/rbot/load-gettext.rb index 252e1e34..6377b882 100644 --- a/lib/rbot/load-gettext.rb +++ b/lib/rbot/load-gettext.rb @@ -101,7 +101,7 @@ end opts = {:with_messages => false, :with_paths => false, :out => STDOUT}.merge(options) ret = nil # this is for 2.1.0 - TextDomainManager.each_textdomains(self) {|textdomain, lang| + TextDomainManager.each_text_domains(self) {|textdomain, lang| opts[:out].puts "TextDomain name: #{textdomain.name.inspect}" opts[:out].puts "TextDomain current locale: #{lang.to_s.inspect}" opts[:out].puts "TextDomain current mo path: #{textdomain.instance_variable_get(:@locale_path).current_path(lang).inspect}" |