X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=languages%2Fclasses%2FLanguageFi.php;h=54ff421634619b1a12f3eeb5b1e54782f68768c4;hb=51615ecf47528d1011ce6fefb1544073a07bdebc;hp=2a19b54d035b8fcd3b353897fb3d101190166d82;hpb=5b48bf1b928333cec66203b23c1d2b02c7dea513;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/classes/LanguageFi.php b/languages/classes/LanguageFi.php index 2a19b54d03..54ff421634 100644 --- a/languages/classes/LanguageFi.php +++ b/languages/classes/LanguageFi.php @@ -84,10 +84,11 @@ class LanguageFi extends Language { /** * @param string $str - * @param bool $forContent + * @param User $user User object to use timezone from or null for $wgUser + * @param int $now Current timestamp, for formatting relative block durations * @return string */ - function translateBlockExpiry( $str, $forContent = false ) { + function translateBlockExpiry( $str, User $user = null, $now = 0 ) { /* 'ago', 'now', 'today', 'this', 'next', 'first', 'third', 'fourth', 'fifth', 'sixth', 'seventh', 'eighth', 'ninth',