Files
gkms-local/app/src/main/cpp/GakumasLocalify/Local.h
2025-01-05 22:36:12 +00:00

23 lines
652 B
C++

#ifndef GAKUMAS_LOCALIFY_LOCAL_H
#define GAKUMAS_LOCALIFY_LOCAL_H
#include <string>
#include <filesystem>
#include <unordered_set>
namespace GakumasLocal::Local {
extern std::unordered_set<std::string> translatedText;
std::filesystem::path GetBasePath();
void LoadData();
bool GetI18n(const std::string& key, std::string* ret);
void DumpI18nItem(const std::string& key, const std::string& value);
bool GetResourceText(const std::string& name, std::string* ret);
bool GetGenericText(const std::string& origText, std::string* newStr);
std::string OnKeyDown(int message, int key);
}
#endif //GAKUMAS_LOCALIFY_LOCAL_H