diff options
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 cd80801eb..000000000 --- a/perl-install/share/po/fake_c.pl +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/perl -lp - -s|^(N_?\()| $1|; # add a blank at the beginning (?!) - -s|N\(\[(.*),\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; - $_; -} |