mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/17413] Add language and theme settings for turnstile
PHPBB-17413
This commit is contained in:
@@ -40,9 +40,14 @@ $lang = array_merge($lang, [
|
||||
'CAPTCHA_TURNSTILE' => 'Turnstile',
|
||||
'CAPTCHA_TURNSTILE_INCORRECT' => 'The solution you provided was incorrect',
|
||||
'CAPTCHA_TURNSTILE_NOSCRIPT' => 'Please enable JavaScript in your browser to load the challenge.',
|
||||
'CAPTCHA_TURNSTILE_NOT_AVAILABLE' => 'In order to use Turnstile you must create a <a href="https://www.cloudflare.com/products/turnstile/">Cloudflare account</a>.',
|
||||
'CAPTCHA_TURNSTILE_SECRET' => 'Secret key',
|
||||
'CAPTCHA_TURNSTILE_SECRET_EXPLAIN' => 'Your Turnstile secret key. The secret key can be retrieved from your <a href="https://dash.cloudflare.com/?to=/:account/turnstile">Cloudflare dashboard</a>.',
|
||||
'CAPTCHA_TURNSTILE_SITEKEY' => 'Sitekey',
|
||||
'CAPTCHA_TURNSTILE_SITEKEY_EXPLAIN' => 'Your Turnstile sitekey. The sitekey can be retrieved from your <a href="https://dash.cloudflare.com/?to=/:account/turnstile">Cloudflare dashboard</a>.',
|
||||
'CAPTCHA_TURNSTILE_NOT_AVAILABLE' => 'In order to use Turnstile you must create a <a href="https://www.cloudflare.com/products/turnstile/">Cloudflare account</a>.',
|
||||
'CAPTCHA_TURNSTILE_THEME' => 'Widget theme',
|
||||
'CAPTCHA_TURNSTILE_THEME_EXPLAIN' => 'The theme of the CAPTCHA widget. By default, <samp>light</samp> will be used. Other possibilities are <samp>dark</samp> and <samp>auto</samp>, which respects the user’s preference.',
|
||||
'CAPTCHA_TURNSTILE_THEME_AUTO' => 'Auto',
|
||||
'CAPTCHA_TURNSTILE_THEME_DARK' => 'Dark',
|
||||
'CAPTCHA_TURNSTILE_THEME_LIGHT' => 'Light',
|
||||
]);
|
||||
|
@@ -26,6 +26,7 @@
|
||||
"direction": "ltr",
|
||||
"user-lang": "en-gb",
|
||||
"plural-rule": 1,
|
||||
"recaptcha-lang": "en-GB"
|
||||
"recaptcha-lang": "en-GB",
|
||||
"turnstile-lang": "en"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user