File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ Always,Always
44"Incorrect CAPTCHA","Incorrect CAPTCHA"
55"Incorrect CAPTCHA.","Incorrect CAPTCHA."
66"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"
88"<strong>Attention</strong>: Captcha is case sensitive.","<strong>Attention</strong>: Captcha is case sensitive."
99"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"
1111"Attention: Captcha is case sensitive.","Attention: Captcha is case sensitive."
1212CAPTCHA,CAPTCHA
1313"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();
1313?>
1414<div class="admin__field _required">
1515 <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>
1717 </label>
1818 <div class="admin__field-control">
1919 <input
Original file line number Diff line number Diff line change 1212$ captcha = $ block ->getCaptchaModel ();
1313?>
1414<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>
1616 <div class="control captcha">
1717 <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 ()) ?> " />
1818 <div class="nested">
@@ -23,7 +23,7 @@ $captcha = $block->getCaptchaModel();
2323 "imageLoader": "<?= $ block ->escapeUrl ($ block ->getViewFileUrl ('images/loader-2.gif ' )) ?> ",
2424 "type": "<?= $ block ->escapeHtmlAttr ($ block ->getFormId ()) ?> "}}'>
2525 <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 ()) ?> "/>
2727 <button type="button" class="action reload captcha-reload" title="<?= $ block ->escapeHtmlAttr (__ ('Reload captcha ' )) ?> "><span><?= $ block ->escapeHtml (__ ('Reload captcha ' )) ?> </span></button>
2828 </div>
2929 </div>
Original file line number Diff line number Diff line change 66-->
77<!-- ko if: (isRequired() && getIsVisible())-->
88< 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 >
1010 < div class ="control captcha ">
1111 < input name ="captcha_string " type ="text " class ="input-text required-entry " data-bind ="value: captchaValue(), attr: {id: 'captcha_' + formId, 'data-scope': dataScope} " />
1212 < input name ="captcha_form_id " type ="hidden " data-bind ="value: formId, attr: {'data-scope': dataScope} " />
1313 < div class ="nested ">
1414 < div class ="field captcha no-label ">
1515 < div class ="control captcha-image ">
1616 < img data-bind ="attr: {
17- alt: $t('Please type the letters below'),
17+ alt: $t('Please type the letters and numbers below'),
1818 height: imageHeight(),
1919 src: getImageSource(),
2020 } "
You can’t perform that action at this time.
0 commit comments