CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::ui::I18nEntry Struct Reference

Single English translation entry. More...

#include <I18n.h>

Public Attributes

const char * key
 Stable string key, e.g. "core.save" or "mod_2fa.codes".
const char * en
 English translation - rodata literal.

Detailed Description

Single English translation entry.

Both fields point to rodata literals. Modules declare static constexpr arrays of these and register them with I18n::registerEnglishTable().

Definition at line 44 of file I18n.h.

Member Data Documentation

◆ en

const char* cdc::ui::I18nEntry::en

English translation - rodata literal.

Definition at line 46 of file I18n.h.

◆ key

const char* cdc::ui::I18nEntry::key

Stable string key, e.g. "core.save" or "mod_2fa.codes".

Definition at line 45 of file I18n.h.


The documentation for this struct was generated from the following file:
  • components/cdc_ui/include/cdc_ui/I18n.h