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:
1c23494
)
Mehrfache Leerzeichen in HTML-Vorlagen durch ein einzelnes ersetzen, bevor ein Text...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Nov 2006 10:02:24 +0000
(10:02 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Nov 2006 10:02:24 +0000
(10:02 +0000)
locale/de/locales.pl
patch
|
blob
|
history
diff --git
a/locale/de/locales.pl
b/locale/de/locales.pl
index
24adc4b
..
119dfe9
100755
(executable)
--- a/
locale/de/locales.pl
+++ b/
locale/de/locales.pl
@@
-477,7
+477,8
@@
sub scanhtmlfile {
if ($line =~ m|</translate>|i) {
$text .= $`;
substr($line, 0, $+[0]) = "";
-
+ $text =~ s/\s+/ /g;
+
$copying = 0;
if ($issubmit) {
# $submit{$text} = 1;
@@
-547,6
+548,7
@@
sub converthtmlfile {
if ($line =~ m|</translate>|i) {
$text .= $`;
substr($line, 0, $+[0]) = "";
+ $text =~ s/\s+/ /g;
$copying = 0;
$alllocales{$text} = 1;
$htmllocale{$text} = 1;