From 7292a4c130fe250da0f95bd6c93a579ebd7eb2d8 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 2 Feb 2010 16:25:36 +0100 Subject: [PATCH] =?utf8?q?Fehler=20in=20Funktionsnamensaufl=C3=B6sung=20be?= =?utf8?q?i=20=C3=9Cbersetzungen=20mit=20Leerzeichen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Locale.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/Locale.pm b/SL/Locale.pm index 5c800837e..754d69cf2 100644 --- a/SL/Locale.pm +++ b/SL/Locale.pm @@ -240,6 +240,7 @@ sub findsub { $original =~ s/_+/_/g; $translation = lc $translation; + $translation =~ s/\s+/_/g; $self->{texts_reverse}->{$translation} ||= [ ]; push @{ $self->{texts_reverse}->{$translation} }, $original; -- 2.20.1