diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-09 12:09:35 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-09 12:09:35 +0000 |
commit | 9a3f36e41f247b942c3cfe496c4cb9f08f8d6c19 (patch) | |
tree | 7c8bde1a95b6d1ed708ff4b01476b9661aca4ea9 /engine | |
parent | 4285be51bdc8213d24d78b0261a52553d560685c (diff) | |
download | elgg-9a3f36e41f247b942c3cfe496c4cb9f08f8d6c19.tar.gz elgg-9a3f36e41f247b942c3cfe496c4cb9f08f8d6c19.tar.bz2 |
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
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/languages.php | 5 |
1 files changed, 3 insertions, 2 deletions
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; |