aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-12 20:56:44 -0800
committerfriendica <info@friendica.com>2012-02-12 20:56:44 -0800
commit85c831bcbf6f4cc2793d91e4e3fb3da5828a3f60 (patch)
tree285c0fc5c765cce31b402ce45bc93985789c9fa2 /include
parentfd0bd8433a0f2cedb11d59c8bc18b650f1f6cfb6 (diff)
downloadvolse-hubzilla-85c831bcbf6f4cc2793d91e4e3fb3da5828a3f60.tar.gz
volse-hubzilla-85c831bcbf6f4cc2793d91e4e3fb3da5828a3f60.tar.bz2
volse-hubzilla-85c831bcbf6f4cc2793d91e4e3fb3da5828a3f60.zip
finish translation of 'xxxxx wrote:'
Diffstat (limited to 'include')
-rwxr-xr-xinclude/bbcode.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index a4a651027..118be1298 100755
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -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]