Hello Kostelano,
Thanks for your reply.
I have already found that too, but couldn't find a way to replace the text by a translation variable from language.ini file.
There is another file in:
administrator/components/com_phocadownload/libraries/phocadownload/file/fileuploadmultiple.php
BTW ..administrator/.. is the correct location to me for this issue.
There you can find the following (js) code:
Code: Select all
132 $js = 'var pgJQ = jQuery.noConflict();';
133
134 $js .='pgJQ(function() {'."\n";
135
136 $js.=''."\n";
137 $js.=' plupload.addI18n({'."\n";
138 $js.=' \'Select files\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_SELECT_FILES')).'\','."\n";
139 $js.=' \'Add files to the upload queue and click the start button.\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_ADD_FILES_TO_UPLOAD_QUEUE_AND_CLICK_START_BUTTON')).'\','."\n";
140 $js.=' \'Filename\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_FILENAME')).'\','."\n";
141 $js.=' \'Status\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_STATUS')).'\','."\n";
142 $js.=' \'Size\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_SIZE')).'\','."\n";
143 $js.=' \'Add files\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_ADD_FILES')).'\','."\n";
144 $js.=' \'Start upload\':\''.addslashes(JText::_('COM_PHOCADOWNLOAD_START_UPLOAD')).'\','."\n";
145 $js.=' \'Stop current upload\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_STOP_CURRENT_UPLOAD')).'\','."\n";
146 $js.=' \'Start uploading queue\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_START_UPLOADING_QUEUE')).'\','."\n";
147 $js.=' \'Drag files here.\' : \''.addslashes(JText::_('COM_PHOCADOWNLOAD_DRAG_FILES_HERE')).'\''."\n";
148 $js.=' });';
149 $js.=''."\n";
As you can see in lines 143, 144 the translation should happen there.
Only these two text items don't work. The other ones are translated correctly.
I guess there's something mixed up between site and backend and Jan should have a look at.
Regards Mike