summaryrefslogtreecommitdiff
path: root/lib/JWebmail/Plugin/I18N2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/JWebmail/Plugin/I18N2.pm')
-rw-r--r--lib/JWebmail/Plugin/I18N2.pm6
1 files changed, 3 insertions, 3 deletions
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;
});