[quote="ajb":2wj8ybg1]Hi,
it depends on your code. Translation logic has been changed, so there is no direct answer "use this instead of ht". Just read carefully wiki page, that Jasiek pointed out.
Regards,
Adam[/quote:2wj8ybg1]
That's...not altogether helpful, sorry :-\ .
So let me clarify a bit then. I'm adding buttons to the ActionBar, which on the wiki page for the ActionBar, states that "hidden translation should be used for ActionBar button labels." Source (http://www.epesi.org/Base/ActionBar), expanded a little:
[quote:2wj8ybg1]
For example, to create button that will launch module method delete_entry, using icon delete and description Delete you can use the following:
Base_ActionBarCommon::add('delete',$lang->ht('Delete'),$this->create_callback_href(array($this,'delete_entry'),$id));
Where $lang is object of Base/Lang module. Please note that hidden translation should be used for ActionBar button labels.
[/quote:2wj8ybg1]
Given what I've seen on the page for Base/Lang, that information appears to be out-of-date, given that you don't need to pack a Base/Lang object in order to use translation anymore. In this particular situation, I would assume the use of __(). Would I be correct in my assumption?
Thanks!