mirror of
https://github.com/minetest-mods/intllib.git
synced 2025-01-23 16:30:18 +01:00
Update init.lua
This commit is contained in:
parent
475711f7f7
commit
b3aacf4649
2
init.lua
2
init.lua
@ -18,6 +18,8 @@ if not (LANG and (LANG ~= "")) then LANG = os.getenv("LANG") end
|
||||
if not (LANG and (LANG ~= "")) then LANG = "en" end
|
||||
LANG = LANG:sub(1, 2)
|
||||
|
||||
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+)(%)?)"
|
||||
|
Loading…
Reference in New Issue
Block a user