mirror of
				https://github.com/phpbb/phpbb.git
				synced 2025-10-24 21:26:24 +02:00 
			
		
		
		
	There were a few error messages that a user could experience that would, previously, be without any the ability to be localized. There are some more E_USER_ERRORs that I did not change to a constant, for example the error message that is displayed if there aren't any folders in /language. PHPBB3-9975
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
| *
 | |
| * recaptcha [English]
 | |
| *
 | |
| * @package language
 | |
| * @copyright (c) 2009 phpBB Group
 | |
| * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
 | |
| *
 | |
| */
 | |
| 
 | |
| /**
 | |
| * DO NOT CHANGE
 | |
| */
 | |
| if (!defined('IN_PHPBB'))
 | |
| {
 | |
| 	exit;
 | |
| }
 | |
| 
 | |
| if (empty($lang) || !is_array($lang))
 | |
| {
 | |
| 	$lang = array();
 | |
| }
 | |
| 
 | |
| // DEVELOPERS PLEASE NOTE
 | |
| //
 | |
| // All language files should use UTF-8 as their encoding and the files must not contain a BOM.
 | |
| //
 | |
| // Placeholders can now contain order information, e.g. instead of
 | |
| // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
 | |
| // translators to re-order the output of data while ensuring it remains correct
 | |
| //
 | |
| // You do not need this where single placeholders are used, e.g. 'Message %d' is fine
 | |
| // equally where a string contains only two placeholders which are used to wrap text
 | |
| // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
 | |
| 
 | |
| $lang = array_merge($lang, array(
 | |
| 	'RECAPTCHA_LANG'				=> 'en',
 | |
| 	'RECAPTCHA_NOT_AVAILABLE'		=> 'In order to use reCaptcha, you must create an account on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>.',
 | |
| 	'CAPTCHA_RECAPTCHA'				=> 'reCaptcha',
 | |
| 	'RECAPTCHA_INCORRECT'			=> 'The visual confirmation code you submitted was incorrect',
 | |
| 
 | |
| 	'RECAPTCHA_PUBLIC'				=> 'Public reCaptcha key',
 | |
| 	'RECAPTCHA_PUBLIC_EXPLAIN'		=> 'Your public reCaptcha key. Keys can be obtained on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>.',
 | |
| 	'RECAPTCHA_PRIVATE'				=> 'Private reCaptcha key',
 | |
| 	'RECAPTCHA_PRIVATE_EXPLAIN'		=> 'Your private reCaptcha key. Keys can be obtained on <a href="http://www.google.com/recaptcha">www.google.com/recaptcha</a>.',
 | |
| 
 | |
| 	'RECAPTCHA_EXPLAIN'				=> 'In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.',
 | |
| 	'RECAPTCHA_SOCKET_ERROR'		=> 'There was a problem connecting to the RECAPTCHA service: could not open socket. Try again later.',
 | |
| ));
 |