]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
a little cleanup of upgrade view
authorCash Costello <cash.costello@gmail.com>
Sat, 30 Oct 2010 01:40:52 +0000 (01:40 +0000)
committerCash Costello <cash.costello@gmail.com>
Sat, 30 Oct 2010 01:40:52 +0000 (01:40 +0000)
languages/en.php
views/default/tidypics/admin/upgrade.php

index 28a705590509d511419163f9fc3ce145967bb3c0..0a8e3167221433b0cb7cb87b8157c402f2f27f55 100644 (file)
@@ -49,6 +49,7 @@ $english = array(
                        'tidypics:administration' => 'Tidypics Administration',
                        'tidypics:stats' => 'Stats',
                        'tidypics:nophotosingroup' => 'This groups does not have any photos yet',
+                        'tidypics:upgrade' => 'Upgrade',
 
                        'flickr:setup' => 'Flickr Setup',
                        'flickr:usernamesetup' => 'Please enter your Flickr username here:',
index fd324b2d9a9902c8cbfe239fb92d475e68b6c465..bb0a12467207c492d468442d1e5cf6c293226e36 100644 (file)
@@ -26,7 +26,10 @@ if ($local_version == $version) {
        return TRUE;
 }
 
-echo elgg_view('output/url', array(    'text' => 'Upgrade',
-                                                                       'href' => $upgrade_url,
-                                                                       'is_action' => TRUE));
+echo elgg_view('output/url', array(
+    'text' => elgg_echo('tidypics:upgrade'),
+    'href' => $upgrade_url,
+    'is_action' => TRUE)
+);
+
 echo '<br />';