gui/scan_setup: add unit to fe timeout chooser

(and add unit-locals from martiis-neutrino-mp)


Origin commit data
------------------
Commit: 60e6647244
Author: martii <m4rtii@gmx.de>
Date: 2013-12-21 (Sat, 21 Dec 2013)
This commit is contained in:
martii
2013-12-21 22:02:09 +01:00
committed by vanhofen
parent 6aaa91242a
commit b70b1ca168
5 changed files with 20 additions and 2 deletions

View File

@@ -434,7 +434,7 @@ extra.volume_pos Lautstärkeanzeige
extra.volume_size Höhe der Anzeige
extra.west Westen
extra.zap_cycle Zap nur in Bouquet
extra.zapit_fe_timeout Tuning Timeout (1=10ms)
extra.zapit_fe_timeout Tuning Timeout
extra.zapit_hvoltage High (13.5/ 18.5) Voltage
extra.zapit_make_bouquet Kanalliste auffüllen
extra.zapit_motor_speed Rotor Drehzeit (10 = 1°/ sec)
@@ -1947,6 +1947,10 @@ timing.volumebar Lautstärkeanzeige
unicable.lnb Unicable Eingang
unicable.qrg Unicable Frequenz
unicable.scr Unicable SCR
unit.short.hour h
unit.short.millisecond ms
unit.short.minute min
unit.short.second s
upnpbrowser.head UPnP Browser
upnpbrowser.noservers Kein UPnP-Server gefunden
upnpbrowser.rescan Neue Suche

View File

@@ -434,7 +434,7 @@ extra.volume_pos Volumebar
extra.volume_size Height of display
extra.west West
extra.zap_cycle Zap cycle
extra.zapit_fe_timeout Tune timeout (1 = 10 msec)
extra.zapit_fe_timeout Tune timeout
extra.zapit_hvoltage 18V for rotor moving
extra.zapit_make_bouquet Make Remaining Channels list
extra.zapit_motor_speed Motor moving speed (10 = 1deg/sec)
@@ -1947,6 +1947,10 @@ timing.volumebar Volume bar
unicable.lnb Unicable Input
unicable.qrg Unicable Frequency
unicable.scr Unicable SCR
unit.short.hour h
unit.short.millisecond ms
unit.short.minute min
unit.short.second s
upnpbrowser.head UPnP Browser
upnpbrowser.noservers No UPnP servers found
upnpbrowser.rescan Scan again

View File

@@ -440,6 +440,7 @@ int CScanSetup::showScanMenu()
//tune timeout
if(CFEManager::getInstance()->getFrontendCount() <= 1) {
CMenuOptionNumberChooser * nc = new CMenuOptionNumberChooser(LOCALE_EXTRA_ZAPIT_FE_TIMEOUT, (int *)&zapitCfg.feTimeout, true, 6, 100);
nc->setNumberFormat(std::string("%d0 ") + g_Locale->getText(LOCALE_UNIT_SHORT_MILLISECOND));
nc->setHint("", LOCALE_MENU_HINT_SCAN_FETIMEOUT);
settings->addItem(nc);
}
@@ -560,6 +561,7 @@ int CScanSetup::showScanMenuFrontendSetup()
frontendSetup = mf;
}
CMenuOptionNumberChooser * nc = new CMenuOptionNumberChooser(LOCALE_EXTRA_ZAPIT_FE_TIMEOUT, (int *)&zapitCfg.feTimeout, true, 6, 100);
nc->setNumberFormat(std::string("%d0 ") + g_Locale->getText(LOCALE_UNIT_SHORT_MILLISECOND));
nc->setHint("", LOCALE_MENU_HINT_SCAN_FETIMEOUT);
setupMenu->addItem(nc);

View File

@@ -1974,6 +1974,10 @@ typedef enum
LOCALE_UNICABLE_LNB,
LOCALE_UNICABLE_QRG,
LOCALE_UNICABLE_SCR,
LOCALE_UNIT_SHORT_HOUR,
LOCALE_UNIT_SHORT_MILLISECOND,
LOCALE_UNIT_SHORT_MINUTE,
LOCALE_UNIT_SHORT_SECOND,
LOCALE_UPNPBROWSER_HEAD,
LOCALE_UPNPBROWSER_NOSERVERS,
LOCALE_UPNPBROWSER_RESCAN,

View File

@@ -1974,6 +1974,10 @@ const char * locale_real_names[] =
"unicable.lnb",
"unicable.qrg",
"unicable.scr",
"unit.short.hour",
"unit.short.millisecond",
"unit.short.minute",
"unit.short.second",
"upnpbrowser.head",
"upnpbrowser.noservers",
"upnpbrowser.rescan",