Merge pull request #1474 from fabrixxm/silke-helptext
Connection approval help text, issue #1349, based on pull request #1463
This commit is contained in:
commit
ab5540e1f0
|
@ -177,15 +177,19 @@ function notifications_content(&$a) {
|
||||||
$dfrn_text = '';
|
$dfrn_text = '';
|
||||||
|
|
||||||
if($rr['network'] === NETWORK_DFRN || $rr['network'] === NETWORK_DIASPORA) {
|
if($rr['network'] === NETWORK_DFRN || $rr['network'] === NETWORK_DIASPORA) {
|
||||||
if($rr['network'] === NETWORK_DFRN)
|
if($rr['network'] === NETWORK_DFRN) {
|
||||||
$knowyou = t('Claims to be known to you: ') . (($rr['knowyou']) ? t('yes') : t('no'));
|
$knowyou = t('Claims to be known to you: ') . (($rr['knowyou']) ? t('yes') : t('no'));
|
||||||
else
|
$helptext = t('Shall your connection be bidirectional or not? "Friend" implies that you allow to read and you subscribe to their posts. "Fan/Admirer" means that you allow to read but you do not want to read theirs. Approve as: ');
|
||||||
|
} else {
|
||||||
$knowyou = '';
|
$knowyou = '';
|
||||||
|
$helptext = t('Shall your connection be bidirectional or not? "Friend" implies that you allow to read and you subscribe to their posts. "Sharer" means that you allow to read but you do not want to read theirs. Approve as: ');
|
||||||
|
}
|
||||||
|
|
||||||
$dfrn_text = replace_macros($dfrn_tpl,array(
|
$dfrn_text = replace_macros($dfrn_tpl,array(
|
||||||
'$intro_id' => $rr['intro_id'],
|
'$intro_id' => $rr['intro_id'],
|
||||||
'$friend_selected' => $friend_selected,
|
'$friend_selected' => $friend_selected,
|
||||||
'$fan_selected' => $fan_selected,
|
'$fan_selected' => $fan_selected,
|
||||||
'$approve_as' => t('Choose "Friend" to allow to read and to subscribe to their posts. Choose "Fan" to allow to read if you do not want to read their posts. Approve as: '),
|
'$approve_as' => $helptext,
|
||||||
'$as_friend' => t('Friend'),
|
'$as_friend' => t('Friend'),
|
||||||
'$as_fan' => (($rr['network'] == NETWORK_DIASPORA) ? t('Sharer') : t('Fan/Admirer'))
|
'$as_fan' => (($rr['network'] == NETWORK_DIASPORA) ? t('Sharer') : t('Fan/Admirer'))
|
||||||
));
|
));
|
||||||
|
|
11502
util/messages.po
11502
util/messages.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user