From eae7431ea9ee9d87634b3938b5cf8b64ebdbfb5a Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 25 Apr 2022 17:13:23 +0200 Subject: corrections for last commit - fixed tests - added links to languages in about - raised log level of actions in I18N2 - improved actions script - corrected dependencies in Makefile.PL - updated changes --- lib/JWebmail/Plugin/I18N2.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/JWebmail/Plugin/I18N2.pm') diff --git a/lib/JWebmail/Plugin/I18N2.pm b/lib/JWebmail/Plugin/I18N2.pm index 35367e9..c951eec 100644 --- a/lib/JWebmail/Plugin/I18N2.pm +++ b/lib/JWebmail/Plugin/I18N2.pm @@ -93,7 +93,7 @@ package JWebmail::Plugin::I18N2::Match { if (my $lang = $self->_i18n2_stash->{lang}) { @args = __add_option_no_override(lang => $lang, @args); } - return $self->SUPER::path_for(@args); + return $self->next::method(@args); } } @@ -118,7 +118,7 @@ sub register { { local $" = ','; - $i18n_log->debug("loaded languages (@{[$t->languages]})"); + $i18n_log->info("loaded languages (@{[$t->languages]})"); if (keys $conf->{languages}->%* > $t->languages) { $i18n_log->warn("missing languages"); @@ -137,7 +137,7 @@ sub register { my $res = $t->translate($lang, $word); unless ($res) { local $" = ' '; - $app->log->warn('[' . __PACKAGE__ . "] missing translation for '$lang':'$word' @{[ caller(1) ]}[0..2]"); + $app->log->warn('[' . __PACKAGE__ . "] missing translation for $lang:'$word' @{[ caller(1) ]}[0..2]"); } return $res; }); -- cgit v1.2.3