portapack-mayhem/firmware/common/ui_language.cpp
Totoo 9211975868
Protoview (#2206)
* ProtoView first tests

* Imp

* fix, reset
2024-07-29 07:45:56 +02:00

19 lines
557 B
C++

#include "ui_language.hpp"
const char* LanguageHelper::englishMessages[] = {"OK", "Cancel", "Error", "Modem setup", "Debug", "Log", "Done", "Start", "Stop", "Scan", "Clear", "Ready", "Data:", "Loop", "Reset"};
const char** LanguageHelper::currentMessages = englishMessages;
void LanguageHelper::setLanguage(LanguageList lang) {
switch (lang) {
default:
case ENGLISH:
currentMessages = englishMessages;
break;
}
}
const char* LanguageHelper::getMessage(LangConsts msg) {
return currentMessages[msg];
}