Bug 5506 Fix installation of prefs translations in standard installs
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Tue, 25 Jan 2011 21:35:27 +0000 (22:35 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 26 Jan 2011 06:58:00 +0000 (19:58 +1300)
[3.2] Should be applied

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
misc/translator/LangInstaller.pm

index 010b4a7..6b525e7 100644 (file)
@@ -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;
 }