Vietnamese Translation (#835)

This commit is contained in:
ShardNguyen
2023-02-09 02:15:43 +07:00
committed by GitHub
parent d433d98c04
commit 0d7a80f2b5
3 changed files with 1065 additions and 2 deletions

View File

@@ -502,6 +502,7 @@ LANG.init('zh',
ja=require'parts.language.lang_ja',
symbol=require'parts.language.lang_symbol',
zh_code=require'parts.language.lang_zh_code',
vi=require'parts.language.lang_vi',
-- 1. Add language file to LANG folder;
-- 2. Require it;
-- 3. Add a button in parts/scenes/lang.lua;

1060
parts/language/lang_vi.lua Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -8,13 +8,15 @@ local langList={
id="Bahasa Indonesia",
ja="日本語",
symbol="?????",
zh_code="Code(zh);"
zh_code="Code(zh);",
vi="Tiếng Việt",
}
local languages={
"Language Langue Lingua",
"语言 言語 언어",
"Idioma Línguas Sprache",
"Язык Γλώσσα Bahasa",
"Ngôn ngữ",
}
local curLang=1
@@ -57,7 +59,7 @@ scene.widgetList={
WIDGET.newButton{x=640,y=210,w=330,h=100,font=40, fText=langList.pt, color='A',sound='click',code=function()_setLang('pt') end},
WIDGET.newButton{x=640,y=330,w=330,h=100,font=40, fText=langList.symbol, color='G',sound='click',code=function()_setLang('symbol') end},
WIDGET.newButton{x=640,y=450,w=330,h=100,font=40, fText=langList.ja, color='J',sound='click',code=function()_setLang('ja') end},
WIDGET.newKey {x=640,y=570,w=330,h=100,font=40, fText='', color='L'},
WIDGET.newButton{x=640,y=570,w=330,h=100,font=40, fText=langList.vi, color='L',sound='click',code=function()_setLang('vi') end},
WIDGET.newButton{x=1000,y=210,w=330,h=100,font=40,fText=langList.zh, color='C',sound='click',code=function()_setLang('zh') end},
WIDGET.newButton{x=1000,y=330,w=330,h=100,font=40,fText=langList.zh_trad, color='S',sound='click',code=function()_setLang('zh_trad') end},