forked from AkkomaGang/akkoma-fe
Add a translation to the captcha strings in the registration form
This commit is contained in:
parent
661efc51b7
commit
10642df528
2 changed files with 4 additions and 2 deletions
|
@ -76,12 +76,12 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group" id="captcha-group" v-if="captcha.type != 'none'">
|
<div class="form-group" id="captcha-group" v-if="captcha.type != 'none'">
|
||||||
<label class='form--label' for='captcha-label'>CAPTCHA</label>
|
<label class='form--label' for='captcha-label'>$t('captcha')</label>
|
||||||
|
|
||||||
<template v-if="captcha.type == 'kocaptcha'">
|
<template v-if="captcha.type == 'kocaptcha'">
|
||||||
<img v-bind:src="captcha.url" v-on:click="setCaptcha">
|
<img v-bind:src="captcha.url" v-on:click="setCaptcha">
|
||||||
|
|
||||||
<sub>Click the image to get a new captcha</sub>
|
<sub>{{$t('registration.new_captcha')}}</sub>
|
||||||
|
|
||||||
<input :disabled="isPending"
|
<input :disabled="isPending"
|
||||||
v-model='captcha.solution'
|
v-model='captcha.solution'
|
||||||
|
|
|
@ -74,6 +74,8 @@
|
||||||
"password_confirm": "Password confirmation",
|
"password_confirm": "Password confirmation",
|
||||||
"registration": "Registration",
|
"registration": "Registration",
|
||||||
"token": "Invite token",
|
"token": "Invite token",
|
||||||
|
"captcha": "CAPTCHA",
|
||||||
|
"new_captcha": "Click the image to get a new captcha",
|
||||||
"validations": {
|
"validations": {
|
||||||
"username_required": "cannot be left blank",
|
"username_required": "cannot be left blank",
|
||||||
"fullname_required": "cannot be left blank",
|
"fullname_required": "cannot be left blank",
|
||||||
|
|
Loading…
Reference in a new issue