aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 09:45:31 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 09:45:31 +0000
commiteb92e452d5d1493c657a1ccda53e083348427e32 (patch)
treea6714764c0f208133937c77c1056e7d9353a1d6f
parentdcece443e979dc97b1a6e4c40fbba39d5531a47e (diff)
downloadelgg-eb92e452d5d1493c657a1ccda53e083348427e32.tar.gz
elgg-eb92e452d5d1493c657a1ccda53e083348427e32.tar.bz2
removed hard coded lang in profile tabs
git-svn-id: http://code.elgg.org/elgg/trunk@6244 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/profile/languages/en.php1
-rwxr-xr-xmod/profile/views/default/profile/profile_navigation.php8
2 files changed, 5 insertions, 4 deletions
diff --git a/mod/profile/languages/en.php b/mod/profile/languages/en.php
index a2a586478..df40854ff 100644
--- a/mod/profile/languages/en.php
+++ b/mod/profile/languages/en.php
@@ -77,6 +77,7 @@ $english = array(
* Profile comment wall
**/
'profile:commentwall:add' => "Add to the wall",
+ 'profile:commentwall' => "Comment Wall",
'profile:commentwall:posted' => "You successfully posted on the comment wall.",
'profile:commentwall:deleted' => "You successfully deleted the message.",
'profile:commentwall:blank' => "Sorry; you need to actually put something in the message area before we can save it.",
diff --git a/mod/profile/views/default/profile/profile_navigation.php b/mod/profile/views/default/profile/profile_navigation.php
index e4627d37a..c7b307046 100755
--- a/mod/profile/views/default/profile/profile_navigation.php
+++ b/mod/profile/views/default/profile/profile_navigation.php
@@ -39,10 +39,10 @@ switch($section){
<div class="elgg_horizontal_tabbed_nav profile">
<div class="profile_name"><h2><?php echo $profile->name; ?></h2></div>
<ul>
- <li <?php echo $activity; ?>><a href="<?php echo $url; ?>">Activity</a></li>
- <li <?php echo $details; ?>><a href="<?php echo $url . 'details'; ?>">Details</a></li>
- <li <?php echo $friends; ?>><a href="<?php echo $url . 'friends'; ?>">Friends</a></li>
- <li <?php echo $commentwall; ?>><a href="<?php echo $url . 'commentwall'; ?>">Comment Wall</a></li>
+ <li <?php echo $activity; ?>><a href="<?php echo $url; ?>"><?php echo elgg_echo('activity'); ?></a></li>
+ <li <?php echo $details; ?>><a href="<?php echo $url . 'details'; ?>"><?php echo elgg_echo('Details'); ?></a></li>
+ <li <?php echo $friends; ?>><a href="<?php echo $url . 'friends'; ?>"><?php echo elgg_echo('friends'); ?></a></li>
+ <li <?php echo $commentwall; ?>><a href="<?php echo $url . 'commentwall'; ?>"><?php echo elgg_echo('profile:commentwall'); ?></a></li>
<?php
//check to see if the twitter username is set
if($vars['entity']->twitter){