1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-14 03:49:52 +03:00

Fix CN and TW

This commit is contained in:
3djc 2020-12-19 09:09:11 +01:00
parent 7d2178cb5c
commit cda66fa13b
2 changed files with 3 additions and 4 deletions

View file

@ -1024,9 +1024,8 @@ void ModelSetupPage::build(FormWindow * window)
TimerData * timer = &g_model.timers[i]; TimerData * timer = &g_model.timers[i];
// Timer label // Timer label
char timerLabel[8]; strAppendStringWithIndex(reusableBuffer.moduleSetup.msg, STR_TIMER, i + 1);
strAppendStringWithIndex(timerLabel, STR_TIMER, i + 1); new Subtitle(window, grid.getLineSlot(), reusableBuffer.moduleSetup.msg);
new Subtitle(window, grid.getLineSlot(), timerLabel);
grid.nextLine(); grid.nextLine();
auto group = new FormGroup(window, grid.getFieldSlot(), FORM_BORDER_FOCUS_ONLY | PAINT_CHILDREN_FIRST); auto group = new FormGroup(window, grid.getFieldSlot(), FORM_BORDER_FOCUS_ONLY | PAINT_CHILDREN_FIRST);

View file

@ -214,7 +214,7 @@ fi
if [[ " TX16S COLORLCD ALL " =~ \ ${FLAVOR}\ ]] ; then if [[ " TX16S COLORLCD ALL " =~ \ ${FLAVOR}\ ]] ; then
# OpenTX on TX16S boards # OpenTX on TX16S boards
rm -rf ./* || true rm -rf ./* || true
cmake "${COMMON_OPTIONS}" -DPCB=X10 -DPCBREV=TX16S -DHELI=YES -DLUA=YES -DGVARS=YES "${SRCDIR}" cmake "${COMMON_OPTIONS}" -DPCB=X10 -DPCBREV=TX16S -DHELI=YES -DLUA=YES -DGVARS=YES -DTRANSLATIONS=CN "${SRCDIR}"
make -j"${CORES}" ${FIRMARE_TARGET} make -j"${CORES}" ${FIRMARE_TARGET}
make -j"${CORES}" libsimulator make -j"${CORES}" libsimulator
make -j"${CORES}" tests-radio make -j"${CORES}" tests-radio