From 0632618a9d0afe4a6a6d9785777ffae079ba56b8 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 24 Aug 2008 19:48:02 +0000 Subject: Update: Localized phpBB3 ACP field descriptions Refs #7 --- .../phpBB3/trunk/root/adm/style/acp_instadisc.html | 20 ++++++------- .../trunk/root/includes/acp/acp_instadisc.php | 4 +-- .../trunk/root/language/en/mods/instadisc.php | 33 ++++++++++++++-------- 3 files changed, 33 insertions(+), 24 deletions(-) (limited to 'update/plugin/phpBB3/trunk') diff --git a/update/plugin/phpBB3/trunk/root/adm/style/acp_instadisc.html b/update/plugin/phpBB3/trunk/root/adm/style/acp_instadisc.html index a3e60da..6e8249d 100644 --- a/update/plugin/phpBB3/trunk/root/adm/style/acp_instadisc.html +++ b/update/plugin/phpBB3/trunk/root/adm/style/acp_instadisc.html @@ -18,41 +18,41 @@
-
This is the URL of your subscription file +
{L_SUBSCRIPTION_FILE_DESC}
{S_SUBSCRIPTION_FILE}
-

- This is the Central Server's XML-RPC URL. They should have provided this for you in an email and also on their site. -
-
-
+

+ {L_CENTRAL_SERVER_DESC} +
+
+
-
Enter the username you registered for at your Central Server +
{L_USERNAME_DESC}
-
Enter the password to go with the username above +
{L_PASSWORD_DESC}
-
After submitting your subscription for sponsership at your Central Server, it should provide you with an Activation Key +
{L_ACTIVATION_DESC}
-
If you have the PHP module "mcrypt" installed, you can password protect this subscription so that users who wish to subscribe to it must provide the correct password. Leave this field blank if you do not wish to encrypt this subscription. +
{L_ENCRYPTION_DESC}
diff --git a/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php index 71eaef1..d5bcbd1 100644 --- a/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php @@ -25,7 +25,7 @@ class acp_instadisc // Set up the page $this->tpl_name = 'acp_instadisc'; $this->page_title = 'ACP_INSTADISC'; - $submit = isset($_POST['submit']) ? true : false; + $submit = isset($_POST['submit']) ? true : false; if ($submit) { @@ -37,7 +37,7 @@ class acp_instadisc set_config('id_activation_key', $_POST['central_server_activation']); set_config('id_encryption_key', $_POST['encryption_key']); - trigger_error('The changes you made to your InstaDisc settings have been saved!' . adm_back_link($this->u_action), E_USER_NOTICE); + trigger_error($user->lang['ID_CHANGES_SAVED'] . adm_back_link($this->u_action), E_USER_NOTICE); } else { $idst = isset($config['id_subscription_title']) ? $config['id_subscription_title'] : $config['sitename']; $idcs = isset($config['id_central_server']) ? $config['id_central_server'] : ''; diff --git a/update/plugin/phpBB3/trunk/root/language/en/mods/instadisc.php b/update/plugin/phpBB3/trunk/root/language/en/mods/instadisc.php index 17023c6..c82e10d 100644 --- a/update/plugin/phpBB3/trunk/root/language/en/mods/instadisc.php +++ b/update/plugin/phpBB3/trunk/root/language/en/mods/instadisc.php @@ -33,22 +33,31 @@ if (empty($lang) || !is_array($lang)) $lang = array_merge($lang, array( 'ACP_INSTADISC' => 'InstaDisc', - 'INSTADISC' => 'InstaDisc', - 'INSTADISC_EXPLAIN' => 'Welcome to the InstaDisc Update Server admin panel. To set up your subscriptions, you have to do a few things. For more information, see', - 'INSTADISC_LINK_TEXT' => 'the InstaDisc phpBB3 plugin page', + 'INSTADISC' => 'InstaDisc', + 'INSTADISC_EXPLAIN' => 'Welcome to the InstaDisc Update Server admin panel. To set up your subscriptions, you have to do a few things. For more information, see', + 'INSTADISC_LINK_TEXT' => 'the InstaDisc phpBB3 plugin page', - 'SUBSCRIPTION' => 'Subscription', - 'SUBSCRIPTION_TITLE' => 'Subscription Title', - 'SUBSCRIPTION_FILE' => 'Subscription File URL', + 'SUBSCRIPTION' => 'Subscription', + 'SUBSCRIPTION_TITLE' => 'Subscription Title', + 'SUBSCRIPTION_FILE' => 'Subscription File URL', - 'CENTRAL_SERVER' => 'Central Server', - 'USERNAME' => 'Username', - 'PASSWORD' => 'Password', - 'ACTIVATION' => 'Activation Key', + 'CENTRAL_SERVER' => 'Central Server', + 'USERNAME' => 'Username', + 'PASSWORD' => 'Password', + 'ACTIVATION' => 'Activation Key', - 'ENCRYPTION' => 'Encryption Key', + 'ENCRYPTION' => 'Encryption Key', - 'LN' => "\n", + 'SUBSCRIPTION_FILE_DESC' => 'This is the URL of your subscription file', + 'CENTRAL_SERVER_DESC' => 'This is the Central Server\'s XML-RPC URL. They should have provided this for you in an email and also on their site.', + 'USERNAME_DESC' => 'Enter the username you registered for at your Central Server', + 'PASSWORD_DESC' => 'Enter the password to go with the username above', + 'ACTIVATION_DESC' => 'After submitting your subscription for sponsership at your Central Server, it should provide you with an Activation Key', + 'ENCRYPTION_DESC' => 'If you have the PHP module "mcrypt" installed, you can password protect this subscription so that users who wish to subscribe to it must provide the correct password. Leave this field blank if you do not wish to encrypt this subscription.', + + 'ID_CHANGES_SAVED' => 'The changes you made to your InstaDisc settings have been saved!', + + 'LN' => "\n", )); ?> -- cgit 1.4.1