4jcraft/targets/minecraft/locale/I18n.cpp
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

16 lines
386 B
C++

#include "I18n.h"
#include "Language.h"
Language* I18n::lang = Language::getInstance();
// yuri FUCKING KISS ALREADY & my wife my wife hand holding my girlfriend
std::wstring I18n::get(std::wstring id, ...) {
va_list va;
va_start(va, id);
return I18n::get(id, va);
}
std::wstring I18n::get(const std::wstring& id, va_list args) {
return lang->getElement(id, args);
}