Skip to content

Commit

Permalink
TOOLS: Add support for Polish in prince converter
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Apr 16, 2018
1 parent ea4eb9b commit 3b4c602
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion engines/prince/convert-ru.pl
Expand Up @@ -25,7 +25,7 @@
next;
}

if ($line > 4 and not defined $lang) {
if ($line >= 4 and not defined $lang) {
if (/Bpdbyz/) {
$lang = 'ru';
} elsif (/Excuse/) {
Expand Down Expand Up @@ -75,4 +75,10 @@
tr /QWERTYUIOPASDFGHJKLZXCVBNM\x82\x7f\x83\x81\x84/ЙЦУКЕНГШЩЗФЫВАПРОЛДЯЧСМИТЬЭХБЖЮ/;
print;
}

if ($lang eq 'pl') {
tr /\x9c\xea\xbf\xb3\x9f\xe6\xf1\xf3\xb9\xaf\x8c\xa3\xd1\xc6\xca/śężłźćń󹯌ŁŃĆĘ/;

print;
}
}

0 comments on commit 3b4c602

Please sign in to comment.