可以根据设置显示日文的说明书了
This commit is contained in:
@@ -2,7 +2,7 @@ local scene={}
|
|||||||
|
|
||||||
function scene.sceneInit()
|
function scene.sceneInit()
|
||||||
BG.set('cubes')
|
BG.set('cubes')
|
||||||
local fileData=love.filesystem.read('parts/language/manual_'..(SETTING.locale:find'zh'and'zh'or'en')..'.txt')
|
local fileData=FILE.load('parts/language/manual_'..(SETTING.locale:find'zh'and'zh'or SETTING.locale:find'ja'and'ja'or'en')..'.txt','-string')
|
||||||
if fileData then
|
if fileData then
|
||||||
WIDGET.active.texts:setTexts(fileData:split('\n'))
|
WIDGET.active.texts:setTexts(fileData:split('\n'))
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user