Create the Shopping Cart Lock app (#2326)

This commit is contained in:
RocketGod
2024-11-08 07:10:25 -08:00
committed by GitHub
parent 079329fc6c
commit 09dff447de
9 changed files with 415 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#include "ui_language.hpp"
// use the exact position in this array! the enum's value is the identifier. Best to add to the end
const char* LanguageHelper::englishMessages[] = {"OK", "Cancel", "Error", "Modem setup", "Debug", "Log", "Done", "Start", "Stop", "Scan", "Clear", "Ready", "Data:", "Loop", "Reset", "Pause", "Resume", "Flood", "Show QR", "Save"};
const char* LanguageHelper::englishMessages[] = {"OK", "Cancel", "Error", "Modem setup", "Debug", "Log", "Done", "Start", "Stop", "Scan", "Clear", "Ready", "Data:", "Loop", "Reset", "Pause", "Resume", "Flood", "Show QR", "Save", "Lock", "Unlock"};
// multi language support will changes (not in use for now)
const char** LanguageHelper::currentMessages = englishMessages;

View File

@@ -58,7 +58,9 @@ enum LangConsts {
LANG_RESUME,
LANG_FLOOD,
LANG_SHOWQR,
LANG_SAVE
LANG_SAVE,
LANG_LOCK,
LANG_UNLOCK
};
class LanguageHelper {