Vietnamese translation of Zictionary (#903)

Co-authored-by: Hưng Nguyễn <>
This commit is contained in:
Nguyễn Quốc Hưng
2023-07-03 08:53:55 +07:00
committed by GitHub
parent ed11faf909
commit b3a8724538
7 changed files with 2415 additions and 151 deletions

View File

@@ -2,7 +2,7 @@ local scene={}
function scene.enter()
BG.set('cubes')
local fileData=FILE.load('parts/language/manual_'..(SETTING.locale:find'zh' and 'zh' or SETTING.locale:find'ja' and 'ja' or 'en')..'.txt','-string')
local fileData=FILE.load('parts/language/manual_'..(SETTING.locale:find'zh' and 'zh' or SETTING.locale:find'ja' and 'ja' or SETTING.locale:find'vi' and 'vi' or 'en')..'.txt','-string')
if fileData then
scene.widgetList.texts:setTexts(fileData:split('\n'))
else