From 754c520aed3ef05d01c118f97c01610067133b2d Mon Sep 17 00:00:00 2001 From: TangoCash Date: Fri, 29 May 2020 00:44:16 +0200 Subject: [PATCH] - scan-setup: cosmetics --- 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 827a702c8..ad2ae5fbb 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -1205,7 +1205,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);