Add missing Finnish flag

And some unit tests to make all language have a matching flag icon
This commit is contained in:
Maxime Besson 2019-05-24 15:11:14 +02:00
parent 3750e9fd4d
commit c65e22dcf8
3 changed files with 11 additions and 0 deletions

View File

@ -105,6 +105,12 @@ ok( @unTr == 0,
'All "trspan" attribute translated' . ( @unTr ? " (@unTr)" : "" ) );
$count += 3;
# Check for flag icons
foreach my $lang (@langs) {
ok( -f "site/htdocs/static/logos/$lang.png", "Flag icon found for $lang" );
$count += 1;
}
done_testing($count);
sub getNodes {

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

View File

@ -86,4 +86,9 @@ ok( @unTr == 0,
'All "trspan" attribute translated' . ( @unTr ? " (@unTr)" : "" ) );
$count += 2;
foreach my $lang (@langs) {
ok( -f "site/htdocs/static/common/$lang.png", "Flag icon found for $lang" );
$count += 1;
}
done_testing($count);