]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixed comment language for brief display of comments - made it easier to translate...
authorCash Costello <cash.costello@gmail.com>
Sat, 26 Jan 2013 15:33:51 +0000 (10:33 -0500)
committerCash Costello <cash.costello@gmail.com>
Sat, 26 Jan 2013 15:33:51 +0000 (10:33 -0500)
languages/en.php
views/default/annotation/generic_comment.php

index 78f37ab63409811bbde58793c40b3885cb0409df..353896047b1bb54585180553c7ea1ce950c60bd8 100644 (file)
@@ -1155,6 +1155,7 @@ If you requested this, click on the link below. Otherwise ignore this email.
        'generic_comment:failure' => "An unexpected error occurred when adding your comment.",
        'generic_comment:none' => 'No comments',
        'generic_comment:title' => 'Comment by %s',
+       'generic_comment:on' => '%s on %s',
 
        'generic_comment:email:subject' => 'You have a new comment!',
        'generic_comment:email:body' => "You have a new comment on your item \"%s\" from %s. It reads:
index 9891510e01e0b52a18db9de279167f68eff8ac1f..22a8d9211e65a1fd8d6510f6f5d24bbc969553ec 100644 (file)
@@ -55,13 +55,13 @@ HTML;
 
        //@todo need link to actual comment!
 
-       $on = elgg_echo('on');
+       $commented_on = elgg_echo('generic_comment:on', array($commenter_link, $entity_link));
 
        $excerpt = elgg_get_excerpt($comment->value, 80);
 
        $body = <<<HTML
 <span class="elgg-subtext">
-       $commenter_link $on $entity_link ($friendlytime): $excerpt
+       $commented_on ($friendlytime): $excerpt
 </span>
 HTML;