/programs/system/MyKey/trunk/MyKey.asm |
---|
19,6 → 19,8 |
dd 0x0 |
dd app_path |
include 'lang.inc' ;language support |
include 'ASPAPI.INC' |
include 'string.inc' |
include 'macros.inc' |
896,7 → 898,11 |
clc |
ret |
.err_out: |
if lang eq it |
print "Impossibile caricare il programma" |
else |
print "Can't load program" |
end if |
popa |
stc |
ret |
912,7 → 918,11 |
;########### Input Thread data start ############ |
; Input Thread Title |
if lang eq it |
it_labelt db "Inserisci hotkey e nome " |
else |
it_labelt db "Input hotkey and it's name" |
end if |
;labellen: |
it_edit edit_box 180, 20, 30, 0xffffff, 0xAA80, 0x0000ff, 0x0, 0x0, 31, it_buf_cmd_line, 0, 0 |
it_buf_cmd_line dd 0 ;db MAX_HOTKEYS_NUM*32 dup(0) ; !Make it dynamic!!! |
920,17 → 930,28 |
it_alive db 0 ; Flag of the input thread existance |
it_keycode db 0 |
it_hotkey_addr dd 0 |
if lang eq it |
it_hint db 'o premi Esc per cancellare',0 |
else |
it_hint db 'or press Esc to cancel',0 |
end if |
;########### Input Thread data end ############ |
;Button names |
if lang eq it |
AddKeyText db 'Aggiungi',0 |
ReloadKeyText db 'Ricarica',0 |
SaveKeyText db 'Salva',0 |
;DeleteKeyText db 'Delete',0 |
;ManageKeyText db 'Manage',0 |
else |
AddKeyText db 'Add',0 |
ReloadKeyText db 'Reload',0 |
SaveKeyText db 'Save',0 |
;DeleteKeyText db 'Delete',0 |
;ManageKeyText db 'Manage',0 |
end if |
hotkeys_num db 0;15 |
;keyboard_mode db 0 ; Scan or ASCII keys to send ? 0 - ASCII , 1 - Scan |
butt db FIRST_ITEM_BUTTON_ID ; Pressed button ID |
947,11 → 968,17 |
system_dir0 db '/sys/lib/' |
boxlib_name db 'box_lib.obj',0 |
if lang eq it |
err_message_found_lib db "Non trovo box_lib.obj",0 |
head_f_i: |
head_f_l db 'Errore di sistema',0 |
err_message_import db 'Error di importazione di box_lib.obj',0 |
else |
err_message_found_lib db "Can't find box_lib.obj",0 |
head_f_i: |
head_f_l db 'System error',0 |
err_message_import db 'Error on import box_lib.obj',0 |
end if |
align 4 |
myimport: |
edit_box_draw dd aEdit_box_draw |
/programs/system/MyKey/trunk/makefile |
---|
0,0 → 1,19 |
#!gmake |
# Macro |
FASM=/opt/bin/fasm |
KPACK=/opt/bin/kpack |
LANG=lang.inc |
FILE=MyKey |
SOURCE=${FILE}.asm |
OUT=${FILE}.bin |
en: |
echo "lang fix en" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
it: |
echo "lang fix it" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
clean: |
rm -f ${LANG} ${OUT} |
/programs/system/MyKey/trunk/mykey.ini |
---|
27,7 → 27,12 |
path=games/mine |
param= |
[hotkey4] |
if lang eq it |
name=Cartella giochi |
else |
name=Games directory |
end if |
keycode=8226 |
keycode_name=RAlt + g |
path=file managers/eolite |
39,7 → 44,11 |
path=file managers/kfm |
param= |
[hotkey6] |
if lang eq it |
name=Messaggi di sistema |
else |
name=System Message Board |
end if |
keycode=4127 |
keycode_name=LAlt + s |
path=develop/board |
/programs/system/keybi/keybi.asm |
---|
18,6 → 18,7 |
include '../../develop/libraries/box_lib/trunk/box_lib.mac' |
;include 'mem.inc' |
;include 'dll.inc' |
include 'lang.inc' |
@use_library ;_mem mem.Alloc,mem.Free,mem.ReAlloc, dll.Load |
165,10 → 166,15 |
txt_158,0+ch_flag_middle |
check_boxes_end: |
if lang eq it |
txt_160 db 'Bloc Num',0 |
txt_159 db 'Bloc Maiusc',0 |
txt_158 db 'Bloc Scorr',0 |
else |
txt_160 db 'Num',0 |
txt_159 db 'Caps',0 |
txt_158 db 'Scroll',0 |
end if |
head_f_i: |
head_f_l db 'Ñèñòåìíàÿ îøèáêà',0 |
/programs/system/launch/trunk/launch.asm |
---|
47,6 → 47,7 |
include 'macros.inc' |
include 'libio.inc' |
include '../../../dll.inc' |
include 'lang.inc' |
purge mov |
345,7 → 346,17 |
db APP_NAME, ' ', APP_VERSION, 0 |
;; Messages |
if lang eq it |
message_dbg_not_found: |
db '%s non trovato', 10, 0 |
message_error: |
db 'File (%s) non trovato!', 0 |
message_ok: |
db '%s caricato correttamente. PID: %d (0x%X)', 0 |
else |
message_dbg_not_found: |
db '%s not found', 10, 0 |
message_error: |
353,7 → 364,7 |
message_ok: |
db '%s loaded succesfully. PID: %d (0x%X)', 0 |
end if |
;; Configuration path |
etc_cfg: |
db '/sys/etc/' |
/programs/system/menu/trunk/makefile |
---|
6,7 → 6,6 |
LANG=lang.inc |
FILE=menu |
SOURCE=${FILE}.asm |
OUT=${FILE}.bin |
en: |
echo "lang fix de" > lang.inc |
27,4 → 26,4 |
rm ${LANG} |
clean: |
rm ${LANG} \@menu |
rm -f ${LANG} \@menu |
/programs/system/mgb/trunk/makefile |
---|
0,0 → 1,19 |
#!gmake |
# Macro |
FASM=/opt/bin/fasm |
KPACK=/opt/bin/kpack |
LANG=lang.inc |
FILE=mgb |
SOURCE=${FILE}.asm |
OUT=${FILE}.bin |
en: |
echo "lang fix en" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
it: |
echo "lang fix it" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
clean: |
rm -f ${LANG} ${OUT} |
/programs/system/mgb/trunk/mgb.asm |
---|
64,6 → 64,7 |
;include '..\..\..\debug.inc' |
include '../../../develop/libraries/box_lib/trunk/box_lib.mac' |
include '../../../develop/libraries/box_lib/load_lib.mac' |
include 'lang.inc' ;language support |
@use_library |
;--------------------------------------------------------------------- |
start: |
685,6 → 686,7 |
TEST_REC_SIZE = 16 |
TESTS_NUM = ($ - results_table) / TEST_REC_SIZE - 1 |
;--------------------------------------------------------------------- |
if lang eq it |
aDrawingWindow db 'Window Of Type #3, 325x400 px',0 |
aDrawingBar db 'Filled Rectangle, 100x250 px',0 |
aDrawingPicture db 'Picture, 90x123, px',0 |
691,6 → 693,31 |
aDrawingPictF73 db 'Picture for Blitter, 90x123, px',0 |
aGetScreenF36 db 'Get a piece of screen f.36, 90x123, px',0 |
aGetScreen_GS db 'Get a piece of screen GS, 90x123, px',0 |
aDrawingVLine db 'Linea verticale, 350 px',0 |
aDrawingHLine db 'Linea orizzontale, 270 px',0 |
aDrawingFLine db 'Free-angled Line, 350 px',0 |
aDrawingText1 db 'Fixed-width Text, 34 chars',0 |
aDrawingText2 db 'Proportional Text, 34 chars',0 |
aDrawingNumber db 'Decimal Number, 8 digits',0 |
aDrawingPixel db 'Singolo pixel',0 |
aTestText db 'This is a 34-charachters test text' |
aButtonsText db 'Test Commenti Pattern+ Apri Salva',0 |
aCaption db 'Kolibri Graphical Benchmark 0.7',0 |
aLeft db 'Sinistra:',0 |
aRight db 'Destra :',0 |
aComment1 db 'Attuale ',0 |
aComment2 db 'no pattern',0 |
aComment db 'Commento',0 |
else |
aDrawingWindow db 'Window Of Type #3, 325x400 px',0 |
aDrawingBar db 'Filled Rectangle, 100x250 px',0 |
aDrawingPicture db 'Picture, 90x123, px',0 |
aDrawingPictF73 db 'Picture for Blitter, 90x123, px',0 |
aGetScreenF36 db 'Get a piece of screen f.36, 90x123, px',0 |
aGetScreen_GS db 'Get a piece of screen GS, 90x123, px',0 |
aDrawingVLine db 'Vertical Line, 350 px',0 |
aDrawingHLine db 'Horizontal Line, 270 px',0 |
aDrawingFLine db 'Free-angled Line, 350 px',0 |
709,12 → 736,17 |
aComment1 db 'current',0 |
aComment2 db 'no pattern',0 |
aComment db 'Comment',0 |
end if |
;--------------------------------------------------------------------- |
system_dir_Boxlib db '/sys/lib/box_lib.obj',0 |
system_dir_ProcLib db '/sys/lib/proc_lib.obj',0 |
;--------------------------------------------------------------------- |
head_f_i: |
if lang eq it |
head_f_l db 'Errore Sistema',0 |
else |
head_f_l db 'System error',0 |
end if |
err_message_found_lib1 db 'box_lib.obj - Not found!',0 |
err_message_found_lib2 db 'proc_lib.obj - Not found!',0 |
/programs/system/mm/trunk/MM.asm |
---|
25,10 → 25,10 |
dd I_END+STACK_SIZE ; esp |
dd 0x0 , 0x0 ; I_Param , I_Icon |
include 'lang.inc' ;language support |
START: |
255,13 → 255,22 |
ascii_string rb 0x11 |
reservado rb 3 |
if lang eq it |
titulo db 'Visualizza la memoria del sistema operativo',0 |
teste db '-------- ----------------- Codice Hex ----------------- -- A S C I I --',0 |
barra1 db 'Indirizzo:00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0123456789abcdef',0 |
else if lang eq es |
titulo db 'Mostra a memoria do sistema operacional',0 |
teste db '-------- ------------------ Hex Code ------------------- -- A S C I I --',0 |
barra1 db 'Address: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0123456789abcdef',0 |
else |
titulo db 'Displays the operating system memory',0 |
teste db '-------- ------------------ Hex Code ------------------- -- A S C I I --',0 |
barra1 db 'Address: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 0123456789abcdef',0 |
end if |
align 0x10 |
I_END: |
/programs/system/mm/trunk/makefile |
---|
0,0 → 1,22 |
#!gmake |
# Macro |
FASM=/opt/bin/fasm |
KPACK=/opt/bin/kpack |
LANG=lang.inc |
FILE=MM |
SOURCE=${FILE}.asm |
OUT=${FILE}.bin |
en: |
echo "lang fix en" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
it: |
echo "lang fix it" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
es: |
echo "lang fix es" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
clean: |
rm -f ${LANG} ${OUT} |
/programs/system/mousemul/trunk/makefile |
---|
0,0 → 1,22 |
#!gmake |
# Macro |
FASM=/opt/bin/fasm |
KPACK=/opt/bin/kpack |
LANG=lang.inc |
FILE=mousemul |
SOURCE=${FILE}.asm |
OUT=${FILE}.bin |
en: |
echo "lang fix en" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
ru: |
echo "lang fix ru" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
it: |
echo "lang fix it" > ${LANG} |
${FASM} ${SOURCE} ${OUT} |
clean: |
rm -f ${LANG} ${OUT} |
/programs/system/mousemul/trunk/mousemul.asm |
---|
287,6 → 287,8 |
;----------------------------------------------------------------------------- |
if lang eq ru |
ud_user_message db 'NumLock ¢ª«îç ¥â ¨ ¢ëª«îç ¥â í¬ã«ïâ®à ¬ëè¨. ¯à ¢«¥¨¥ ç¥à¥§ Numpad',0 |
else if lang eq it |
ud_user_message db 'NumLock - on/off - usa Numpad per muovere il cursore',0 |
else |
ud_user_message db 'NumLock - on/off mouse emul. Numpad - move cursor',0 |
end if |
/programs/system/notify/trunk/makefile |
---|
0,0 → 1,14 |
#!gmake |
# Macro |
FASM=/opt/bin/fasm |
KPACK=/opt/bin/kpack |
FILE=@notify |
SOURCE=${FILE}.asm |
OUT=${FILE}.bin |
en: |
${FASM} ${SOURCE} ${OUT} |
clean: |
rm -f ${OUT} |