context-based translation test

This commit is contained in:
MihailRis 2023-12-12 22:59:21 +03:00
parent 4e6818fb7f
commit e97eb441d5
5 changed files with 48 additions and 54 deletions

View file

@ -56,6 +56,8 @@ namespace langs {
std::vector<const ContentPack*>& packs);
extern const std::wstring& get(const std::wstring& key);
extern const std::wstring& get(const std::wstring& key,
const std::wstring& context);
extern void setup(const std::filesystem::path& resdir,
const std::string& locale,