From 80b0b38acea49ffeaee0730c4f8fd63be6489576 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Fri, 29 May 2020 00:44:16 +0200 Subject: [PATCH] scan-setup: cosmetics Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/08a8b056c784dac5fe839f45ffe750c9c116a12f Author: TangoCash Date: 2020-05-29 (Fri, 29 May 2020) Origin message was: ------------------ - scan-setup: cosmetics ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/scan_setup.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index b404e8517..ea033cad4 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -1218,7 +1218,10 @@ int CScanSetup::showScanMenuLnbSetup() addScanMenuTempSat(tempsat, sit->second); char opt[100]; - sprintf(opt, "diseqc %2d / rotor %2d", sit->second.diseqc+1, sit->second.motor_position); + if ((fe->getDiseqcType() == DISEQC_UNICABLE ) || (fe->getDiseqcType() == DISEQC_UNICABLE2 )) + sprintf(opt, "%s %2d", g_Locale->getText(LOCALE_UNICABLE_LNB), sit->second.diseqc); + else + sprintf(opt, "diseqc %2d / rotor %2d", sit->second.diseqc+1, sit->second.motor_position); satoptions.push_back(opt); CMenuForwarder * mf = new CMenuForwarder(satname.c_str(), true, satoptions[count].c_str(), tempsat); mf->setHint("", LOCALE_MENU_HINT_SCAN_LNBCONFIG);