diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 6850db2f2..655822dcd 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -1338,6 +1338,9 @@ timing.infobar_movieplayer Infobar (Filmwiedergabe) timing.infobar_radio Infobar (Radiobetrieb) timing.menu MenĂ¼ timing.numericzap Umschalten mit Zifferntasten +unicable.lnb Unicable Eingang +unicable.qrg Unicable Frequenz +unicable.scr Unicable SCR upnpbrowser.head UPnP Browser upnpbrowser.noservers Kein UPnP-Server gefunden upnpbrowser.rescan Neue Suche diff --git a/data/locale/english.locale b/data/locale/english.locale index 04c103d8b..b275d7842 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -1338,6 +1338,9 @@ timing.infobar_movieplayer Infobar (movie mode) timing.infobar_radio Infobar (radio mode) timing.menu Menu timing.numericzap Numeric Zap +unicable.qrg Unicable Input +unicable.qrg Unicable Frequency +unicable.scr Unicable SCR upnpbrowser.head UPnP Browser upnpbrowser.noservers No UPnP servers found upnpbrowser.rescan Scan again diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 393d192af..fbf2c7c71 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -9,6 +9,8 @@ Copyright (C) 2011 T. Graf 'dbt' Homepage: http://www.dbox2-tuning.net/ + Copyright (C) 2011-2012 Stefan Seyfried + License: GPL This program is free software; you can redistribute it and/or modify @@ -551,6 +553,9 @@ void CScanSetup::addScanMenuTempSat(CMenuWidget *temp_sat) CMenuOptionNumberChooser *diseqc = new CMenuOptionNumberChooser(LOCALE_SATSETUP_DISEQC_INPUT, &sit->second.diseqc, ((dmode != NO_DISEQC) && (dmode != DISEQC_ADVANCED)), -1, 15, NULL, 1, -1, LOCALE_OPTIONS_OFF); CMenuOptionNumberChooser *comm = new CMenuOptionNumberChooser(LOCALE_SATSETUP_COMM_INPUT, &sit->second.commited, dmode == DISEQC_ADVANCED, -1, 15, NULL, 1, -1, LOCALE_OPTIONS_OFF); CMenuOptionNumberChooser *uncomm = new CMenuOptionNumberChooser(LOCALE_SATSETUP_UNCOMM_INPUT, &sit->second.uncommited, dmode == DISEQC_ADVANCED, -1, 15, NULL, 1, -1, LOCALE_OPTIONS_OFF); + CMenuOptionNumberChooser *uniscr = new CMenuOptionNumberChooser(LOCALE_UNICABLE_SCR, &sit->second.unicable_scr, true, -1, 7, NULL, 0, -1, LOCALE_OPTIONS_OFF); + CIntInput *uniqrg = new CIntInput(LOCALE_UNICABLE_QRG, (int&) sit->second.unicable_qrg, 4, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE); + CMenuOptionNumberChooser *unilnb = new CMenuOptionNumberChooser(LOCALE_UNICABLE_LNB, &sit->second.unicable_lnb, true, 0, 1); //CMenuOptionNumberChooser *motor = new CMenuOptionNumberChooser(LOCALE_SATSETUP_MOTOR_POS, &sit->second.motor_position, dmode == DISEQC_ADVANCED, 0, 64, NULL, 0, 0, LOCALE_OPTIONS_OFF); CMenuOptionNumberChooser *motor = new CMenuOptionNumberChooser(LOCALE_SATSETUP_MOTOR_POS, &sit->second.motor_position, true, 0, 64, NULL, 0, 0, LOCALE_OPTIONS_OFF); //CMenuOptionChooser *usals = new CMenuOptionChooser(LOCALE_EXTRA_USE_GOTOXX, &sit->second.use_usals, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, dmode == DISEQC_ADVANCED); @@ -572,6 +577,9 @@ void CScanSetup::addScanMenuTempSat(CMenuWidget *temp_sat) temp_sat->addItem(diseqc); temp_sat->addItem(comm); temp_sat->addItem(uncomm); + temp_sat->addItem(uniscr); + temp_sat->addItem(new CMenuForwarder(LOCALE_UNICABLE_QRG, true, uniqrg->getValue(), uniqrg)); + temp_sat->addItem(unilnb); temp_sat->addItem(motor); temp_sat->addItem(usals); temp_sat->addItem(new CMenuForwarder(LOCALE_SATSETUP_LOFL, true, lofL->getValue(), lofL)); diff --git a/src/system/locals.h b/src/system/locals.h index 706a9fca8..e1fb63cad 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -1365,6 +1365,9 @@ typedef enum LOCALE_TIMING_INFOBAR_RADIO, LOCALE_TIMING_MENU, LOCALE_TIMING_NUMERICZAP, + LOCALE_UNICABLE_LNB, + LOCALE_UNICABLE_QRG, + LOCALE_UNICABLE_SCR, LOCALE_UPNPBROWSER_HEAD, LOCALE_UPNPBROWSER_NOSERVERS, LOCALE_UPNPBROWSER_RESCAN, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index 9ad56f2da..8e780759a 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -1054,7 +1054,7 @@ const char * locale_real_names[] = "personalize.notprotected", "personalize.notvisible", "personalize.pin", - "personalize.pin_in_use", + "personalize.pin_in_use", "personalize.pincode", "personalize.pinhint", "personalize.pinprotect", @@ -1365,6 +1365,9 @@ const char * locale_real_names[] = "timing.infobar_radio", "timing.menu", "timing.numericzap", + "unicable.lnb", + "unicable.qrg", + "unicable.scr", "upnpbrowser.head", "upnpbrowser.noservers", "upnpbrowser.rescan",