mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 11:59:50 +03:00
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:
parent
77925f6abc
commit
0906bdc6d7
14 changed files with 27 additions and 26 deletions
|
@ -294,7 +294,8 @@ char * getSwitchString(char * dest, swsrc_t idx)
|
|||
#endif
|
||||
|
||||
else if (idx <= SWSRC_LAST_LOGICAL_SWITCH) {
|
||||
strAppendStringWithIndex(s, "L", idx-SWSRC_FIRST_LOGICAL_SWITCH+1);
|
||||
*s++ = 'L';
|
||||
strAppendUnsigned(s, idx-SWSRC_FIRST_LOGICAL_SWITCH+1, 2);
|
||||
}
|
||||
else if (idx <= SWSRC_ONE) {
|
||||
getStringAtIndex(s, STR_VSWITCHES, IDX_ON_IN_STR_VSWITCHES + idx - SWSRC_ON);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue