mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CComponentsItemBox: use also locales in overloaded methode addText()
This commit is contained in:
@@ -918,6 +918,11 @@ void CComponentsItemBox::addText(const std::string& s_text, const int align, siz
|
||||
addElement(align, CC_ITEMBOX_TEXT, s_text, index);
|
||||
}
|
||||
|
||||
void CComponentsItemBox::addText(neutrino_locale_t locale_text, const int align, size_t *index)
|
||||
{
|
||||
addElement(align, CC_ITEMBOX_TEXT, g_Locale->getText(locale_text), index);
|
||||
}
|
||||
|
||||
void CComponentsItemBox::addIcon(const std::string& s_icon_name, const int align, size_t *index)
|
||||
{
|
||||
addElement(align, CC_ITEMBOX_ICON, s_icon_name, index);
|
||||
|
Reference in New Issue
Block a user