mirror of
https://git.chinosk6.cn/chinosk/gkms-local.git
synced 2026-02-04 17:13:59 +00:00
23 lines
652 B
C++
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
|