hi nik,
this make things much easier and actually takes me back to my first post in this thread (i am not joking)
so to confirm this is how things should be in v3.0.5
1) the dropdown menu works as planned. If you use the function
getComponentName() in the plugin it will use the text defined in there, else it will default to a translation (component dependent) COM_KOMENTO_COM_RSFEEDBACK which is manually set
2) the tab menu should work the same - If you use the function
getTabTitle() in the plugin it will use the text defined in there, else it will default to a translation (component dependent) COM_KOMENTO_SETTINGS_TAB_COM_RSFEEDBACK_SETTINGS which is manually set
-------------
Tab Translation issue
In my example, the tab menu fallback mechanism is loading
COM_KOMENTO_SETTINGS_TAB_COM_COMPONENT_SETTINGS not
COM_KOMENTO_SETTINGS_TAB_COM_RSFEEDBACK_SETTINGS causing an incorrect translation to be displayed.
This is most likely a small typo where the word
component is used to build the constant string rather than the name of the component such as
rsfeedback
I have not tried the code Arlex has made, perhaps this fixed it. I have not tried it because first I needed the bug to be recognized so i know what is going on and I have got a little frustrated (sorry).
I can find the code responsible if really needed.
shoulders
here is the code that is at fault (abstract.php)
public function getTabTitle()
{
return JText::_('COM_KOMENTO_SETTINGS_TAB_COM_COMPONENT_SETTINGS');
}
it should be (abstract.php)
public function getTabTitle()
{
return JText::_('COM_KOMENTO_SETTINGS_TAB_COM_' . strtoupper( $this->component ) . '_SETTINGS');
}