[ticket/17191] new config values lang/en/composer.json fr common/recaptcha

PHPBB3-17191
This commit is contained in:
Christian Schnegelberger 2023-09-21 10:53:39 +02:00 committed by Marc Alexander
parent 7fcfcec600
commit 99fabe2eb8
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
3 changed files with 5 additions and 12 deletions

View file

@ -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 // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, [ $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' => 'reCaptcha v2',
'CAPTCHA_RECAPTCHA_V3' => 'reCaptcha v3', 'CAPTCHA_RECAPTCHA_V3' => 'reCaptcha v3',

View file

@ -42,15 +42,8 @@ if (empty($lang) || !is_array($lang))
$lang = array_merge($lang, array( $lang = array_merge($lang, array(
'TRANSLATION_INFO' => '', 'TRANSLATION_INFO' => '',
'DIRECTION' => 'ltr',
'DATE_FORMAT' => '|d M Y|', // 01 Jan 2007 (with Relative days enabled) '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) '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_DAY' => '1 day',
'1_MONTH' => '1 month', '1_MONTH' => '1 month',

View file

@ -22,6 +22,10 @@
"language-iso": "en", "language-iso": "en",
"english-name": "British English", "english-name": "British English",
"local-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"
} }
} }