mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
keep space before t() for legacy string puller
This commit is contained in:
parent
afe4cc8bfa
commit
0af6014c94
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ function localize_item(&$item){
|
||||||
$B = '[url=' . $Blink . ']' . $Bname . '[/url]';
|
$B = '[url=' . $Blink . ']' . $Bname . '[/url]';
|
||||||
if ($Bphoto!="") $Bphoto = '[url=' . $Blink . '][img]' . $Bphoto . '[/img][/url]';
|
if ($Bphoto!="") $Bphoto = '[url=' . $Blink . '][img]' . $Bphoto . '[/img][/url]';
|
||||||
|
|
||||||
$item['body'] = sprintf(t('%1$s is now friends with %2$s'), $A, $B)."\n\n\n".$Bphoto;
|
$item['body'] = sprintf( t('%1$s is now friends with %2$s'), $A, $B)."\n\n\n".$Bphoto;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -427,7 +427,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
||||||
$A = '[url=' . $self[0]['url'] . ']' . $self[0]['name'] . '[/url]';
|
$A = '[url=' . $self[0]['url'] . ']' . $self[0]['name'] . '[/url]';
|
||||||
$B = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]';
|
$B = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]';
|
||||||
$BPhoto = '[url=' . $contact['url'] . ']' . '[img]' . $contact['thumb'] . '[/img][/url]';
|
$BPhoto = '[url=' . $contact['url'] . ']' . '[img]' . $contact['thumb'] . '[/img][/url]';
|
||||||
$arr['body'] = sprintf(t('%1$s is now friends with %2$s'), $A, $B)."\n\n\n".$Bphoto;
|
$arr['body'] = sprintf( t('%1$s is now friends with %2$s'), $A, $B)."\n\n\n".$Bphoto;
|
||||||
|
|
||||||
$arr['object'] = '<object><type>' . ACTIVITY_OBJ_PERSON . '</type><title>' . $contact['name'] . '</title>'
|
$arr['object'] = '<object><type>' . ACTIVITY_OBJ_PERSON . '</type><title>' . $contact['name'] . '</title>'
|
||||||
. '<id>' . $contact['url'] . '/' . $contact['name'] . '</id>';
|
. '<id>' . $contact['url'] . '/' . $contact['name'] . '</id>';
|
||||||
|
|
Loading…
Reference in a new issue