Go to the source code of this file.
|
const char * | lang_get_translation (const char *s) |
|
uint8_t | lang_select (uint8_t lang) |
| selects language, eeprom is updated in case of success
|
|
uint8_t | lang_check (uint16_t addr) |
| performs checksum test of secondary language data
|
|
uint8_t | lang_get_count (void) |
|
uint8_t | lang_get_header (uint8_t lang, lang_table_header_t *header, uint32_t *offset) |
| reads lang table header and offset in xflash or progmem
|
|
uint16_t | lang_get_code (uint8_t lang) |
| reads lang code from xflash or progmem
|
|
const char * | lang_get_name_by_code (uint16_t code) |
|
void | lang_reset (void) |
| reset language to "LANG_ID_FORCE_SELECTION", epprom is updated
|
|
uint8_t | lang_is_selected (void) |
|
const char * | lang_get_sec_lang_str_by_id (uint16_t id) |
|
uint16_t | lang_print_sec_lang () |
|
void | lang_boot_update_start (uint8_t lang) |
|
|
uint8_t | lang_selected |
| Currectly active language selection.
|
|
const char | _SEC_LANG [LANG_SIZE_RESERVED] |
|
◆ lang_get_count()
uint8_t lang_get_count |
( |
void |
| ) |
|
- Returns
- total number of languages (primary + all in xflash)
◆ lang_get_name_by_code()
const char* lang_get_name_by_code |
( |
uint16_t |
code | ) |
|
- Returns
- localized language name (text for menu item)
◆ lang_is_selected()
uint8_t lang_is_selected |
( |
void |
| ) |
|