This commit is contained in:
Rui 2017-04-06 06:35:37 +00:00 committed by GitHub
commit 941e67827f
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ local LANG = minetest.setting_get("language")
if not (LANG and (LANG ~= "")) then LANG = os.getenv("LANG") end
if not (LANG and (LANG ~= "")) then LANG = "en" end
if PLATFORM ~= "Windows" and LANG == "ja" then LANG = "ja_utf8" end
local INS_CHAR = intllib.INSERTION_CHAR
local insertion_pattern = "("..INS_CHAR.."?)"..INS_CHAR.."(%(?)(%d+)(%)?)"