Commit c65e22dc authored by Maxime Besson's avatar Maxime Besson
Browse files

Add missing Finnish flag

And some unit tests to make all language have a matching flag icon
parent 3750e9fd
......@@ -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 {
......
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment