projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
findsub: Bindestriche in Übersetzung in Unterstriche umwandeln
[kivitendo-erp.git]
/
SL
/
Locale.pm
diff --git
a/SL/Locale.pm
b/SL/Locale.pm
index
1f0c9f3
..
e2d3744
100644
(file)
--- a/
SL/Locale.pm
+++ b/
SL/Locale.pm
@@
-241,7
+241,7
@@
sub findsub {
$original =~ s/_+/_/g;
$translation = lc $translation;
- $translation =~ s/
\s
+/_/g;
+ $translation =~ s/
[\s\-]
+/_/g;
$self->{texts_reverse}->{$translation} ||= [ ];
push @{ $self->{texts_reverse}->{$translation} }, $original;