aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-07-06 17:54:59 +0200
committerSem <sembrestels@riseup.net>2012-07-06 17:54:59 +0200
commit6ec315502a02fe12636d2c945ca63bdd4b2d7d02 (patch)
treeaf431ed58185b5fe89236502f790f339651acb4d
parentb2f46500941a2093734e7672a4de79aabd95b9fc (diff)
downloadelgg-6ec315502a02fe12636d2c945ca63bdd4b2d7d02.tar.gz
elgg-6ec315502a02fe12636d2c945ca63bdd4b2d7d02.tar.bz2
Fixes #4635. Added 'back' translation for external pages.
-rw-r--r--languages/en.php1
-rw-r--r--mod/externalpages/views/default/expages/wrapper.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/languages/en.php b/languages/en.php
index 7cd091115..18d0c88d9 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -875,6 +875,7 @@ $english = array(
'down' => 'Down',
'top' => 'Top',
'bottom' => 'Bottom',
+ 'back' => 'Back',
'invite' => "Invite",
diff --git a/mod/externalpages/views/default/expages/wrapper.php b/mod/externalpages/views/default/expages/wrapper.php
index 8eb0b2f84..c579da1ba 100644
--- a/mod/externalpages/views/default/expages/wrapper.php
+++ b/mod/externalpages/views/default/expages/wrapper.php
@@ -9,7 +9,7 @@ echo $vars['content'];
echo '<div class="mtm">';
echo elgg_view('output/url', array(
- 'text' => 'Back',
+ 'text' => elgg_echo('back'),
'href' => $_SERVER['HTTP_REFERER'],
'class' => 'float-alt'
));