Skip to content

Commit

Permalink
Change captcha i18n key so that it has to be re-translated
Browse files Browse the repository at this point in the history
The interpolations changed
  • Loading branch information
oliverguenther committed Aug 19, 2024
1 parent 8d1b51a commit a79c00a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/recaptcha/app/views/recaptcha/admin/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
container_class: '-middle' %>
</div>
<div class="form--field-instructions">
<%= I18n.t('recaptcha.settings.recaptcha_description_html',
<%= I18n.t('recaptcha.settings.captcha_description_html',
hcaptcha_link: link_to('https://docs.hcaptcha.com/switch/', 'https://docs.hcaptcha.com/switch/', target: '_blank'),
recaptcha_link: link_to('https://www.google.com/recaptcha', 'https://www.google.com/recaptcha', target: '_blank'),
turnstile_link: link_to('https://developers.cloudflare.com/turnstile/', 'https://developers.cloudflare.com/turnstile/', target: '_blank')).html_safe %>
Expand Down
2 changes: 1 addition & 1 deletion modules/recaptcha/config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ en:
type_v3: 'reCAPTCHA v3'
type_hcaptcha: 'HCaptcha'
type_turnstile: 'Cloudflare Turnstile™'
recaptcha_description_html: >
captcha_description_html: >
reCAPTCHA is a free service by Google that can be enabled for your OpenProject instance.
If enabled, a captcha form will be rendered upon login for all users that have not verified a captcha yet.
<br/>
Expand Down

0 comments on commit a79c00a

Please sign in to comment.