aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOlivier Migeot <olivier+github@migeot.org>2013-11-28 12:24:37 +0100
committerOlivier Migeot <olivier+github@migeot.org>2013-11-28 12:24:37 +0100
commit2239d472e56c49c314af57af2090c1206500446c (patch)
tree7cab2892a04ce7a036a15b82cf049227b74eeffd /include
parent2d7d145ebb3ac1a3d9282095be6246f4afdd2afe (diff)
downloadvolse-hubzilla-2239d472e56c49c314af57af2090c1206500446c.tar.gz
volse-hubzilla-2239d472e56c49c314af57af2090c1206500446c.tar.bz2
volse-hubzilla-2239d472e56c49c314af57af2090c1206500446c.zip
Plurals for conversation.php
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>';
}