diff options
author | Francois Pons <fpons@mandriva.com> | 2003-03-05 17:43:48 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-03-05 17:43:48 +0000 |
commit | da78545292d7228694b922d58ad42fd9290583bb (patch) | |
tree | ef3256e19531fa81cfffe7171e2c35e7d5a528c6 | |
parent | 3e1dd843eac8e8a3f1a06b78fbbb30300b493d7b (diff) | |
download | urpmi-da78545292d7228694b922d58ad42fd9290583bb.tar urpmi-da78545292d7228694b922d58ad42fd9290583bb.tar.gz urpmi-da78545292d7228694b922d58ad42fd9290583bb.tar.bz2 urpmi-da78545292d7228694b922d58ad42fd9290583bb.tar.xz urpmi-da78545292d7228694b922d58ad42fd9290583bb.zip |
fixed translation to C as almost 2000 lines of urpm.pm are not examined !
-rwxr-xr-x | po/fake_c.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/po/fake_c.pl b/po/fake_c.pl index 21cf25b0..c456c7f1 100755 --- a/po/fake_c.pl +++ b/po/fake_c.pl @@ -4,9 +4,10 @@ s|^(__?\()| $1|; # add a blank at the beginning (?!) s|_\(\[(.*),\s*(.*),\s*(.*)\]|ngettext($2,$3,$1)|; # special plural form handling -s,\Qs/#.*//,,; # ugly special case +s,\Ws/#.*//,,; # ugly special case -s,(^|[^\$])#([^+].*),"$1/*" . simpl($2) . "*/",e; +s,\$#\w+,,; # $#xxx are removed +s,#([^+].*),"$1/*" . simpl($2) . "*/",e; # rewrite comments to C format except for: # - ``#+ xxx'' comments which are kept # - ``$#xxx'' which are not comments |