From eddd009cd885093cb79e085c3499bdd52882e8b8 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 26 Feb 2023 21:38:52 +0100 Subject: Small I18N changes --- lib/JWebmail/Plugin/I18N2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/JWebmail/Plugin/I18N2.pm') diff --git a/lib/JWebmail/Plugin/I18N2.pm b/lib/JWebmail/Plugin/I18N2.pm index 68dcc15..fa80282 100644 --- a/lib/JWebmail/Plugin/I18N2.pm +++ b/lib/JWebmail/Plugin/I18N2.pm @@ -57,7 +57,7 @@ sub register { my $translator = $conf->{translator} || sub { require JWebmail::Plugin::I18N2::Maketext; JWebmail::Plugin::I18N2::Maketext->new(@_) }; my $defaultLang = $conf->{default_language} || 'en'; - my $fileLocation = $conf->{directory}; # ? Mojo::File->new($conf->{directory}) : $app->home->child('lang'); + my $fileLocation = $conf->{directory}; my $t = $translator->( default_language => $defaultLang, -- cgit v1.2.3