dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add fr (French) language fallback for br, nrm, oc
[lhc/web/wiklou.git]
/
languages
/
classes
/
LanguageFi.php
diff --git
a/languages/classes/LanguageFi.php
b/languages/classes/LanguageFi.php
index
bf09252
..
54ff421
100644
(file)
--- a/
languages/classes/LanguageFi.php
+++ b/
languages/classes/LanguageFi.php
@@
-73,7
+73,6
@@
class LanguageFi extends Language {
break;
case 'illative':
# Double the last letter and add 'n'
break;
case 'illative':
# Double the last letter and add 'n'
- # mb_substr has a compatibility function in GlobalFunctions.php
$word = $word . mb_substr( $word, -1 ) . 'n';
break;
case 'inessive':
$word = $word . mb_substr( $word, -1 ) . 'n';
break;
case 'inessive':
@@
-85,10
+84,11
@@
class LanguageFi extends Language {
/**
* @param string $str
/**
* @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
*/
* @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',
/*
'ago', 'now', 'today', 'this', 'next',
'first', 'third', 'fourth', 'fifth', 'sixth', 'seventh', 'eighth', 'ninth',
@@
-102,7
+102,7
@@
class LanguageFi extends Language {
'jul:heinäkuu,aug:elokuu,sep:syyskuu,oct:lokakuu,nov:marraskuu,' .
dec:joulukuu,sept:syyskuu';
*/
'jul:heinäkuu,aug:elokuu,sep:syyskuu,oct:lokakuu,nov:marraskuu,' .
dec:joulukuu,sept:syyskuu';
*/
- $weekds =
array(
+ $weekds =
[
'monday' => 'maanantai',
'tuesday' => 'tiistai',
'wednesday' => 'keskiviikko',
'monday' => 'maanantai',
'tuesday' => 'tiistai',
'wednesday' => 'keskiviikko',
@@
-146,7
+146,7
@@
class LanguageFi extends Language {
'year' => 'vuosi',
'infinite' => 'ikuisesti',
'indefinite' => 'ikuisesti'
'year' => 'vuosi',
'infinite' => 'ikuisesti',
'indefinite' => 'ikuisesti'
-
)
;
+
]
;
$final = '';
$tokens = explode( ' ', $str );
$final = '';
$tokens = explode( ' ', $str );