diff options
author | PayBas <contact@paybas.com> | 2014-08-14 22:22:20 +0200 |
---|---|---|
committer | PayBas <contact@paybas.com> | 2014-08-14 22:22:20 +0200 |
commit | 73426d2d304537144c00ff84d6e38eba9d92e45a (patch) | |
tree | b7d836e7abd74519542fd2d6651bc0e89ef05eb7 | |
parent | 27bb2b72893b9bf59601ae78a02e59788e956e32 (diff) | |
download | forums-73426d2d304537144c00ff84d6e38eba9d92e45a.tar forums-73426d2d304537144c00ff84d6e38eba9d92e45a.tar.gz forums-73426d2d304537144c00ff84d6e38eba9d92e45a.tar.bz2 forums-73426d2d304537144c00ff84d6e38eba9d92e45a.tar.xz forums-73426d2d304537144c00ff84d6e38eba9d92e45a.zip |
[ticket/12961] Refactor lang entry
PHPBB3-12961
-rw-r--r-- | phpBB/adm/style/acp_captcha.html | 2 | ||||
-rw-r--r-- | phpBB/includes/acp/acp_captcha.php | 3 | ||||
-rw-r--r-- | phpBB/language/en/acp/board.php | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/adm/style/acp_captcha.html b/phpBB/adm/style/acp_captcha.html index e64ed58c2e..f4866653c3 100644 --- a/phpBB/adm/style/acp_captcha.html +++ b/phpBB/adm/style/acp_captcha.html @@ -6,7 +6,7 @@ <p>{L_ACP_VC_SETTINGS_EXPLAIN}</p> -<p>{L_ACP_VC_EXT_GET_MORE} <a href="https://www.phpbb.com/go/anti-spam-ext" target="_blank" style="font-weight: bold;">{L_ACP_VC_EXT_LINK}</a></p> +<p>{L_ACP_VC_EXT_GET_MORE}</p> <form id="acp_captcha" method="post" action="{U_ACTION}"> diff --git a/phpBB/includes/acp/acp_captcha.php b/phpBB/includes/acp/acp_captcha.php index fa8d8fb6a9..c0eff6a916 100644 --- a/phpBB/includes/acp/acp_captcha.php +++ b/phpBB/includes/acp/acp_captcha.php @@ -61,6 +61,9 @@ class acp_captcha $this->tpl_name = 'acp_captcha'; $this->page_title = 'ACP_VC_SETTINGS'; + $template->assign_vars(array(L_ACP_VC_EXT_GET_MORE => sprintf($user->lang['ACP_VC_EXT_GET_MORE'], + '<a href="https://www.phpbb.com/go/anti-spam-ext" target="_blank" style="font-weight: bold;">', '</a>') + )); $form_key = 'acp_captcha'; add_form_key($form_key); diff --git a/phpBB/language/en/acp/board.php b/phpBB/language/en/acp/board.php index c4d250778a..4a51b8e5b9 100644 --- a/phpBB/language/en/acp/board.php +++ b/phpBB/language/en/acp/board.php @@ -298,8 +298,7 @@ $lang = array_merge($lang, array( // Visual Confirmation Settings $lang = array_merge($lang, array( 'ACP_VC_SETTINGS_EXPLAIN' => 'Here you can select and configure plugins, which are designed to block automated form submissions by spambots. These plugins typically work by challenging the user with a <em>CAPTCHA</em>, a test which is designed to be difficult for computers to solve.', - 'ACP_VC_EXT_GET_MORE' => 'For additional (and possibly better) anti-spam plugins, visit the', - 'ACP_VC_EXT_LINK' => 'phpBB.com anti-spam extensions database', + 'ACP_VC_EXT_GET_MORE' => 'For additional (and possibly better) anti-spam plugins, visit the %sphpBB.com anti-spam extensions database%s.', 'AVAILABLE_CAPTCHAS' => 'Available plugins', 'CAPTCHA_UNAVAILABLE' => 'The plugin cannot be selected as its requirements are not met.', 'CAPTCHA_GD' => 'GD image', |