This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ Always,Always
4
4
"Incorrect CAPTCHA","Incorrect CAPTCHA"
5
5
"Incorrect CAPTCHA.","Incorrect CAPTCHA."
6
6
"The account is locked. Please wait and try again or contact %1.","The account is locked. Please wait and try again or contact %1."
7
- "Please enter the letters from the image","Please enter the letters from the image"
7
+ "Please enter the letters and numbers from the image","Please enter the letters and numbers from the image"
8
8
"<strong>Attention</strong>: Captcha is case sensitive.","<strong>Attention</strong>: Captcha is case sensitive."
9
9
"Reload captcha","Reload captcha"
10
- "Please type the letters below","Please type the letters below"
10
+ "Please type the letters and numbers below","Please type the letters and numbers below"
11
11
"Attention: Captcha is case sensitive.","Attention: Captcha is case sensitive."
12
12
CAPTCHA,CAPTCHA
13
13
"Enable CAPTCHA in Admin","Enable CAPTCHA in Admin"
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ $captcha = $block->getCaptchaModel();
13
13
?>
14
14
<div class="admin__field _required">
15
15
<label for="captcha" class="admin__field-label">
16
- <span><?= $ block ->escapeHtml (__ ('Please enter the letters from the image ' )) ?> </span>
16
+ <span><?= $ block ->escapeHtml (__ ('Please enter the letters and numbers from the image ' )) ?> </span>
17
17
</label>
18
18
<div class="admin__field-control">
19
19
<input
Original file line number Diff line number Diff line change 12
12
$ captcha = $ block ->getCaptchaModel ();
13
13
?>
14
14
<div class="field captcha required" role="<?= $ block ->escapeHtmlAttr ($ block ->getFormId ()) ?> ">
15
- <label for="captcha_<?= $ block ->escapeHtmlAttr ($ block ->getFormId ()) ?> " class="label"><span><?= $ block ->escapeHtml (__ ('Please type the letters below ' )) ?> </span></label>
15
+ <label for="captcha_<?= $ block ->escapeHtmlAttr ($ block ->getFormId ()) ?> " class="label"><span><?= $ block ->escapeHtml (__ ('Please type the letters and numbers below ' )) ?> </span></label>
16
16
<div class="control captcha">
17
17
<input name="<?= $ block ->escapeHtmlAttr (\Magento \Captcha \Helper \Data::INPUT_NAME_FIELD_VALUE ) ?> [<?= $ block ->escapeHtmlAttr ($ block ->getFormId ()) ?> ]" type="text" class="input-text required-entry" data-validate="{required:true}" id="captcha_<?= $ block ->escapeHtmlAttr ($ block ->getFormId ()) ?> " />
18
18
<div class="nested">
@@ -23,7 +23,7 @@ $captcha = $block->getCaptchaModel();
23
23
"imageLoader": "<?= $ block ->escapeUrl ($ block ->getViewFileUrl ('images/loader-2.gif ' )) ?> ",
24
24
"type": "<?= $ block ->escapeHtmlAttr ($ block ->getFormId ()) ?> "}}'>
25
25
<div class="control captcha-image">
26
- <img alt="<?= $ block ->escapeHtmlAttr (__ ('Please type the letters below ' )) ?> " class="captcha-img" height="<?= /* @noEscape */ (float ) $ block ->getImgHeight () ?> " src="<?= $ block ->escapeUrl ($ captcha ->getImgSrc ()) ?> "/>
26
+ <img alt="<?= $ block ->escapeHtmlAttr (__ ('Please type the letters and numbers below ' )) ?> " class="captcha-img" height="<?= /* @noEscape */ (float ) $ block ->getImgHeight () ?> " src="<?= $ block ->escapeUrl ($ captcha ->getImgSrc ()) ?> "/>
27
27
<button type="button" class="action reload captcha-reload" title="<?= $ block ->escapeHtmlAttr (__ ('Reload captcha ' )) ?> "><span><?= $ block ->escapeHtml (__ ('Reload captcha ' )) ?> </span></button>
28
28
</div>
29
29
</div>
Original file line number Diff line number Diff line change 6
6
-->
7
7
<!-- ko if: (isRequired() && getIsVisible())-->
8
8
< div class ="field captcha required " data-bind ="blockLoader: getIsLoading() ">
9
- < label data-bind ="attr: {for: 'captcha_' + formId} " class ="label "> < span data-bind ="i18n: 'Please type the letters below' "> </ span > </ label >
9
+ < label data-bind ="attr: {for: 'captcha_' + formId} " class ="label "> < span data-bind ="i18n: 'Please type the letters and numbers below' "> </ span > </ label >
10
10
< div class ="control captcha ">
11
11
< input name ="captcha_string " type ="text " class ="input-text required-entry " data-bind ="value: captchaValue(), attr: {id: 'captcha_' + formId, 'data-scope': dataScope} " />
12
12
< input name ="captcha_form_id " type ="hidden " data-bind ="value: formId, attr: {'data-scope': dataScope} " />
13
13
< div class ="nested ">
14
14
< div class ="field captcha no-label ">
15
15
< div class ="control captcha-image ">
16
16
< img data-bind ="attr: {
17
- alt: $t('Please type the letters below'),
17
+ alt: $t('Please type the letters and numbers below'),
18
18
height: imageHeight(),
19
19
src: getImageSource(),
20
20
} "
You can’t perform that action at this time.
0 commit comments