[ticket/14492] Update language variables and trigger details text

PHPBB3-14492
This commit is contained in:
Marc Alexander 2016-02-01 00:01:26 +01:00
parent c1035c98e4
commit 9fb2a5d5f8
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
4 changed files with 11 additions and 9 deletions

View file

@ -2,7 +2,7 @@
<a id="maincontent"></a> <a id="maincontent"></a>
<h1>{L_SEND_STATISTICS}</h1> <h1>{L_ACP_HELP_PHPBB}</h1>
<div class="send-stats-row"> <div class="send-stats-row">
<div class="send-stats-tile"> <div class="send-stats-tile">
@ -10,7 +10,7 @@
<p>{L_EXPLAIN_SEND_STATISTICS}</p> <p>{L_EXPLAIN_SEND_STATISTICS}</p>
<div class="send-stats-row"> <div class="send-stats-row">
<div class="send-stats-data-row send-stats-data-only-row"> <div class="send-stats-data-row send-stats-data-only-row">
<a id="trigger-configlist"><span>{L_SHOW_STATISTICS}</span><i class="icon fa-angle-down"></i></a> <a id="trigger-configlist" data-ajax="toggle_link" data-toggle-text="{L_HIDE_STATISTICS}"><span>{L_SHOW_STATISTICS}</span><i class="icon fa-angle-down"></i></a>
</div> </div>
<div class="send-stats-data-row send-stats-data-hidden"> <div class="send-stats-data-row send-stats-data-hidden">
<div class="configlist" id="configlist"> <div class="configlist" id="configlist">
@ -33,7 +33,7 @@
<input id="enable-stats" type="checkbox" checked="checked" /> <input id="enable-stats" type="checkbox" checked="checked" />
<label for="enable-stats"></label> <label for="enable-stats"></label>
</dt> </dt>
<dd>{L_SEND_STATISTICS}</dd> <dd>{L_SEND_STATISTICS_LONG}</dd>
</dl> </dl>
</div> </div>
<div class="send-stats-tile"> <div class="send-stats-tile">

View file

@ -35,7 +35,7 @@ class acp_help_phpbb
$collect_url = "https://www.phpbb.com/stats/receive_stats.php"; $collect_url = "https://www.phpbb.com/stats/receive_stats.php";
$this->tpl_name = 'acp_help_phpbb'; $this->tpl_name = 'acp_help_phpbb';
$this->page_title = 'ACP_SEND_STATISTICS'; $this->page_title = 'ACP_HELP_PHPBB';
// generate a unique id if necessary // generate a unique id if necessary
if (!isset($config['questionnaire_unique_id'])) if (!isset($config['questionnaire_unique_id']))

View file

@ -17,9 +17,9 @@ class acp_help_phpbb_info
{ {
return array( return array(
'filename' => 'acp_help_phpbb', 'filename' => 'acp_help_phpbb',
'title' => 'ACP_SEND_STATISTICS', 'title' => 'ACP_HELP_PHPBB',
'modes' => array( 'modes' => array(
'help_phpbb' => array('title' => 'ACP_SEND_STATISTICS', 'auth' => 'acl_a_server', 'cat' => array('ACP_SERVER_CONFIGURATION')), 'help_phpbb' => array('title' => 'ACP_HELP_PHPBB', 'auth' => 'acl_a_server', 'cat' => array('ACP_SERVER_CONFIGURATION')),
), ),
); );
} }

View file

