From edee529de8e0b57342fd7f824c205ec4c37e3b5b 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 Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens (cherry picked from commit d8531b8fcbfc8fe09540ddb940149a7d7dbb4fb9) Signed-off-by: Martin Renvoize --- 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.39.5