diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index f39bb1deb..aea914dd6 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -83,6 +83,7 @@ bookmarkmanager.select Auswählen bouqueteditor.add Zufügen bouqueteditor.bouquetname Name des Bouquets bouqueteditor.delete Löschen +bouqueteditor.delete_question Soll der Kanal von diesem Bukett gelöschet werden? bouqueteditor.discardingchanges Änderungen werden verworfen. Bitte warten ... bouqueteditor.hide Verstecken bouqueteditor.lock Sperren diff --git a/data/locale/english.locale b/data/locale/english.locale index adce07ac1..23f2fc1bc 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -194,6 +194,7 @@ bookmarkmanager.select select bouqueteditor.add Add bouqueteditor.bouquetname Name of bouquets bouqueteditor.delete Delete +bouqueteditor.delete_question Delete channel from bouquet? bouqueteditor.discardingchanges Discarding changes. Please be patient. bouqueteditor.hide Hide bouqueteditor.lock Lock diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 554bcedfe..347c781f7 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -351,7 +351,7 @@ int CChannelList::doChannelMenu(void) switch(select) { case 0: hide(); - result = ShowMsgUTF ( LOCALE_BOUQUETEDITOR_DELETE, "Delete channel from bouquet?", CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo ); + result = ShowMsgUTF ( LOCALE_BOUQUETEDITOR_DELETE, g_Locale->getText(LOCALE_BOUQUETEDITOR_DELETE_QUESTION), CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo ); if(result == CMessageBox::mbrYes) { bouquet_id = bouquetList->getActiveBouquetNumber(); @@ -1025,7 +1025,7 @@ printf("**************************** CChannelList::zapTo_ChannelID %llx\n", chan /* forceStoreToLastChannels defaults to false */ /* TODO make this private to call only from "current" list, where selected/pos not means channel number */ -void CChannelList::zapTo(int pos, bool forceStoreToLastChannels) +void CChannelList::zapTo(int pos, bool /* forceStoreToLastChannels */) { if (chanlist.empty()) { DisplayErrorMessage(g_Locale->getText(LOCALE_CHANNELLIST_NONEFOUND)); // UTF-8 diff --git a/src/system/locals.h b/src/system/locals.h index c5f3b6342..5b8e27907 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -207,6 +207,7 @@ typedef enum { LOCALE_BOUQUETEDITOR_ADD, LOCALE_BOUQUETEDITOR_BOUQUETNAME, LOCALE_BOUQUETEDITOR_DELETE, + LOCALE_BOUQUETEDITOR_DELETE_QUESTION, LOCALE_BOUQUETEDITOR_DISCARDINGCHANGES, LOCALE_BOUQUETEDITOR_HIDE, LOCALE_BOUQUETEDITOR_LOCK, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index 0b4cdafa8..7645d4151 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -207,6 +207,7 @@ const char *locale_real_names[] = { "bouqueteditor.add", "bouqueteditor.bouquetname", "bouqueteditor.delete", + "bouqueteditor.delete_question", "bouqueteditor.discardingchanges", "bouqueteditor.hide", "bouqueteditor.lock",