From 263e939f1a8b8adf35afc33ab547dff8d4b97a4e Mon Sep 17 00:00:00 2001 From: Matthias Hecker Date: Mon, 6 Apr 2020 20:19:15 +0200 Subject: fix: gettext updated each_textdomain > each_text_domains --- lib/rbot/load-gettext.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3