Localization
-
Please add localization, or even better: Use an invariant pattern, that is removing all strings in English at all.
I manually fixed that in a primitive way by changing line 96 to
$ds_cf7_captcha.='<span class="cf7as-firstAct">'.$actnVal2.'</span> '.$random_actionVal.'<span class="cf7as-firstAct"> '.$actnVal1.'</span> ? <a href="javascript:void(0)" id='.$tag->name.' class="dscf7_refresh_captcha"><img class="dscf7_captcha_icon" src="'.DSCF7_PLUGIN_URL.'/assets/img/icons8-refresh-30.png"/><img class="dscf7_captcha_reload_icon" src="'.DSCF7_PLUGIN_URL.'/assets/img/446bcd468478f5bfb7b4e5c804571392_w200.gif" style="display:none; width:30px" /></a><br><span class="wpcf7-form-control-wrap '.$tag->name.'"> <input type="text" aria-invalid="false" aria-required="true" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" size="5" value="" name="'.$tag->name.'" placeholder="" style="width:200px;margin-bottom:10px;" oninput="this.value = this.value.replace(/[^0-9.]/g, \'\').replace(/(\..*)\./g, \'$1\');"></span></p>';
and line 121 to
$ds_cf7_captcha.='<span class="cf7as-firstAct">'.$actnVal2.'</span> '.$random_actionVal.'<span class="cf7as-firstAct"> '.$actnVal1.'</span> ? <a href="javascript:void(0)" id='.$tagName.' class="dscf7_refresh_captcha"><img class="dscf7_captcha_icon" src="'.DSCF7_PLUGIN_URL.'/assets/img/icons8-refresh-30.png"/><img class="dscf7_captcha_reload_icon" src="'.DSCF7_PLUGIN_URL.'/assets/img/446bcd468478f5bfb7b4e5c804571392_w200.gif" style="display:none; width:30px" /></a><br><span class="wpcf7-form-control-wrap '.$tagName.'"> <input type="text" aria-invalid="false" aria-required="true" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" size="5" value="" name="'.$tagName.'" placeholder="" style="width:200px;margin-bottom:10px;" oninput="this.value = this.value.replace(/[^0-9.]/g, \'\').replace(/(\..*)\./g, \'$1\');"></span>';
- The topic ‘Localization’ is closed to new replies.