Sysxtree now knows more file types, and dnsr got Russian interface

git-svn-id: svn://kolibrios.org@993 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ataualpa 2008-12-31 17:02:06 +00:00
parent 1d22b242c8
commit 5be6f93061
2 changed files with 859 additions and 814 deletions

View File

@ -45,7 +45,7 @@
; dd 0,0
;******************************************************************************
include '..\..\..\macros.inc'
include 'macros.inc'
include 'ascl.inc'
include 'ascgl.inc'
@ -602,7 +602,7 @@ is_brow:
jz run
cmp ecx, 'JPEG' ; note that it will select also *.JPEG*
jz run
mov ebx, gifview
mov ebx, bmpview
cmp ecx, 'GIF'
jz run
mov ebx, ac97
@ -610,9 +610,14 @@ is_brow:
jz run
cmp ecx, 'MP3'
jz run
cmp ecx, 'XM'
jz run
mov ebx, midamp
cmp ecx, 'MID'
jz run
mov ebx, htmlv
cmp ecx, 'HTM'
jz run
mov ebx, bmpview
cmp ecx, 'BMP'
jz run
@ -631,6 +636,12 @@ is_brow:
jz run
cmp ecx, 'INC'
jz run
cmp ecx, 'INI'
jz run
cmp ecx, 'LOG'
jz run
cmp ecx, 'CONF'
jz run
mov ebx, life2
cmp ecx, 'LIF'
jz run
@ -1868,6 +1879,10 @@ no_folico:
je is_imgico
cmp edi,dword 'MID'
je is_imgico
cmp edi,dword 'MP3'
je is_imgico
cmp edi,dword 'XM'
je is_imgico
jmp no_imgico
is_imgico:
push imgico+8
@ -1877,6 +1892,10 @@ no_imgico:
je is_asmincico
cmp edi,dword 'INC'
je is_asmincico
cmp edi,dword 'INI'
je is_asmincico
cmp edi,dword 'CONF'
je is_asmincico
jmp no_asmincico
is_asmincico:
push asmincico+8
@ -1886,6 +1905,8 @@ no_asmincico:
je @f
cmp edi,dword 'TXT'
jne no_txtico
cmp edi,dword 'LOG'
jne no_txtico
@@:
push txtico+8
jmp out_ico
@ -2554,6 +2575,7 @@ bmpview db '/sys/MV',0
jpgview db '/sys/JPEGVIEW',0
gifview db '/sys/GIFVIEW',0
ac97 db '/sys/AC97SND',0
htmlv db '/sys/NETWORK/HTMLV',0
rtfread db '/sys/RTFREAD',0
; //// Willow
pngview db '/sys/@RCHER',0

View File

@ -27,7 +27,7 @@ use32
dd 0x0 , 0x0 ; I_Param , I_Path
include 'lang.inc'
include '..\..\..\macros.inc'
include 'macros.inc'
START: ; start of execution
mov eax,40 ; Report events
@ -725,6 +725,17 @@ addr dd 0x0
ya dd 0x0
text:
if lang eq ru
db 'ˆ¬ï å®áâ  : xxxxxxxxxxxxxxx '
db 'DNS á¥à¢¥à : xxx.xxx.xxx.xxx '
db ' '
db ' <20>®«ãç¨âì  ¤à¥á '
db ' '
db ' '
db 'x <- END MARKER, DONT DELETE '
else
db 'Host name : xxxxxxxxxxxxxxx '
db 'DNS server : xxx.xxx.xxx.xxx '
db ' '
@ -732,17 +743,29 @@ text:
db ' '
db ' '
db 'x <- END MARKER, DONT DELETE '
end if
if lang eq ru
title db 'DNS Š«¨¥­â',0
else
title db 'DNS Client',0
end if
prompt: dd 0
promptlen: dd 0
if lang eq ru
p1: db '†¤ã ª®¬ ­¤ë '
p1len:
else
p1: db 'Waiting for Command '
p1len:
end if
p4: db 'IP Address: . . . '
p4len: