Prepare for translations with different visualisations.
<(common.inc.plp)><:
-my $wordlist = 'wordlist.inc.pl';
+my $wordlist = 'wordlist.eng.inc.pl';
Html({
title => 'words cheat sheet',
version => '1.0',
</p>
<:
-my %table = do 'wordlist.inc.pl' or die $@ // $!;
+my $table = do $wordlist or die $@ // $!;
sub showimg {
my ($name) = @_;
my $alt = $name;
$name = "<q>$name</q>" if $name =~ s/\?$//;
- if ($img and -e ($img = "data/word/$img.jpg")) {
+ if ($img and -e ($img = "data/word/eng/$img.jpg")) {
my $alt = -l $img && readlink($img) =~ s/\.jpg$//r;
if ($alt) {
$name .= " ($alt)";