summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/fake_c.pl
blob: 21cf25b04c527b44928a3acba42dcfaeedf7cb09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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;
    $_;
}
t/drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.zip'>drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.zip
re-sync after the big svn loss
Diffstat (limited to 'perl-install/share/po/sl.po')
-rw-r--r--perl-install/share/po/sl.po24377
1 files changed, 1879 insertions, 22498 deletions
diff --git a/perl-install/share/po/sl.po b/perl-install/share/po/sl.po
index 3016d28bb..59ea05d8e 100644
--- a/perl-install/share/po/sl.po
+++ b/perl-install/share/po/sl.po