Undefined language constants

Phoca Gallery - image gallery extension
dr.archik
Phoca Member
Phoca Member
Posts: 23
Joined: 14 Aug 2009, 23:05

Undefined language constants

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Undefined language constants

Post by Jan »

Thank you, I will change it in the next version.

Jan
If you find Phoca extensions useful, please support the project
User avatar
alphastar
Phoca Member
Phoca Member
Posts: 10
Joined: 31 Jan 2009, 17:31
Location: Donetsk, Ukraine
Contact:

Re: Undefined language constants

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Undefined language constants

Post 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
If you find Phoca extensions useful, please support the project
Post Reply