do multi lang
This commit is contained in:
parent
fa2c486a81
commit
a739e589f1
10 changed files with 745 additions and 4 deletions
31
inc/button_lang.inc
Normal file
31
inc/button_lang.inc
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 438 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
SAVELOG "Lang click"
|
||||
DEBUGVAR show_lang
|
||||
|
||||
If show_lang = "THAI" Then
|
||||
Var show_lang = "ENG"
|
||||
Else
|
||||
If show_lang = "ENG" Then
|
||||
Var show_lang = "THAI"
|
||||
Else
|
||||
Var show_lang = "THAI"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
CALL "EventLanguageChange"
|
||||
|
||||
|
||||
;Open CurrentXMLFileName2
|
||||
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue