diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2004-02-06 17:55:03 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2004-02-06 17:55:03 +0000 |
commit | 1ea8be041531c62819431fa4e822b372a7dfce9f (patch) | |
tree | caf5928a55f30a49212619da741a632f5b01099d /po/fake_c.pl | |
parent | 51ac2415505bc7399731b04d89054d28dd288356 (diff) | |
download | mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.tar mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.tar.gz mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.tar.bz2 mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.tar.xz mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.zip |
updated pot file (now build with xgettext)
Diffstat (limited to 'po/fake_c.pl')
-rwxr-xr-x | po/fake_c.pl | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/po/fake_c.pl b/po/fake_c.pl deleted file mode 100755 index 847d73ae..00000000 --- a/po/fake_c.pl +++ /dev/null @@ -1,24 +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 - -s|\\@|@|; - -sub simpl { - local $_ = $_[0]; - s,\*/,,g; - $_; -} |