Estonian key_map and system_language in setup and panel.
git-svn-id: svn://kolibrios.org@275 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1db135d09c
commit
55ed9e2720
@ -1913,11 +1913,12 @@ m_icon:
|
|||||||
|
|
||||||
lsz m_text,\
|
lsz m_text,\
|
||||||
ru, "Œ…<C592>ž",\
|
ru, "Œ…<C592>ž",\
|
||||||
en, "MENU"
|
en, "MENU",\
|
||||||
|
et, "MENÜÜ"
|
||||||
|
|
||||||
mi_text db 'WAVETETRBGRDGPL '
|
mi_text db 'WAVETETRBGRDGPL '
|
||||||
|
|
||||||
flag_text db 'EnFiGeRuFr'
|
flag_text db 'EnFiGeRuFrEt'
|
||||||
|
|
||||||
type_lang db 0
|
type_lang db 0
|
||||||
;music_type db 1
|
;music_type db 1
|
||||||
|
5
programs/system/panel/trunk/build_et.bat
Normal file
5
programs/system/panel/trunk/build_et.bat
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
@erase lang.inc
|
||||||
|
@echo lang fix et >lang.inc
|
||||||
|
@fasm @panel.asm @panel
|
||||||
|
@erase lang.inc
|
||||||
|
@pause
|
@ -196,7 +196,7 @@ set_syslanguage_and_exit:
|
|||||||
mov ebx,5
|
mov ebx,5
|
||||||
; mov ecx,9
|
; mov ecx,9
|
||||||
int 0x40
|
int 0x40
|
||||||
cmp eax,4
|
cmp eax,6
|
||||||
jne temp ;@f
|
jne temp ;@f
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
;@@: inc eax
|
;@@: inc eax
|
||||||
@ -477,7 +477,7 @@ close:
|
|||||||
dec eax
|
dec eax
|
||||||
jmp nodownup
|
jmp nodownup
|
||||||
downuplbl:
|
downuplbl:
|
||||||
mov eax,4
|
mov eax,5
|
||||||
nodownup:
|
nodownup:
|
||||||
mov [keyboard],eax
|
mov [keyboard],eax
|
||||||
call draw_infotext
|
call draw_infotext
|
||||||
@ -485,7 +485,7 @@ close:
|
|||||||
cmp ah,5
|
cmp ah,5
|
||||||
jnz nokp
|
jnz nokp
|
||||||
mov eax,[keyboard]
|
mov eax,[keyboard]
|
||||||
cmp eax,4
|
cmp eax,5
|
||||||
je updownlbl
|
je updownlbl
|
||||||
inc eax
|
inc eax
|
||||||
jmp noupdown
|
jmp noupdown
|
||||||
@ -678,7 +678,7 @@ close:
|
|||||||
cmp ah,43
|
cmp ah,43
|
||||||
jnz nosysp
|
jnz nosysp
|
||||||
mov eax,[syslang]
|
mov eax,[syslang]
|
||||||
cmp eax,4
|
cmp eax,6
|
||||||
je nosysp
|
je nosysp
|
||||||
inc eax
|
inc eax
|
||||||
mov [syslang],eax
|
mov [syslang],eax
|
||||||
@ -842,6 +842,23 @@ close:
|
|||||||
mov edx,5
|
mov edx,5
|
||||||
int 0x40
|
int 0x40
|
||||||
nosetkeylfr:
|
nosetkeylfr:
|
||||||
|
cmp [keyboard],5
|
||||||
|
jnz nosetkeylet
|
||||||
|
mov eax,21 ; estonian
|
||||||
|
mov ebx,2
|
||||||
|
mov ecx,1
|
||||||
|
mov edx,et_keymap
|
||||||
|
int 0x40
|
||||||
|
mov eax,21
|
||||||
|
inc ecx
|
||||||
|
mov edx,et_keymap_shift
|
||||||
|
int 0x40
|
||||||
|
mov eax,21
|
||||||
|
mov ecx,9
|
||||||
|
mov edx,6
|
||||||
|
int 0x40
|
||||||
|
call alt_gen
|
||||||
|
nosetkeylet:
|
||||||
ret
|
ret
|
||||||
|
|
||||||
alt_gen:
|
alt_gen:
|
||||||
@ -1029,7 +1046,11 @@ draw_infotext:
|
|||||||
mov [text00+LLL*10+28],dword 'FREN'
|
mov [text00+LLL*10+28],dword 'FREN'
|
||||||
mov [text00+LLL*10+32],dword 'CH '
|
mov [text00+LLL*10+32],dword 'CH '
|
||||||
nofr:
|
nofr:
|
||||||
|
cmp eax,5
|
||||||
|
jnz noet
|
||||||
|
mov [text00+LLL*10+28],dword 'ESTO'
|
||||||
|
mov [text00+LLL*10+32],dword 'NIAN'
|
||||||
|
noet:
|
||||||
|
|
||||||
mov eax,[syslang] ; SYSTEM LANGUAGE
|
mov eax,[syslang] ; SYSTEM LANGUAGE
|
||||||
dec eax
|
dec eax
|
||||||
@ -1058,7 +1079,11 @@ draw_infotext:
|
|||||||
mov [text00+LLL*8+28],dword 'FREN'
|
mov [text00+LLL*8+28],dword 'FREN'
|
||||||
mov [text00+LLL*8+32],dword 'CH '
|
mov [text00+LLL*8+32],dword 'CH '
|
||||||
nofr5:
|
nofr5:
|
||||||
|
cmp eax,5
|
||||||
|
jne noet5
|
||||||
|
mov [text00+LLL*8+28],dword 'ESTO'
|
||||||
|
mov [text00+LLL*8+32],dword 'NIAN'
|
||||||
|
noet5:
|
||||||
|
|
||||||
mov eax,[midibase]
|
mov eax,[midibase]
|
||||||
mov esi,text00+LLL*0+32
|
mov esi,text00+LLL*0+32
|
||||||
@ -1711,6 +1736,33 @@ ru_keymap_shift:
|
|||||||
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
|
||||||
|
et_keymap:
|
||||||
|
|
||||||
|
db '6',27
|
||||||
|
db '1234567890+´',8,9
|
||||||
|
db 'qwertyuiopüő',13
|
||||||
|
db '~asdfghjklöä','1',0,'<zxcvbnm,.-',0,'45 '
|
||||||
|
db '@234567890123',180,178,184,'6',176,'7'
|
||||||
|
db 179,'8',181,177,183,185,182
|
||||||
|
db 'AB<D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
|
||||||
|
|
||||||
|
et_keymap_shift:
|
||||||
|
|
||||||
|
db '6',27
|
||||||
|
db '!"#¤%&/()=?`',8,9
|
||||||
|
db 'QWERTYUIOPÜŐ',13
|
||||||
|
db '~ASDFGHJKLÖÄ','1',0,'>ZXCVBNM;:_',0,'45 '
|
||||||
|
db '@234567890123',180,178,184,'6',176,'7'
|
||||||
|
db 179,'8',181,177,183,185,182
|
||||||
|
db 'AB>D',255,'FGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
db 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
|
|
||||||
read_fileinfo:
|
read_fileinfo:
|
||||||
dd 0
|
dd 0
|
||||||
dd 0
|
dd 0
|
||||||
|
Loading…
Reference in New Issue
Block a user