From 0af6014c940eba5c5d9399e922794da373738337 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 20 Apr 2011 05:00:58 -0700 Subject: [PATCH] keep space before t() for legacy string puller --- include/conversation.php | 2 +- mod/dfrn_confirm.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/conversation.php b/include/conversation.php index a3b15146b4..cd24068599 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -58,7 +58,7 @@ function localize_item(&$item){ $B = '[url=' . $Blink . ']' . $Bname . '[/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; } diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 7c28bf902b..d0543ac845 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -427,7 +427,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $A = '[url=' . $self[0]['url'] . ']' . $self[0]['name'] . '[/url]'; $B = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/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'] = '' . ACTIVITY_OBJ_PERSON . '' . $contact['name'] . '' . '' . $contact['url'] . '/' . $contact['name'] . '';