aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-09 12:09:35 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-09-09 12:09:35 +0000
commit9a3f36e41f247b942c3cfe496c4cb9f08f8d6c19 (patch)
tree7c8bde1a95b6d1ed708ff4b01476b9661aca4ea9 /engine
parent4285be51bdc8213d24d78b0261a52553d560685c (diff)
downloadelgg-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.php5
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;