diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-01-21 21:40:29 -0500 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-01-21 21:40:29 -0500 |
commit | b368e0a1f9715c6360748e9107f47bb5b117f04b (patch) | |
tree | dfc3d91e4fad927c12ddb6fcedf5cacc32a402bb /include/text.php | |
parent | dff2cdc650cd3e0fc706640c01492fce2d9640f7 (diff) | |
parent | dcaef756e7f9531bc4d1353b04ff44736032ffda (diff) | |
download | volse-hubzilla-b368e0a1f9715c6360748e9107f47bb5b117f04b.tar.gz volse-hubzilla-b368e0a1f9715c6360748e9107f47bb5b117f04b.tar.bz2 volse-hubzilla-b368e0a1f9715c6360748e9107f47bb5b117f04b.zip |
Merge branch 'master' of https://github.com/redmatrix/hubzilla into activitystreams
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index 6f7297bb0..a03648081 100644 --- a/include/text.php +++ b/include/text.php @@ -812,7 +812,7 @@ function contact_block() { ); if(count($r)) { - $contacts = sprintf( tt('%d Connection','%d Connections', $total),$total); + $contacts = t('Connections'); $micropro = Array(); foreach($r as $rr) { $rr['archived'] = (intval($rr['abook_archived']) ? true : false); @@ -825,7 +825,7 @@ function contact_block() { $o = replace_macros($tpl, array( '$contacts' => $contacts, '$nickname' => $a->profile['channel_address'], - '$viewconnections' => t('View Connections'), + '$viewconnections' => (($total > $shown) ? sprintf(t('View all %s connections'),$total) : ''), '$micropro' => $micropro, )); |