Added a very hacky text UI
This commit is contained in:
parent
06fb67beca
commit
dae7b9c869
16 changed files with 296 additions and 33783 deletions
17
docs/boot/TRANSLATING.md
Normal file
17
docs/boot/TRANSLATING.md
Normal 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
|
||||
},
|
||||
/* ... */
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue