From e7c68e41e7076d32aa885dcee230bdd98bf1fbd7 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 30 Oct 2010 01:40:52 +0000 Subject: a little cleanup of upgrade view --- languages/en.php | 1 + views/default/tidypics/admin/upgrade.php | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/languages/en.php b/languages/en.php index 28a705590..0a8e31672 100644 --- a/languages/en.php +++ b/languages/en.php @@ -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:', diff --git a/views/default/tidypics/admin/upgrade.php b/views/default/tidypics/admin/upgrade.php index fd324b2d9..bb0a12467 100644 --- a/views/default/tidypics/admin/upgrade.php +++ b/views/default/tidypics/admin/upgrade.php @@ -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 '
'; -- cgit v1.2.3