dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1404842
)
percentage shown with 2 decimals only
author
Antoine Musso
<hashar@users.mediawiki.org>
Mon, 26 Apr 2004 22:32:43 +0000
(22:32 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Mon, 26 Apr 2004 22:32:43 +0000
(22:32 +0000)
maintenance/DiffLanguage.php
patch
|
blob
|
history
diff --git
a/maintenance/DiffLanguage.php
b/maintenance/DiffLanguage.php
index
15ea5a4
..
4058208
100644
(file)
--- a/
maintenance/DiffLanguage.php
+++ b/
maintenance/DiffLanguage.php
@@
-113,5
+113,5
@@
foreach($wgAllMessagesEn as $index => $localized)
}
}
echo "----\n";
-echo "$lang language is complete at ".
(100 - $i/count($wgAllMessagesEn) * 100
)."%\n";
+echo "$lang language is complete at ".
number_format((100 - $i/count($wgAllMessagesEn) * 100),2
)."%\n";
echo "$i unlocalised message of the ".count($wgAllMessagesEn)." messages available.\n";