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:
0a385d0
)
kleine verbesserungen
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 4 Jan 2008 16:23:39 +0000
(16:23 +0000)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 4 Jan 2008 16:23:39 +0000
(16:23 +0000)
scripts/pl2tmpl.pl
patch
|
blob
|
history
diff --git
a/scripts/pl2tmpl.pl
b/scripts/pl2tmpl.pl
index
bd4d4d5
..
b83e279
100755
(executable)
--- a/
scripts/pl2tmpl.pl
+++ b/
scripts/pl2tmpl.pl
@@
-12,4
+12,5
@@
#
s/\$form->\{(?:"([^}]+)"|([^}]+))\}/[% $+ %]/g;
-s/\| \s* \. \s* \$locale->text \( ' ([^)]+) ' \) \s* \. \s* qq\|/<translate>$1<\/translate>/xg;
+s/\| \s* \. \s* \$locale->text \( ' ([^']+) ' \) \s* \. \s* qq\|/<translate>$1<\/translate>/xg;
+s/\| \s* \. \s* \$locale->text \( " ([^"]+) " \) \s* \. \s* qq\|/<translate>$1<\/translate>/xg;