incorrect string for _JSHOP_VALID_AZ09 in all languages

19.08.2014 10:27
#1
pitu
Joomshopping forum user no avatar
Name: Peter
19.08.2014
Posts: 7
Quote
incorrect string for _JSHOP_VALID_AZ09 in all languages

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
 
20.08.2014 16:51
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25856
Quote
Aw: incorrect string for _JSHOP_VALID_AZ09 in all languages

Thank you.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.