diff options
author | friendica <info@friendica.com> | 2013-11-28 03:36:20 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-28 03:36:20 -0800 |
commit | e7c7ddd10a293e0bd3fd55e53fe12e4e6f3202f2 (patch) | |
tree | 7cab2892a04ce7a036a15b82cf049227b74eeffd /include | |
parent | 2d7d145ebb3ac1a3d9282095be6246f4afdd2afe (diff) | |
parent | 2239d472e56c49c314af57af2090c1206500446c (diff) | |
download | volse-hubzilla-e7c7ddd10a293e0bd3fd55e53fe12e4e6f3202f2.tar.gz volse-hubzilla-e7c7ddd10a293e0bd3fd55e53fe12e4e6f3202f2.tar.bz2 volse-hubzilla-e7c7ddd10a293e0bd3fd55e53fe12e4e6f3202f2.zip |
Merge pull request #217 from omigeot/master
Plurals for conversation.php
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 6 |
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>'; } |