Raspberry Pi Weighting Control System
This project serves as a simple weighting control system, that was realized as a Bachelor Thesis
|
Go to the source code of this file.
Functions | |
const char * | get_localized_text (const char *key) |
Get the localized text object. More... | |
int | load_default_dict () |
Loads default language dictionary. More... | |
int | load_current_dict () |
Loads current language dictionary. This could be called with an action during runtime to change the app language. More... | |
const char* get_localized_text | ( | const char * | key | ) |
Get the localized text object.
Not doing any eror cheking. Programmer MUST ensure all languages are in switch and every key has a translation in map.
key | string key |
Definition at line 18 of file localisation.cpp.
int load_current_dict | ( | ) |
Loads current language dictionary. This could be called with an action during runtime to change the app language.
Definition at line 65 of file localisation.cpp.
int load_default_dict | ( | ) |
Loads default language dictionary.
Definition at line 37 of file localisation.cpp.