From f87ea51eee90b5b837e9770fa66d3910777dc161 Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 28 Nov 2018 10:05:19 +0100 Subject: [PATCH] Bug 21895: Fix path to POT file Signed-off-by: Mirko Tietgen --- misc/translator/LangInstaller.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.19.2