From ac23cb3bc7c7fd50f5a0b02281f233e971b86d78 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 5 Feb 2007 15:38:26 +0000 Subject: [PATCH 1/1] =?utf8?q?Beim=20Umwandeln=20aus=20einer=20Rechnung=20?= =?utf8?q?in=20einen=20Auftrag=20etc=20die=20$locale=20neu=20anlegen=20und?= =?utf8?q?=20die=20neu=20ben=C3=B6tigten=20=C3=9Cbersetzungen=20laden.=20F?= =?utf8?q?ix=20f=C3=BCr=20Bug=20535.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/io.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 6987c7136..3732e77cb 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1180,6 +1180,10 @@ sub order { $form->{cp_id} *= 1; require "$form->{path}/$form->{script}"; + my $script = $form->{"script"}; + $script =~ s|.*/||; + $script =~ s|.pl$||; + $locale = new Locale($language, $script); map { $form->{"select$_"} = "" } ($form->{vc}, currency); -- 2.20.1