aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 13:20:50 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-13 13:20:50 +0000
commit08a473e779555cc2bc543e2754261d76b9a0df77 (patch)
treef0a6af32db6ec61157586ac81311c14c351c8d3a /mod
parentef5c47e15604ccd993ed50d466e25f5442c1017f (diff)
downloadelgg-08a473e779555cc2bc543e2754261d76b9a0df77.tar.gz
elgg-08a473e779555cc2bc543e2754261d76b9a0df77.tar.bz2
Language updates to river dashboard
git-svn-id: https://code.elgg.org/elgg/trunk@2739 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/riverdashboard/languages/en.php12
-rw-r--r--mod/riverdashboard/views/default/riverdashboard/nav.php6
2 files changed, 15 insertions, 3 deletions
diff --git a/mod/riverdashboard/languages/en.php b/mod/riverdashboard/languages/en.php
new file mode 100644
index 000000000..3a9a64ce7
--- /dev/null
+++ b/mod/riverdashboard/languages/en.php
@@ -0,0 +1,12 @@
+<?php
+
+ $english = array(
+
+ 'mine' => 'Mine',
+ 'filter' => 'Filter',
+
+ );
+
+ add_translation("en",$english);
+
+?> \ No newline at end of file
diff --git a/mod/riverdashboard/views/default/riverdashboard/nav.php b/mod/riverdashboard/views/default/riverdashboard/nav.php
index 6692d2bd0..56b232da0 100644
--- a/mod/riverdashboard/views/default/riverdashboard/nav.php
+++ b/mod/riverdashboard/views/default/riverdashboard/nav.php
@@ -28,9 +28,9 @@
<div class="riverdashboard_navigation">
<div class="riverdashboard_tabs">
<p>
- <a <?php echo $allselect; ?> href="?type=<?php echo $vars['type']; ?>&content=<?php echo $vars['subtype']; ?>">All</a>
- <a <?php echo $friendsselect; ?> href="?type=<?php echo $vars['type']; ?>&display=friends&content=<?php echo $vars['subtype']; ?>">Friends</a>
- <a <?php echo $mineselect; ?> href="?type=<?php echo $vars['type']; ?>&display=mine&content=<?php echo $vars['subtype']; ?>">Mine</a>
+ <a <?php echo $allselect; ?> href="?type=<?php echo $vars['type']; ?>&content=<?php echo $vars['subtype']; ?>"><?php echo elgg_echo('all'); ?></a>
+ <a <?php echo $friendsselect; ?> href="?type=<?php echo $vars['type']; ?>&display=friends&content=<?php echo $vars['subtype']; ?>"><?php echo elgg_echo('friends'); ?></a>
+ <a <?php echo $mineselect; ?> href="?type=<?php echo $vars['type']; ?>&display=mine&content=<?php echo $vars['subtype']; ?>"><?php echo elgg_echo('mine'); ?></a>
</p>
</div>