mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
gui/bouquetlist.cpp: use locals for HD and other bouquets
Origin commit data
------------------
Branch: ni/coolstream
Commit: f5f819f598
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-03-29 (Thu, 29 Mar 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -81,7 +81,15 @@ CBouquetList::~CBouquetList()
|
|||||||
CBouquet* CBouquetList::addBouquet(CZapitBouquet * zapitBouquet)
|
CBouquet* CBouquetList::addBouquet(CZapitBouquet * zapitBouquet)
|
||||||
{
|
{
|
||||||
int BouquetKey= Bouquets.size();//FIXME not used ?
|
int BouquetKey= Bouquets.size();//FIXME not used ?
|
||||||
CBouquet* tmp = new CBouquet(BouquetKey, zapitBouquet->bFav ? g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME) : zapitBouquet->Name.c_str(), zapitBouquet->bLocked);
|
const char * bname;
|
||||||
|
if (zapitBouquet->bFav)
|
||||||
|
bname = g_Locale->getText(LOCALE_FAVORITES_BOUQUETNAME);
|
||||||
|
else if (zapitBouquet->bOther)
|
||||||
|
bname = g_Locale->getText(LOCALE_BOUQUETNAME_OTHER);
|
||||||
|
else
|
||||||
|
bname = zapitBouquet->Name.c_str();
|
||||||
|
|
||||||
|
CBouquet* tmp = new CBouquet(BouquetKey, bname, zapitBouquet->bLocked);
|
||||||
tmp->zapitBouquet = zapitBouquet;
|
tmp->zapitBouquet = zapitBouquet;
|
||||||
Bouquets.push_back(tmp);
|
Bouquets.push_back(tmp);
|
||||||
return tmp;
|
return tmp;
|
||||||
|
Reference in New Issue
Block a user