From: Julian Maurice Date: Wed, 28 Nov 2018 09:05:19 +0000 (+0100) Subject: Bug 21895: Fix path to POT file X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=d8531b8fcbfc8fe09540ddb940149a7d7dbb4fb9;hp=bd81f0418c14af82cdd9f4858c32b18d76a90b49;p=koha.git Bug 21895: Fix path to POT file Signed-off-by: Mirko Tietgen Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm index 333a148eba..55003af92e 100644 --- a/misc/translator/LangInstaller.pm +++ b/misc/translator/LangInstaller.pm @@ -484,7 +484,7 @@ sub locale_name { sub create_messages { my $self = shift; - my $pot = "$self->{domain}.pot"; + my $pot = "$Bin/$self->{domain}.pot"; my $po = "$self->{path_po}/$self->{lang}-messages.po"; unless ( -f $pot ) { @@ -503,7 +503,7 @@ sub create_messages { sub update_messages { my $self = shift; - my $pot = "$self->{domain}.pot"; + my $pot = "$Bin/$self->{domain}.pot"; my $po = "$self->{path_po}/$self->{lang}-messages.po"; unless ( -f $pot ) {