summaryrefslogtreecommitdiff
path: root/lib/JWebmail/Plugin/I18N2.pm
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-02-26 21:38:52 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-02-26 21:38:52 +0100
commiteddd009cd885093cb79e085c3499bdd52882e8b8 (patch)
tree588265e0533ad7ee5c072fd50bde4200c1eca18e /lib/JWebmail/Plugin/I18N2.pm
parent2abf462ca10c4ac8c4f815e608cad31851e966e3 (diff)
Small I18N changes
Diffstat (limited to 'lib/JWebmail/Plugin/I18N2.pm')
-rw-r--r--lib/JWebmail/Plugin/I18N2.pm2
1 files changed, 1 insertions, 1 deletions
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,