X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=languages%2Fclasses%2FLanguageFi.php;h=ee1d1b52c4a0d1c45b9b5c497ada4a409d527124;hb=31ba2b8d32249cc2be16a2575816df5b2016f874;hp=1865cc5ce1e948f2f3a6ee7a08eed078583d0f8c;hpb=37048169d892e175c0a77a11f870713a347ff38a;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/classes/LanguageFi.php b/languages/classes/LanguageFi.php index 1865cc5ce1..ee1d1b52c4 100644 --- a/languages/classes/LanguageFi.php +++ b/languages/classes/LanguageFi.php @@ -53,12 +53,14 @@ class LanguageFi extends Language { # The general case cannot be handled without a dictionary, but there's at least one notable # special case we should check for: - if ( preg_match( '/wiki$/i', $word ) ) + if ( preg_match( '/wiki$/i', $word ) ) { $aou = false; + } # append i after final consonant - if ( preg_match( '/[bcdfghjklmnpqrstvwxz]$/i', $word ) ) + if ( preg_match( '/[bcdfghjklmnpqrstvwxz]$/i', $word ) ) { $word .= 'i'; + } switch ( $case ) { case 'genitive': @@ -102,7 +104,7 @@ class LanguageFi extends Language { 'monday' => 'maanantai', 'tuesday' => 'tiistai', 'wednesday' => 'keskiviikko', - 'thursay' => 'torstai', + 'thursday' => 'torstai', 'friday' => 'perjantai', 'saturday' => 'lauantai', 'sunday' => 'sunnuntai',