mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17191] new config values lang/en/composer.json fr common/recaptcha
PHPBB3-17191
This commit is contained in:
parent
7fcfcec600
commit
99fabe2eb8
3 changed files with 5 additions and 12 deletions
|
@ -37,10 +37,6 @@ if (empty($lang) || !is_array($lang))
|
|||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
|
||||
$lang = array_merge($lang, [
|
||||
// Find the language/country code on https://developers.google.com/recaptcha/docs/language
|
||||
// If no code exists for your language you can use "en" or leave the string empty
|
||||
'RECAPTCHA_LANG' => 'en-GB',
|
||||
|
||||
'CAPTCHA_RECAPTCHA' => 'reCaptcha v2',
|
||||
'CAPTCHA_RECAPTCHA_V3' => 'reCaptcha v3',
|
||||
|
||||
|
|
|
@ -42,15 +42,8 @@ if (empty($lang) || !is_array($lang))
|
|||
|
||||
$lang = array_merge($lang, array(
|
||||
'TRANSLATION_INFO' => '',
|
||||
'DIRECTION' => 'ltr',
|
||||
'DATE_FORMAT' => '|d M Y|', // 01 Jan 2007 (with Relative days enabled)
|
||||
'DATETIME_FORMAT' => '|d M Y, H:i|', // 01 Jan 2007, 13:37 (with Relative days enabled)
|
||||
'USER_LANG' => 'en-gb',
|
||||
|
||||
// You can define different rules for the determination of plural forms here.
|
||||
// See https://area51.phpbb.com/docs/dev/3.3.x/language/plurals.html for more information
|
||||
// or ask the translation manager for help.
|
||||
'PLURAL_RULE' => 1,
|
||||
|
||||
'1_DAY' => '1 day',
|
||||
'1_MONTH' => '1 month',
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
"language-iso": "en",
|
||||
"english-name": "British English",
|
||||
"local-name": "British English",
|
||||
"phpbb-version": "4.0.0-a1-dev"
|
||||
"phpbb-version": "4.0.0-a1-dev",
|
||||
"direction": "ltr",
|
||||
"user_lang": "en-gb",
|
||||
"plural_rule": "1",
|
||||
"recaptcha_lang": "en-GB"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue