diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/JWebmail/I18N/de.pm | 8 | ||||
-rw-r--r-- | lib/JWebmail/Plugin/I18N2.pm | 2 | ||||
-rw-r--r-- | lib/JWebmail/Plugin/I18N2/Maketext.pm | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/JWebmail/I18N/de.pm b/lib/JWebmail/I18N/de.pm index 1b364fb..725244b 100644 --- a/lib/JWebmail/I18N/de.pm +++ b/lib/JWebmail/I18N/de.pm @@ -14,14 +14,14 @@ our %Lexicon = ( ## writemail # qw(subject send back) - 'send to' => 'senden an', - 'answer_to' => 'antworten gehen an', + 'send to' => 'Senden an', + 'answer_to' => 'Antworten an', 'content' => 'Inhalt', 'attach file' => 'Datei anhängen', ## readmail # qw(subject date size) - 'content-type' => 'inhaltsart', + 'content-type' => 'Inhalts-Art', 'back' => 'zurück', 'from' => 'von', 'to' => 'für', @@ -77,7 +77,7 @@ our %Lexicon = ( ## login 'login' => 'anmelden', - 'userid' => 'nuzerkennung', + 'userid' => 'nutzerkennung', 'password' => 'passwort', ## Controller 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, diff --git a/lib/JWebmail/Plugin/I18N2/Maketext.pm b/lib/JWebmail/Plugin/I18N2/Maketext.pm index a38bba7..ef3b08d 100644 --- a/lib/JWebmail/Plugin/I18N2/Maketext.pm +++ b/lib/JWebmail/Plugin/I18N2/Maketext.pm @@ -16,7 +16,7 @@ sub new { my $class = shift; my $conf = @_ == 1 ? shift : {@_}; - my $lexica = $conf->{directory} || [fileparse(__FILE__)]->[1] . '../I18N'; + my $lexica = $conf->{directory}; my @languages = keys %{$conf->{languages} // {}}; |