]> git.mxchange.org Git - friendica.git/commitdiff
finish translation of 'xxxxx wrote:'
authorfriendica <info@friendica.com>
Mon, 13 Feb 2012 04:56:44 +0000 (20:56 -0800)
committerfriendica <info@friendica.com>
Mon, 13 Feb 2012 04:56:44 +0000 (20:56 -0800)
include/bbcode.php

index a4a651027bb3a0a5f1e433d25a835b4b969b1057..118be1298cc8e6b66368829468e1b84a973761d5 100755 (executable)
@@ -195,9 +195,11 @@ upper-alpha;">$2</ul>' ,$Text);
        $Text = preg_replace("/\[quote\](.*?)\[\/quote\]/ism","$QuoteLayout", $Text);
 
        // Check for [quote=Author] text
-        $t_wrote = t("wrote");
+
+       $t_wrote = t('$1 wrote:');
+
        $Text = preg_replace("/\[quote=[\"\']*(.*?)[\"\']*\](.*?)\[\/quote\]/ism", 
-                             "<blockquote><strong>$1 wrote:</strong> $2</blockquote>", 
+                             "<blockquote><strong>" . $t_wrote . "</strong> $2</blockquote>", 
                              $Text);         
 
        // [img=widthxheight]image source[/img]