-
- if($it['network'] === NETWORK_DFRN || $it['network'] === NETWORK_DIASPORA) {
- if($it['network'] === NETWORK_DFRN) {
- $lbl_knowyou = t('Claims to be known to you: ');
- $knowyou = (($it['knowyou']) ? t('yes') : t('no'));
- $helptext = t('Shall your connection be bidirectional or not?');
- $helptext2 = sprintf(t('Accepting %s as a friend allows %s to subscribe to your posts, and you will also receive updates from them in your news feed.'), $it['name'], $it['name']);
- $helptext3 = sprintf(t('Accepting %s as a subscriber allows them to subscribe to your posts, but you will not receive updates from them in your news feed.'), $it['name']);
+ $helptext = '';
+ $helptext2 = '';
+ $helptext3 = '';
+
+ if ($it['network'] === NETWORK_DFRN || $it['network'] === NETWORK_DIASPORA) {
+ if ($it['network'] === NETWORK_DFRN) {
+ $lbl_knowyou = L10n::t('Claims to be known to you: ');
+ $knowyou = (($it['knowyou']) ? L10n::t('yes') : L10n::t('no'));
+ $helptext = L10n::t('Shall your connection be bidirectional or not?');
+ $helptext2 = L10n::t('Accepting %s as a friend allows %s to subscribe to your posts, and you will also receive updates from them in your news feed.', $it['name'], $it['name']);
+ $helptext3 = L10n::t('Accepting %s as a subscriber allows them to subscribe to your posts, but you will not receive updates from them in your news feed.', $it['name']);