chore: improve translation string management (#6502)

This commit is contained in:
philmoz
2025-10-05 13:04:17 +10:00
committed by GitHub
parent 92b0637b01
commit 6a37b3d4bc
129 changed files with 9883 additions and 6544 deletions
+2 -10
View File
@@ -205,14 +205,6 @@ extern void cancelSplash();
extern uint8_t heartbeat;
#define LEN_STD_CHARS 40
#if defined(TRANSLATIONS_CZ)
#define ZCHAR_MAX (LEN_STD_CHARS)
#else
#define ZCHAR_MAX (LEN_STD_CHARS + LEN_SPECIAL_CHARS)
#endif
#include "keys.h"
#include "pwr.h"
@@ -555,7 +547,7 @@ enum AUDIO_SOUNDS {
#endif
#include "buzzer.h"
#include "translations.h"
#include "translations/translations.h"
#if defined(HAPTIC)
#include "haptic.h"
@@ -665,7 +657,7 @@ union ReusableBuffer
char originalName[SD_SCREEN_FILE_LENGTH+1];
#if defined(PXX2)
OtaUpdateInformation otaUpdateInformation;
char otaReceiverVersion[sizeof(TR_CURRENT_VERSION) + 12];
char otaReceiverVersion[64]; // Large enough for TR_CURRENT_VERSION string plus version number
#endif
} sdManager;