From 07c44ab9a8682f0d50ad1f796df9835b2e0f16f3 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Tue, 25 Jan 2011 22:35:27 +0100 Subject: [PATCH] Bug 5506 Fix installation of prefs translations in standard installs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit [3.2] Should be applied Signed-off-by: Frédéric Demians Signed-off-by: Chris Cormack (cherry picked from commit 1fc16ea5431eba97b7562a94e6493249d4e700f7) Signed-off-by: Chris Nighswonger --- misc/translator/LangInstaller.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm index 010b4a7348..6b525e7821 100644 --- a/misc/translator/LangInstaller.pm +++ b/misc/translator/LangInstaller.pm @@ -86,7 +86,7 @@ sub po_filename { my $self = shift; my $context = C4::Context->new; - my $trans_path = $context->config('intranetdir') . '/misc/translator/po'; + my $trans_path = $Bin . '/po'; my $trans_file = "$trans_path/" . $self->{lang} . "-pref.po"; return $trans_file; } -- 2.39.5