chore: Translated curve types (#3319)

* Added translation of curve types

Added translation string STR_VCURVETYPE

* Added STR_VCURVETYPE

* Added translation of curve types

* Added translation of curve types

* Added translation of curve type

Added 
#define TR_VCURVETYPE  "Diff","Expo","Func","Cstm" 
for translations of curve types

* DA translated

* CN translated

* TW translated

* IT translated

* Update da.h

* DE translated

* FR translated

* CZ translated

* chore: Remove trailing whitespace
This commit is contained in:
ulfhedlund
2023-03-08 11:53:14 +10:00
committed by GitHub
parent 42fb0eccf7
commit a416548ecc
19 changed files with 58 additions and 58 deletions
+1 -3
View File
@@ -104,8 +104,6 @@ void menuModelCurvesAll(event_t event)
}
}
static const char* _curve_types[] = {"Diff","Expo","Func","Cstm"};
void editCurveRef(coord_t x, coord_t y, CurveRef & curve, event_t event, LcdFlags flags)
{
coord_t x1 = x;
@@ -127,7 +125,7 @@ void editCurveRef(coord_t x, coord_t y, CurveRef & curve, event_t event, LcdFlag
flags1 = 0;
}
lcdDrawTextAtIndex(x1, y, _curve_types, curve.type, flags1);
lcdDrawTextAtIndex(x1, y, STR_VCURVETYPE, curve.type, flags1);
if (active && menuHorizontalPosition==0) {
CHECK_INCDEC_MODELVAR_ZERO(event, curve.type, CURVE_REF_CUSTOM);