Page 1 of 1

JSite::getMenu() Warning, German translation of Albums

Posted: Wed Feb 12, 2014 1:14 pm
by uweS
Hi, I have 3 minor bugs found:

1st:
after installing your component on Joomla 3.1.5 I receive a warning on the Frontend.

Workaround:

Change in com_admirorgallery\site\views\layout\tmpl\default.php to

JFactory::getApplication()->getMenu()

solved the problem.

2nd:
In com_admirorgallery\admirorgallery\admirorgallery\templates\galleryView\index.php there is al line
$html.= '<h1>'.JText::_( 'Albums' ).'</h1>'."\n";

But in German Albums is called Alben.
Where can I modify this, because Albums looks strange ;)

3rd:
If I switch my language in the backend into german some translations are missing:

COM_ADMIRORGALLERY_CONFIGURATION_BASIC
COM_ADMIRORGALLERY_COMPONENT_VERSION
COM_ADMIRORGALLERY_PLUGIN_VERSION
COM_ADMIRORGALLERY_BUTTON_VERSION
COM_ADMIRORGALLERY_CONFIGURATION_ADVANCED
COM_ADMIRORGALLERY_DESCRIPTION
COM_ADMIRORGALLERY_CONFIGURATION_STYLES
COM_ADMIRORGALLERY_MENU


Regards Uwe

Re: JSite::getMenu() Warning, German translation of Albums

Posted: Thu Feb 13, 2014 4:02 pm
by Vasiljevski
1:
Great, I will check and add your fix, thanks :)

2 and 3:
You need to update language files:
administrator\language\de-DE\de-DE.com_admirorgallery.ini
administrator\language\de-DE\de-DE.plg_content_admirorgallery.ini

I changed some definitions and added some new defines, so probably I missed updating other language file.

If not to much to ask, could you post these language files after you update them? :) I would be grateful.

Re: JSite::getMenu() Warning, German translation of Albums

Posted: Thu Feb 13, 2014 5:09 pm
by uweS
shure !