@ -108,6 +108,8 @@ $lang = array_merge($lang, array(
'ACP_GROUPS_PERMISSIONS' => 'Group permissions', 'ACP_GROUPS_PERMISSIONS' => 'Group permissions',
'ACP_GROUPS_POSITION' => 'Manage group positions', 'ACP_GROUPS_POSITION' => 'Manage group positions',
'ACP_HELP_PHPBB' => 'Help support phpBB',
'ACP_ICONS' => 'Topic icons', 'ACP_ICONS' => 'Topic icons',
'ACP_ICONS_SMILIES' => 'Topic icons/smilies', 'ACP_ICONS_SMILIES' => 'Topic icons/smilies',
'ACP_INACTIVE_USERS' => 'Inactive users', 'ACP_INACTIVE_USERS' => 'Inactive users',
@ -167,7 +169,6 @@ $lang = array_merge($lang, array(
'ACP_SEARCH_SETTINGS' => 'Search settings', 'ACP_SEARCH_SETTINGS' => 'Search settings',
'ACP_SECURITY_SETTINGS' => 'Security settings', 'ACP_SECURITY_SETTINGS' => 'Security settings',
'ACP_SEND_STATISTICS' => 'Send statistical information',
'ACP_SERVER_CONFIGURATION' => 'Server configuration', 'ACP_SERVER_CONFIGURATION' => 'Server configuration',
'ACP_SERVER_SETTINGS' => 'Server settings', 'ACP_SERVER_SETTINGS' => 'Server settings',
'ACP_SIGNATURE_SETTINGS' => 'Signature settings', 'ACP_SIGNATURE_SETTINGS' => 'Signature settings',
@ -474,14 +475,15 @@ $lang = array_merge($lang, array(
'USER_IS_INACTIVE' => 'User is inactive', 'USER_IS_INACTIVE' => 'User is inactive',
)); ));
// Send statistics page // Help support phpBB page
$lang = array_merge($lang, array( $lang = array_merge($lang, array(
'EXPLAIN_SEND_STATISTICS' => 'Please send information about your server and board configurations to phpBB for statistical analysis. All information that could identify you or your website has been removed - the data is entirely <strong>anonymous</strong>. We base decisions about future phpBB versions on this information. The statistics are made available publically. We also share this data with the PHP project, the programming language phpBB is made with.', 'EXPLAIN_SEND_STATISTICS' => 'Please send information about your server and board configurations to phpBB for statistical analysis. All information that could identify you or your website has been removed - the data is entirely <strong>anonymous</strong>. We base decisions about future phpBB versions on this information. The statistics are made available publically. We also share this data with the PHP project, the programming language phpBB is made with.',
'EXPLAIN_SHOW_STATISTICS' => 'Using the button below you can preview all variables that will be transmitted.', 'EXPLAIN_SHOW_STATISTICS' => 'Using the button below you can preview all variables that will be transmitted.',
'DONT_SEND_STATISTICS' => 'Return to the ACP if you do not wish to send statistical information to phpBB.', 'DONT_SEND_STATISTICS' => 'Return to the ACP if you do not wish to send statistical information to phpBB.',
'GO_ACP_MAIN' => 'Go to the ACP start page', 'GO_ACP_MAIN' => 'Go to the ACP start page',
'HIDE_STATISTICS' => 'Hide details', 'HIDE_STATISTICS' => 'Hide details',
'SEND_STATISTICS' => 'Send statistical information', 'SEND_STATISTICS' => 'Send statistics',
'SEND_STATISTICS_LONG' => 'Send statistical information',
'SHOW_STATISTICS' => 'Show details', 'SHOW_STATISTICS' => 'Show details',
'THANKS_SEND_STATISTICS' => 'Thank you for submitting your information.', 'THANKS_SEND_STATISTICS' => 'Thank you for submitting your information.',
'EXPLAIN_ENABLE_VIGLINK' => 'Viglink is a non-invasive third-party service that will monetize existing links posted by users of your forum. When visitors click on those existing links and perform certain actions, such as shopping, the merchants pay VigLink a commission, of which a share is donated to the phpBB project. By agreeing to enable VigLink and donating proceeds to the phpBB project, you are supporting our open source organization and ensuring our continued financial security.<br /><br />You can change these settings at any time in VigLink settings panel.', 'EXPLAIN_ENABLE_VIGLINK' => 'Viglink is a non-invasive third-party service that will monetize existing links posted by users of your forum. When visitors click on those existing links and perform certain actions, such as shopping, the merchants pay VigLink a commission, of which a share is donated to the phpBB project. By agreeing to enable VigLink and donating proceeds to the phpBB project, you are supporting our open source organization and ensuring our continued financial security.<br /><br />You can change these settings at any time in VigLink settings panel.',