From 9a3f36e41f247b942c3cfe496c4cb9f08f8d6c19 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 9 Sep 2008 12:09:35 +0000 Subject: Minor tweak: Only shows percentage on things less than 100% complete git-svn-id: https://code.elgg.org/elgg/trunk@2067 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/languages.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engine/lib') diff --git a/engine/lib/languages.php b/engine/lib/languages.php index 353e9fc35..a2317f30d 100644 --- a/engine/lib/languages.php +++ b/engine/lib/languages.php @@ -108,8 +108,9 @@ { $installed[$k] = elgg_echo($k, $k); - if ((isadminloggedin()) && ($k!='en')) - $installed[$k] .= " (" . get_language_completeness($k) . "% " . elgg_echo('complete') . ")"; + $completeness = get_language_completeness($k); + if ((isadminloggedin()) && ($completeness<100))//&& ($k!='en')) + $installed[$k] .= " (" . $completeness . "% " . elgg_echo('complete') . ")"; } return $installed; -- cgit v1.2.3