chore(color): Add translation for left stick (#2655)
* TR_LEFT_STICK added * STR_LEFT_STICK added * Added translation for stick mode * TR_LEFT_STICK added * Minor cleanup - removed one commented line of code * Replaced radio specific define * Added proper translations from translators * chore: Whitespace cleanup
This commit is contained in:
@@ -733,12 +733,10 @@ void RadioSetupPage::build(FormWindow * window)
|
||||
resumePulses();
|
||||
});
|
||||
choice->setTextHandler([](uint8_t value) {
|
||||
return std::to_string(1 + value) + ": left=" +
|
||||
return std::to_string(1 + value) + ": " + STR_LEFT_STICK + " = " +
|
||||
std::string(&getSourceString(MIXSRC_Rud + modn12x3[4 * value])[1]) +
|
||||
"+" +
|
||||
std::string(
|
||||
&getSourceString(MIXSRC_Rud + modn12x3[4 * value + 1])[1]);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user