portapack-mayhem/firmware/common/ui_language.cpp
Totoo d303098e35
Moved SPainter and GPSSim to ext app (#1721)
* Moved GPSSim
* Moved spainter
2024-01-05 10:46:09 +01:00

19 lines
548 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"};
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];
}