Update init.lua

This commit is contained in:
Rui 2015-05-12 18:18:52 +09:00
parent 475711f7f7
commit b3aacf4649
1 changed files with 2 additions and 0 deletions

View File

@ -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+)(%)?)"