aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/I18n.cpp
diff options
context:
space:
mode:
authorLoki Rautio <lokirautio@gmail.com>2026-03-04 03:56:03 -0600
committerLoki Rautio <lokirautio@gmail.com>2026-03-04 03:56:03 -0600
commit42aec6dac53dffa6afe072560a7e1d4986112538 (patch)
tree0836426857391df1b6a83f6368a183f83ec9b104 /Minecraft.World/I18n.cpp
parentc9d58eeac7c72f0b3038e084667b4d89a6249fce (diff)
parentef9b6fd500dfabd9463267b0dd9e29577eea8a2b (diff)
Merge branch 'main' into pr/win64-world-saves
# Conflicts: # Minecraft.Client/MinecraftServer.cpp # README.md
Diffstat (limited to 'Minecraft.World/I18n.cpp')
-rw-r--r--Minecraft.World/I18n.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/Minecraft.World/I18n.cpp b/Minecraft.World/I18n.cpp
index 81d3dff5..4805cdfe 100644
--- a/Minecraft.World/I18n.cpp
+++ b/Minecraft.World/I18n.cpp
@@ -3,20 +3,3 @@
#include "I18n.h"
Language *I18n::lang = Language::getInstance();
-wstring I18n::get(const wstring& id, ...)
-{
-#ifdef __PSVITA__ // 4J - vita doesn't like having a reference type as the last parameter passed to va_start - we shouldn't need this method anyway
- return L"";
-#elif _MSC_VER >= 1930 // VS2022+ also disallows va_start with reference types
- return id;
-#else
- va_list va;
- va_start(va, id);
- return I18n::get(id, va);
-#endif
-}
-
-wstring I18n::get(const wstring& id, va_list args)
-{
- return lang->getElement(id, args);
-}