Added a very hacky text UI

This commit is contained in:
Jozef Nagy 2025-05-20 19:24:16 +02:00
parent 06fb67beca
commit dae7b9c869
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
16 changed files with 296 additions and 33783 deletions

17
docs/boot/TRANSLATING.md Normal file
View file

@ -0,0 +1,17 @@
# Translating AxBoot
To translate AxBoot, copy `en_US.c` in the `common/i18n` directory and rename it (and the translation structure) to the target language code.
Before translating each string, open `common/i18n/i18n.c` and register the new language:
```c
extern struct language i18n_xxXX;
struct language_selection i18n_languages[] = {
{
"English", // Localized language name (eg. English, Čeština, Svenska, ...)
"en_US", // Language code
&i18n_enUS // reference to the language structure
},
/* ... */
}
```