From 453cb709635465cc76497fae8f5bafc002463415 Mon Sep 17 00:00:00 2001 From: Crizzo Date: Thu, 12 Jun 2014 19:19:46 +0200 Subject: [PATCH] [ticket/12563] Removes strintf in acp_styles.php and shorts up PHPBB3-12563 --- phpBB/includes/acp/acp_styles.php | 4 ++-- phpBB/language/en/acp/styles.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index b2160ef015..8bd13933c3 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -209,8 +209,8 @@ class acp_styles trigger_error($this->user->lang['NO_MATCHING_STYLES_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING); } $message = implode('
', $messages); - $message .= '

' . sprintf($this->user->lang['STYLE_INSTALLED_RETURN_INSTALLED_STYLES'], $this->u_base_action . '&mode=style'); - $message .= '

' . sprintf($this->user->lang['STYLE_INSTALLED_RETURN_UNINSTALLED_STYLES'], $this->u_base_action . '&mode=install'); + $message .= '

' . $this->user->lang('STYLE_INSTALLED_RETURN_INSTALLED_STYLES', $this->u_base_action . '&mode=style'); + $message .= '

' . $this->user->lang('STYLE_INSTALLED_RETURN_UNINSTALLED_STYLES', $this->u_base_action . '&mode=install'); trigger_error($message, E_USER_NOTICE); } diff --git a/phpBB/language/en/acp/styles.php b/phpBB/language/en/acp/styles.php index 00ab943d5f..65eb002f1a 100644 --- a/phpBB/language/en/acp/styles.php +++ b/phpBB/language/en/acp/styles.php @@ -71,8 +71,8 @@ $lang = array_merge($lang, array( 'STYLE_ERR_NAME_EXIST' => 'A style with that name already exists.', 'STYLE_ERR_STYLE_NAME' => 'You must supply a name for this style.', 'STYLE_INSTALLED' => 'Style "%s" has been installed.', - 'STYLE_INSTALLED_RETURN_INSTALLED_STYLES' => '
Click here to return to installed styles list.', - 'STYLE_INSTALLED_RETURN_UNINSTALLED_STYLES' => 'Click here to install more styles.', + 'STYLE_INSTALLED_RETURN_INSTALLED_STYLES' => 'Return to installed styles list.', + 'STYLE_INSTALLED_RETURN_UNINSTALLED_STYLES' => 'Install more styles.', 'STYLE_NAME' => 'Style name', 'STYLE_NOT_INSTALLED' => 'Style "%s" was not installed.', 'STYLE_PATH' => 'Style path',