aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-28 16:13:35 -0800
committerfriendica <info@friendica.com>2013-11-28 16:13:35 -0800
commit13e73c005a9bb20b44cc5ef32646178b3b62f243 (patch)
treedaec7310ae6a5a0bb1c39670c2dc40772be86b9d /include
parentff91541cfd753f0318f13835763bd86c5eafac53 (diff)
parente7c7ddd10a293e0bd3fd55e53fe12e4e6f3202f2 (diff)
downloadvolse-hubzilla-13e73c005a9bb20b44cc5ef32646178b3b62f243.tar.gz
volse-hubzilla-13e73c005a9bb20b44cc5ef32646178b3b62f243.tar.bz2
volse-hubzilla-13e73c005a9bb20b44cc5ef32646178b3b62f243.zip
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php
index a2eeda25b..e20fef9f6 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -993,9 +993,9 @@ function format_like($cnt,$arr,$type,$id) {
else {
$spanatts = 'class="fakelink" onclick="openClose(\'' . $type . 'list-' . $id . '\');"';
$o .= (($type === 'like') ?
- sprintf( t('<span %1$s>%2$d people</span> like this.'), $spanatts, $cnt)
+ sprintf( tt('<span %1$s>%2$d people</span> like this.','<span %1$s>%2$d people</span> like this.',$cnt), $spanatts, $cnt)
:
- sprintf( t('<span %1$s>%2$d people</span> don\'t like this.'), $spanatts, $cnt) );
+ sprintf( tt('<span %1$s>%2$d people</span> don\'t like this.','<span %1$s>%2$d people</span> don\'t like this.',$cnt), $spanatts, $cnt) );
$o .= EOL ;
$total = count($arr);
if($total >= MAX_LIKERS)
@@ -1004,7 +1004,7 @@ function format_like($cnt,$arr,$type,$id) {
$arr[count($arr)-1] = t('and') . ' ' . $arr[count($arr)-1];
$str = implode(', ', $arr);
if($total >= MAX_LIKERS)
- $str .= sprintf( t(', and %d other people'), $total - MAX_LIKERS );
+ $str .= sprintf( tt(', and %d other people',', and %d other people',$total - MAX_LIKERS), $total - MAX_LIKERS );
$str = (($type === 'like') ? sprintf( t('%s like this.'), $str) : sprintf( t('%s don\'t like this.'), $str));
$o .= "\t" . '<div id="' . $type . 'list-' . $id . '" style="display: none;" >' . $str . '</div>';
}