/[webpac]/trunk/filter/lang_swish.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/filter/lang_swish.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 152 - (hide annotations)
Sun Nov 16 22:40:04 2003 UTC (16 years, 4 months ago) by dpavlin
File size: 370 byte(s)
new languages

1 dpavlin 26 #!/usr/bin/perl -w
2    
3     sub lang_swish {
4     my @out;
5     foreach my $v1 (@_) {
6     push @out,$v1; # save original
7 dpavlin 42 $v1 =~ s/(HRV|CRO)/Hrvatski/gi;
8     $v1 =~ s/GER/Njema√®ki/gi;
9     $v1 =~ s/ENG/Engleski/gi;
10 dpavlin 152 $v1 =~ s/ITA/Talijanski/gi;
11     $v1 =~ s/SLV/Slovenski/gi;
12     $v1 =~ s/RUS/Ruski/gi;
13     $v1 =~ s/FRE/Francuski/gi;
14 dpavlin 42 push @out,$v1; # save modified version
15 dpavlin 26 }
16     return @out;
17     }
18    
19     1;

Properties

Name Value
cvs2svn:cvs-rev 1.3
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26