Page 1 of 1

Undefined language constants

Posted: 07 Jun 2010, 04:49
by dr.archik
File www\components\com_phocagallery\views\user\tmpl\default_subcategories.php
line #7 JText::_('Your Main Category is unpublished')
------
line #224 JText::_('Main Category is not created')
------
File www\components\com_phocagallery\controllers\user.php
line #660 JText::_("Please select Category");

The language constant`s isn't defined in language file !
It conducts to transfer problem!

Re: Undefined language constants

Posted: 09 Jun 2010, 13:06
by Jan
Thank you, I will change it in the next version.

Jan

Re: Undefined language constants

Posted: 06 Jul 2010, 18:38
by alphastar
Hi Jan.

There is one undefined language constant when user try to upload 2 identical files from frontend - "File already exists".

May be it is in some of these files

\assets\upload\uploader.js
\front\controllers\category.php
\controllers\phocagalleryu.php
\front\controllers\user.php


But one of joomlaforum.ru members supposed it is here \assets\upload\uploader.js

Roman

Re: Undefined language constants

Posted: 08 Jul 2010, 20:51
by Jan
Hi, if this is in the js file, there is a problem because javascripts files cannot be translated the same way as php files included in Joomla! framework, so translating js files needs to be customized :-( :-(

Jan