projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2508bbb
)
Fehler in Funktionsnamensauflösung bei Übersetzungen mit Leerzeichen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 2 Feb 2010 15:25:36 +0000
(16:25 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 20 Jul 2010 11:27:42 +0000
(13:27 +0200)
SL/Locale.pm
patch
|
blob
|
history
diff --git
a/SL/Locale.pm
b/SL/Locale.pm
index
5c80083
..
754d69c
100644
(file)
--- 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;