WiP: String arrays for translations

DE, EN, FI, FR are done, now we need all the other languages
This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent db684893e2
commit 56bec5ca3a
21 changed files with 3369 additions and 2547 deletions
+2 -4
View File
@@ -151,11 +151,9 @@ char *strcat_zchar(char *dest, const char *name, uint8_t size,
#endif
#if !defined(BOOT)
char *getStringAtIndex(char *dest, const char *s, int idx)
char *getStringAtIndex(char *dest, const char **s, int idx)
{
uint8_t len = s[0];
strncpy(dest, s + 1 + len * idx, len);
dest[len] = '\0';
strcpy(dest, s[idx]);
return dest;
}