]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
removed hard coded lang in profile tabs
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 27 May 2010 09:45:31 +0000 (09:45 +0000)
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 27 May 2010 09:45:31 +0000 (09:45 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6244 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/profile/languages/en.php
mod/profile/views/default/profile/profile_navigation.php

index a2a586478bc470ae5b70ba4973d9a1ba18361c7a..df40854ffeff8de2fc4548e4fe19755df2783eb3 100644 (file)
@@ -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.",
index e4627d37a1bfda0a25872b5ff06a77673386dbfc..c7b30704647c6896b4ae209736aadb2fba8f2928 100755 (executable)
@@ -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){