52 lines
3.5 KiB
PHP
52 lines
3.5 KiB
PHP
<?php
|
|
/**
|
|
* English texts of the module. Keys: short identifiers (cfg_* settings,
|
|
* opt_* setting choices, btn_* admin buttons, adm_* admin service tab,
|
|
* err_* module errors, api_* API client errors, ui_* client area).
|
|
* Every key used by the module must exist here: it is the fallback.
|
|
*/
|
|
|
|
if (!defined('WHMCS')) {
|
|
die('This file cannot be accessed directly');
|
|
}
|
|
|
|
return array(
|
|
'brand_neutral' => 'MozOut',
|
|
'cfg_description' => 'Registers, transfers and renews domains at %s with your account credit, through the API. Create the key in the API Center with the permissions domains:read, domains:write, domains:transfer_code, billing:purchase and catalog:read (and reseller:read for the reseller prices).',
|
|
'cfg_brand' => 'Brand',
|
|
'cfg_brand_desc' => 'The brand where you have your account.',
|
|
'cfg_api_key' => 'API key',
|
|
'cfg_api_key_desc' => 'sandbox_... for tests (nothing is charged), prod_... to sell.',
|
|
'cfg_mode' => 'Expected mode',
|
|
'cfg_mode_desc' => 'If the key is not in this mode, the API refuses the request.',
|
|
'opt_any' => 'Any',
|
|
'opt_production' => 'Production',
|
|
'cfg_language' => 'Message language',
|
|
'cfg_language_desc' => 'Automatic follows the language of the admin or of the client; in the cron, the WHMCS default language.',
|
|
'opt_auto' => 'Automatic',
|
|
'cfg_currency' => 'Pricing currency',
|
|
'cfg_currency_desc' => 'Optional, for example USD, AOA or USD. Without it, the account currency.',
|
|
'cfg_auto_renew' => 'Turn off auto-renew on our side',
|
|
'cfg_auto_renew_desc' => 'Recommended: your WHMCS does the renewals, so the domain is not renewed twice.',
|
|
'cfg_label' => 'End customer label',
|
|
'cfg_label_desc' => 'Reseller Program: saves your customer name on the domain.',
|
|
'cfg_api_url' => 'API address (advanced)',
|
|
'cfg_api_url_desc' => 'Leave empty. Tests only.',
|
|
'err_no_epp' => 'The transfer code (EPP) is missing.',
|
|
'err_two_ns' => 'Give at least 2 nameservers.',
|
|
'err_transfer_cancelled' => 'The transfer was cancelled.',
|
|
'api_bad_url' => 'Invalid API address: it must start with https://.',
|
|
'api_no_key' => 'The API key is missing from the module settings.',
|
|
'api_network' => 'No answer from the API. Please try again shortly.',
|
|
'api_bad_answer' => 'The API gave an answer that cannot be read. Please try again.',
|
|
'api_unauthorized' => 'The API key is not valid, was revoked or expired. Create another one in the API Center and save it in the module settings.',
|
|
'api_no_credit' => 'Your account does not have enough credit for this purchase. Nothing was charged.',
|
|
'api_missing' => '%s missing.',
|
|
'api_rate_limited' => 'Too many requests to the API.',
|
|
'api_retry_in' => 'Try again in %d seconds.',
|
|
'api_scope' => 'The API key does not have the permission this operation needs.',
|
|
'api_spending' => 'This purchase goes over the spending limit of the API key. Nothing was charged.',
|
|
'api_ip' => 'The IP of this WHMCS server is not on the list of the API key.',
|
|
'api_http' => 'The API answered with code %d.',
|
|
'api_sandbox_refused' => 'Sandbox: in Production this purchase would be refused, for lack of credit or the spending limit of the key.',
|
|
);
|