[Koha-patches] [PATCH] Bug 5506 Fix installation of prefs translations in standard installs

Frédéric Demians f.demians at tamil.fr
Tue Jan 25 22:35:27 CET 2011


From: Jerome Charaoui <jcharaoui at cmaisonneuve.qc.ca>

[3.2] Should be applied

Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
---
 misc/translator/LangInstaller.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm
index 010b4a7..6b525e7 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;
 }
-- 
1.7.3.2



More information about the Koha-patches mailing list