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:
a507676
)
Die Funktion strip_base darf nur auf einer Kopie des Strings arbeiten, nicht aber...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 18 Jan 2008 09:22:48 +0000
(09:22 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 18 Jan 2008 09:22:48 +0000
(09:22 +0000)
locale/de/locales.pl
patch
|
blob
|
history
diff --git
a/locale/de/locales.pl
b/locale/de/locales.pl
index
da86e02
..
d876ddc
100755
(executable)
--- a/
locale/de/locales.pl
+++ b/
locale/de/locales.pl
@@
-640,8
+640,10
@@
sub search_translated_htmlfiles_wo_master {
}
sub strip_base {
- $_[0] =~ s|^../../||;
- $_[0] =~ s|templates/webpages/||;
+ my $s = "$_[0]"; # Create a copy of the string.
- return $_[0];
+ $s =~ s|^../../||;
+ $s =~ s|templates/webpages/||;
+
+ return $s;
}