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

Jerome Charaoui jcharaoui at cmaisonneuve.qc.ca
Tue Jan 25 22:00:16 CET 2011


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


--------------010304050009070107090806--


More information about the Koha-patches mailing list