Adjust logical switch abbreviations. (#4965)
* [Companion] Change logical switch abbreviations to "LS##" in Source/Switch selection lists. * [LogicalSwitchesPanel] Normalize LS name label. * We had decided on "Lxx" * Match firmware side * ARM wasn't using the translations * Update strhelpers.cpp
This commit is contained in:
committed by
Bertrand Songis
parent
77925f6abc
commit
0906bdc6d7
@@ -48,7 +48,7 @@ LogicalSwitchesPanel::LogicalSwitchesPanel(QWidget * parent, ModelData & model,
|
||||
// The label
|
||||
QLabel * label = new QLabel(this);
|
||||
label->setProperty("index", i);
|
||||
label->setText(tr("L%1").arg(i+1));
|
||||
label->setText(RawSwitch(SWITCH_TYPE_VIRTUAL, i+1).toString());
|
||||
label->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
label->setMouseTracking(true);
|
||||
label->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum);
|
||||
|
||||
Reference in New Issue
Block a user