diff options
author | Mystery Man <unknown@mandriva.org> | 2002-07-09 13:18:50 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-07-09 13:18:50 +0000 |
commit | b6c80998f798afb98c5ebb42441c25668b31c93e (patch) | |
tree | 0a40adbce78a1b7ddee1ba637215ca857ffcae19 /perl-install/share/po/fake_c.pl | |
parent | a6a904a31e39b74144c53f0cc4086d496b70c09a (diff) | |
download | drakx-1_1_8_4mdk.tar drakx-1_1_8_4mdk.tar.gz drakx-1_1_8_4mdk.tar.bz2 drakx-1_1_8_4mdk.tar.xz drakx-1_1_8_4mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_4mdk'.V1_1_8_4mdk
Diffstat (limited to 'perl-install/share/po/fake_c.pl')
-rwxr-xr-x | perl-install/share/po/fake_c.pl | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/perl-install/share/po/fake_c.pl b/perl-install/share/po/fake_c.pl deleted file mode 100755 index 21cf25b04..000000000 --- a/perl-install/share/po/fake_c.pl +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/perl -lp - -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,(^|[^\$])#([^+].*),"$1/*" . simpl($2) . "*/",e; - # rewrite comments to C format except for: - # - ``#+ xxx'' comments which are kept - # - ``$#xxx'' which are not comments - -s|//|/""/|g; # ensure // or not understood as comments - -s|$|\\n\\|; # multi-line strings not handled in C - -sub simpl { - local $_ = $_[0]; - s,\*/,,g; - $_; -} |