summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Hecker <mail@apoc.cc>2020-04-06 20:19:15 +0200
committerMatthias Hecker <mail@apoc.cc>2020-04-06 20:19:15 +0200
commit263e939f1a8b8adf35afc33ab547dff8d4b97a4e (patch)
tree0816a4479a56c3969602e7c0578c72133be6956b /lib
parent63314f4987d7acc8a39a3680320e339cc94da66b (diff)
fix: gettext updated each_textdomain > each_text_domains
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/load-gettext.rb2
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}"