When you enter a user name with a length of one character (for example p) in the registration form, the following error message is displayed after validation:
Please enter a valid Username. No spaces, no more than 2 characters and should contain only 0-9,a-z,A-Z"
instead of:
Please enter a valid %s. No spaces, no less than 2 characters and should contain only 0-9,a-z,A-Z"
see code in usershop.php file:
...
if ($this->u_name!=''){
if (preg_match("#[<>\"'%;()&]#i", $this->u_name) || strlen(utf8_decode($this->u_name )) < 2){
$this->_error = sprintf(addslashes(_JSHOP_VALID_AZ09),addslashes(_JSHOP_USERNAME),2);
return false;
}
...
-----------
For slovak laguage file sk-SK.php then correctly:
define('_JSHOP_VALID_AZ09',"Prosím vložte platné %s. Bez medzier a najmenej %d znakov; môžu byť použité iba tieto znaky: 0-9,a-z,A-Z");
instead of:
define('_JSHOP_VALID_AZ09',"Prosím vložte platné %s. Bez medzier a nie viac ako %d znakov, môžu byť použité iba tieto znaky: 0-9,a-z,A-Z");
Joomla: all
JoomShopping: all
JoomShopping: all