From a1143332098aa2dd99bf16a1eb0b0301d5b0c5d5 Mon Sep 17 00:00:00 2001 From: n-aleha Date: Sun, 11 May 2014 20:23:51 +0300 Subject: [ticket/12525] Add string argument to contact and email user language variables In language/en/common.php: * Introduce a new language variable 'CONTACT' => 'Contact' * Add a string argument to lang var 'CONTACT_USER' to avoid an appended '{USERNAME}' in template. * Add a string argument to lang var 'SEND_EMAIL_USER' to avoid an appended '{USERNAME}' in template. Also fix typos. PHPBB3-12525 --- .../prosilver/template/memberlist_email.html | 2 +- .../styles/prosilver/template/memberlist_view.html | 4 ++-- .../prosilver/template/ucp_pm_viewmessage.html | 2 +- .../styles/prosilver/template/viewtopic_body.html | 2 +- .../subsilver2/template/memberlist_email.html | 22 +++++++++++----------- .../subsilver2/template/memberlist_view.html | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) (limited to 'phpBB/styles') diff --git a/phpBB/styles/prosilver/template/memberlist_email.html b/phpBB/styles/prosilver/template/memberlist_email.html index 218402a9e9..78d0eba5a8 100644 --- a/phpBB/styles/prosilver/template/memberlist_email.html +++ b/phpBB/styles/prosilver/template/memberlist_email.html @@ -1,6 +1,6 @@ -

{L_SEND_EMAIL_USER} {USERNAME}

+

{L_SEND_EMAIL_USER}

diff --git a/phpBB/styles/prosilver/template/memberlist_view.html b/phpBB/styles/prosilver/template/memberlist_view.html index a8b1e972fe..ffa57f9cc8 100644 --- a/phpBB/styles/prosilver/template/memberlist_view.html +++ b/phpBB/styles/prosilver/template/memberlist_view.html @@ -60,10 +60,10 @@
-

{L_CONTACT_USER} {USERNAME}

+

{L_CONTACT_USER}

-
{L_EMAIL_ADDRESS}{L_COLON}
{L_SEND_EMAIL_USER} {USERNAME}
+
{L_EMAIL_ADDRESS}{L_COLON}
{L_SEND_EMAIL_USER}
{L_PM}{L_COLON}
{L_SEND_PRIVATE_MESSAGE}
{L_JABBER}{L_COLON}
{L_SEND_JABBER_MESSAGE}
{L_JABBER}{L_COLON}
{USER_JABBER}
diff --git a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html index 81171e97b2..f58b334a60 100644 --- a/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html +++ b/phpBB/styles/prosilver/template/ucp_pm_viewmessage.html @@ -36,7 +36,7 @@
- {L_CONTACT_USER}{L_COLON} + {L_CONTACT}{L_COLON}
- {L_CONTACT_USER}{L_COLON} + {L_CONTACT}{L_COLON}