Translation.h: reorder items in SettingsItemIndex properly and add the comment

This commit is contained in:
Ivan Zorin
2025-02-17 20:46:29 +03:00
parent 362713ae56
commit 0ede3ec687

View File

@@ -54,6 +54,11 @@ extern const char *DebugMenu[];
extern const char *AccelTypeNames[];
extern const char *PowerSourceNames[];
/* !
* The order of the items inside this enum class SettingsItemIndex
* must be the same as the order of the related items
* in the "menuOptions" section of translations_definitions.json file.
*/
enum class SettingsItemIndex : uint8_t {
DCInCutoff,
MinVolCell,
@@ -90,6 +95,7 @@ enum class SettingsItemIndex : uint8_t {
CooldownBlink,
ScrollingSpeed,
ReverseButtonTempChange,
ReverseButtonMenu,
AnimSpeed,
AnimLoop,
Brightness,
@@ -107,7 +113,6 @@ enum class SettingsItemIndex : uint8_t {
SettingsReset,
LanguageSwitch,
SolderingTipType,
ReverseButtonMenu,
NUM_ITEMS,
};