>From 0c48e2c1c43c8e1dfdbc18ed9debd1d2b5b6e905 Mon Sep 17 00:00:00 2001
From: Jerome Charaoui <[email protected]>
Date: Tue, 25 Jan 2011 16:00:16 -0500
Subject: [PATCH] Bug 5506 Fix installation of prefs translations in standard installs

---
 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.1

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to