diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-20 23:33:49 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-20 23:33:49 +0000 |
commit | 6e86c4a4722c6d0f9395d967092112934bc43b57 (patch) | |
tree | c8a4757d70489aee0341389eff6eb10aa40fc4a4 /grpmi/po/fake_c.pl | |
parent | 431227efbf05672acb642c91b163ed3a85553684 (diff) | |
download | rpmdrake-6e86c4a4722c6d0f9395d967092112934bc43b57.tar rpmdrake-6e86c4a4722c6d0f9395d967092112934bc43b57.tar.gz rpmdrake-6e86c4a4722c6d0f9395d967092112934bc43b57.tar.bz2 rpmdrake-6e86c4a4722c6d0f9395d967092112934bc43b57.tar.xz rpmdrake-6e86c4a4722c6d0f9395d967092112934bc43b57.zip |
use perl_checker rather than fake_c to generate pot,
seems like fake_c is missing some strings since some
time :(
i don't msgmerge from the pot file of rpmdrake for 9.0
because it seems to make some rightful translations
fuzzy, and for some translations such as de.po who kept
the missing strings as "other", it's worse, so translators
should open the new po, try msgmerge by hand with the po
from the SRPM of the 9.0 and see if it's better for
them.. much sorry for all this additional work :(
Diffstat (limited to 'grpmi/po/fake_c.pl')
-rwxr-xr-x | grpmi/po/fake_c.pl | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/grpmi/po/fake_c.pl b/grpmi/po/fake_c.pl deleted file mode 100755 index 21cf25b0..00000000 --- a/grpmi/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; - $_; -} |