2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
|
#include "Language.h"
|
|
|
|
|
|
|
|
|
|
class I18n
|
|
|
|
|
{
|
|
|
|
|
private:
|
|
|
|
|
static Language *lang;
|
|
|
|
|
|
|
|
|
|
public:
|
2026-03-03 06:14:34 +07:00
|
|
|
template<typename ...Args>
|
|
|
|
|
static wstring get(Args... args)
|
|
|
|
|
{
|
|
|
|
|
return lang->getElement(std::forward<Args>(args)...);
|
|
|
|
|
}
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|