italian version

git-svn-id: svn://kolibrios.org@3587 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
fedesco 2013-06-02 05:26:24 +00:00
parent dc294e19a5
commit 8aeeb1b9b0
33 changed files with 618 additions and 239 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 816 B

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 800 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 720 B

View File

@ -1 +1 @@
lang fix ru lang fix en

View File

@ -0,0 +1,17 @@
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=bnc
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
echo "lang fix en" > ${LANG}
${FASM} ${SOURCE} ${OUT}
ru:
echo "lang fix ru" > ${LANG}
${FASM} ${SOURCE} ${OUT}
clean:
rm -f ${LANG} ${OUT}

View File

@ -0,0 +1,20 @@
#Makefile per la compilazione
#Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=gomoku
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
echo "lang fix en" > lang.inc
${FASM} ${SOURCE} ${OUT}
ru:
echo "lang fix ru" > lang.inc
${FASM} ${SOURCE} ${OUT}
clean:
rm -f ${OUT} ${LANG}

View File

@ -2,10 +2,10 @@
# This script does for linux the same as build.bat for DOS, # This script does for linux the same as build.bat for DOS,
# it compiles the KoOS kernel, hopefully ;-) # it compiles the KoOS kernel, hopefully ;-)
fasm -m 16384 kpack.asm kpack.o fasm -m 16384 kpack.asm kpack.o
gcc -s -nostdlib kpack.o -o kpack -lc gcc -s -nostdlib kpack.o -o kpack -lc
strip -R .comment -R .gnu.version kpack strip -R .comment -R .gnu.version kpack
exit 0 exit 0

View File

@ -10,16 +10,16 @@ as MACROS.INC and DEBUG.INC files, simplify the developing greatly.
Today I let you to judge a desktop calendar, similar to the Windows one. Today I let you to judge a desktop calendar, similar to the Windows one.
Application abilities are: Application abilities are:
1. Interface is translated into Russian,English, German, French, and Finnish 1. Interface is translated into Russian,English, German, French, Italian
(not completely - there was no help). Day sequence difference is taken and Finnish (not completely - there was no help). Day sequence
into account as well. You may change localization through 'lang' constant difference is taken into account as well. You may change localization
while compiling. through 'lang' constant while compiling.
2. Calendar is equipped with additional buttons 'Today' and 'New style' that 2. Calendar is equipped with additional buttons 'Today' and 'New style' that
are self-explaining. are self-explaining.
3. I tied to follow world GUI standards: use TAB to move along fields; while 3. I tied to follow world GUI standards: use TAB to move along fields; while
editing the year, use Backspace and Del, as well as left and right arrows editing the year, use Backspace and Del, as well as left and right arrows
of 'spinner' when in its focus. Arrow keys navigate along day matrix. of 'spinner' when in its focus. Arrow keys navigate along day matrix.
Pressing Ctrl-F1...Ctrl-F12 selects appropriate month. Pressing Ctrl-F1...Ctrl-F12 selects appropriate month.
To-Do list: To-Do list:

View File

@ -16,6 +16,7 @@
dd 0x0 ; çàðåçåðâèðîâàíî dd 0x0 ; çàðåçåðâèðîâàíî
include 'MACROS.INC' ; ìàêðîñû îáëåã÷àþò æèçíü àññåìáëåðùèêîâ! include 'MACROS.INC' ; ìàêðîñû îáëåã÷àþò æèçíü àññåìáëåðùèêîâ!
include 'lang.inc'
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
;--- ÍÀ×ÀËÎ ÏÐÎÃÐÀÌÌÛ ---------------------------------------------- ;--- ÍÀ×ÀËÎ ÏÐÎÃÐÀÌÌÛ ----------------------------------------------
@ -87,7 +88,11 @@ draw_window:
; 1 - íà÷èíàåì ðèñîâàòü ; 1 - íà÷èíàåì ðèñîâàòü
; ÑÎÇÄÀèÌ ÎÊÍÎ ; ÑÎÇÄÀèÌ ÎÊÍÎ
mcall 0, <100,230>, <100,110>, 0x03AABBCC, 0x805080D0, 0x005080D0 if lang eq it
mcall 0, <100,250>, <100,110>, 0x03AABBCC, 0x805080D0, 0x005080D0
else
mcall 0, <100,230>, <100,110>, 0x03AABBCC, 0x805080D0, 0x005080D0
end if
mcall 71, 1 ,header mcall 71, 1 ,header
mcall 8,<15,42>,<40,20>,2,0xaaaaaa mcall 8,<15,42>,<40,20>,2,0xaaaaaa
call draw_buttons call draw_buttons
@ -96,7 +101,11 @@ draw_window:
mcall mcall
call draw_buttons call draw_buttons
mcall 4, <25,25>, 0x80ffffff,text1 if lang eq it
mcall 4, <16,25>, 0x80ffffff,text1
else
mcall 4, <25,25>, 0x80ffffff,text1
end if
mov edx,text2 mov edx,text2
add ebx,3 shl 16+20 add ebx,3 shl 16+20
@ -113,13 +122,25 @@ draw_window:
draw_buttons: draw_buttons:
pusha pusha
add ebx,50 shl 16 if lang eq it
add ebx,60 shl 16
else
add ebx,50 shl 16
end if
inc edx inc edx
mcall mcall
add ebx,50 shl 16 if lang eq it
add ebx,60 shl 16
else
add ebx,50 shl 16
end if
inc edx inc edx
mcall mcall
add ebx,50 shl 16 if lang eq it
add ebx,60 shl 16
else
add ebx,50 shl 16
end if
inc edx inc edx
mcall mcall
popa popa
@ -128,9 +149,16 @@ draw_buttons:
;--- ÄÀÍÍÛÅ ÏÐÎÃÐÀÌÌÛ ---------------------------------------------- ;--- ÄÀÍÍÛÅ ÏÐÎÃÐÀÌÌÛ ----------------------------------------------
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
header db ' ATAPI Device Tray Control',0 header db ' ATAPI Device Tray Control',0
text3 db 'eject eject eject eject',0 if lang eq it
text2 db 'load load load load',0 text3 db 'espelli espelli espelli espelli',0
text1 db '/cd0/ /cd1/ /cd2/ /cd3/',0 text2 db 'carica carica carica carica',0
text1 db '/cd0/ /cd1/ /cd2/ /cd3/',0
else
text3 db 'eject eject eject eject',0
text2 db 'load load load load',0
text1 db '/cd0/ /cd1/ /cd2/ /cd3/',0
end if
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
I_END: ; ìåòêà êîíöà ïðîãðàììû I_END: ; ìåòêà êîíöà ïðîãðàììû

View File

@ -0,0 +1,19 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=CD_tray
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}

View File

@ -7,7 +7,7 @@
; <--- include all MeOS stuff ---> ; <--- include all MeOS stuff --->
include "lang.inc" include "lang.inc"
include "..\..\..\MACROS.INC" include "..\..\..\macros.inc"
TEST_SIZE = 100000 ; ¤®«¦­® ¤¥«¨âìáï ­  4 TEST_SIZE = 100000 ; ¤®«¦­® ¤¥«¨âìáï ­  4

View File

@ -0,0 +1,17 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
en:
echo "lang fix ru" > ${LANG}
${FASM} \@clip.ASM \@clip
${FASM} cliptest.ASM cliptest
${FASM} test2.asm test2
${KPACK} \@clip
clean:
rm -f ${LANG} \@clip test2 cliptest

View File

@ -8,7 +8,7 @@
; <--- include all MeOS stuff ---> ; <--- include all MeOS stuff --->
include "lang.inc" include "lang.inc"
include "..\..\..\MACROS.INC" include "..\..\..\macros.inc"
; <--- start of MenuetOS application ---> ; <--- start of MenuetOS application --->
MEOS_APP_START MEOS_APP_START

View File

@ -0,0 +1,16 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=color_dialog
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
clean:
rm -f ${LANG} ${OUT}

View File

@ -0,0 +1,16 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=commouse
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
${FASM} ${SOURCE} ${OUT}
clean:
rm -f ${LANG} ${OUT}

View File

@ -690,6 +690,19 @@ tbte_2:
check_text db '@ ¢ª«/¢ëª«',0 check_text db '@ ¢ª«/¢ëª«',0
title db '„¨á¯¥âç¥à ¯à®æ¥áᮢ - Ctrl/Alt/Del',0 title db '„¨á¯¥âç¥à ¯à®æ¥áᮢ - Ctrl/Alt/Del',0
;-------------------------------------- ;--------------------------------------
else if lang eq it
text:
db 'NOME-PROGRAMMA PID USO CPU % '
db 'MEMORY START/USAGE W-STACK W-POS'
text_len = $-text
tbts: db 'INDIETRO AVANTI RIAVVIA SISTEMA'
tbte:
tbts_3 db 'START'
tbte_2:
check_text db '@ on/off',0
title db 'Gestore processi - Ctrl/Alt/Del',0
;--------------------------------------
else else
text: text:
db 'NAME/TERMINATE PID CPU-USAGE % ' db 'NAME/TERMINATE PID CPU-USAGE % '

View File

@ -0,0 +1,32 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=cpu
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
echo "lang fix en" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
ru:
echo "lang fix ru" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
et:
echo "lang fix et" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
ge:
echo "lang fix ge" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
it:
echo "lang fix it" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
clean:
rm -f ${LANG} ${OUT}

View File

@ -28,6 +28,8 @@ use32
dd 0x0 dd 0x0
dd 0x0 dd 0x0
include 'lang.inc' ; language support
include '..\..\..\macros.inc' ; useful macroses include '..\..\..\macros.inc' ; useful macroses
include 'draw.inc' include 'draw.inc'
include 'brand.inc' ;Brand ID decoding include 'brand.inc' ;Brand ID decoding
@ -1724,7 +1726,13 @@ include 'gif_lite.inc' ; parse GIF files
title db 'CPUID 2.21 by S.Kuzmin & the KolibriOS team',0 title db 'CPUID 2.21 by S.Kuzmin & the KolibriOS team',0
tsum: tsum:
db 'Frequency: . MHz' if lang eq it
db 'Frequenza: . MHz'
else
db 'Frequency: . MHz'
end if
tsumlen: tsumlen:
total dd 0x0 total dd 0x0
@ -1733,7 +1741,13 @@ rating dd 0x0
rat dd 0x0 ; rat dd 0x0 ;
ram: ram:
db 'Available RAM: out of' if lang eq it
db 'RAM libera: su'
else
db 'Available RAM: out of'
end if
ramlen: ramlen:
NEF: NEF:
@ -1749,7 +1763,13 @@ mblen:
;logcpuslen: ;logcpuslen:
speed : speed :
db 'PERFORMANCE:' if lang eq it
db 'Performance'
else
db 'PERFORMANCE:'
end if
speedlen: speedlen:
kbpersec: kbpersec:
@ -1757,7 +1777,13 @@ db 'KB/SEC'
kbperseclen: kbperseclen:
instruct: instruct:
db 'Instruction sets' if lang eq it
db 'Set istruzioni'
else
db 'Instruction sets'
end if
instructlen: instructlen:
standard db 'Standard and Extended features plus Performance test',0 standard db 'Standard and Extended features plus Performance test',0
@ -1779,23 +1805,54 @@ brandid:
brandidlen: brandidlen:
oblom: oblom:
db 'SORRY, CPUID IS NOT AVAILABLE' if lang eq it
db 'CPUID non e disponibile'
else
db 'SORRY, CPUID IS NOT AVAILABLE'
end if
oblomlen: oblomlen:
other: other:
db 'SORRY, THIS VENDOR IS NOT SUPPORTED YET' if lang eq it
db 'Questo vendor non e supportato'
else
db 'SORRY, THIS VENDOR IS NOT SUPPORTED YET'
end if
otherlen: otherlen:
cpuname: cpuname:
db 'CPU VENDOR: ' if lang eq it
db 'Vendor CPU '
else
db 'CPU VENDOR: '
end if
cpunamelen: cpunamelen:
fam: fam:
db 'FAMILY: std ext' if lang eq it
db 'Famiglia: std ext'
else
db 'FAMILY: std ext'
end if
famlen: famlen:
mode: mode:
db 'MODEL: std ext' if lang eq it
db 'Modello: std ext'
else
db 'MODEL: std ext'
end if
modelen: modelen:
step: step:
db 'STEPPING:' if lang eq it
db 'Stepping:'
else
db 'STEPPING:'
end if
steplen: steplen:
cache2: cache2:
@ -1822,11 +1879,22 @@ cacheP4:
cacheP4len: cacheP4len:
tech: tech:
db 'Technology: 0. micron ' if lang eq it
db 'Tecnologia: 0. micron '
else
db 'Technology: 0. micron '
end if
techlen: techlen:
typen: typen:
db 'Type:' if lang eq it
db 'Tipo:'
else
db 'Type:'
end if
typenlen: typenlen:
pr: pr:
@ -1842,7 +1910,12 @@ freql:
freqllen: freqllen:
name: name:
db 'CODENAME:' if lang eq it
db 'Codename:'
else
db 'CODENAME:'
end if
namelen: namelen:
AMDn: AMDn:
@ -2110,7 +2183,12 @@ NG:
NGlen: NGlen:
stm: stm:
db 'Internal name:' if lang eq it
db 'Nome: '
else
db 'Internal name:'
end if
stmlen: stmlen:
athloncoef db 110, 115, 120, 125, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 120 athloncoef db 110, 115, 120, 125, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105, 120

View File

@ -0,0 +1,23 @@
#!gmake
###########################
### Esempio per Kolibri ###
###########################
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=CPUID
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}

View File

@ -0,0 +1,16 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=cropflat
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
clean:
rm -f ${LANG} ${OUT}

View File

@ -76,6 +76,8 @@ if lang eq ru
title db '<27><E28098>Ž‰Š€ ŽŠŽ<C5A0>',0 title db '<27><E28098>Ž‰Š€ ŽŠŽ<C5A0>',0
else if lang eq et else if lang eq et
title db 'AKNA SEADED - VALI VÄRV JA VAJUTA OBJEKTILE',0 title db 'AKNA SEADED - VALI VÄRV JA VAJUTA OBJEKTILE',0
else if lang eq it
title db 'Impostazioni - definire il colore e cliccare lo oggetto',0
else else
title db 'WINDOWS SETTINGS - DEFINE COLOR AND CLICK ON TARGET',0 title db 'WINDOWS SETTINGS - DEFINE COLOR AND CLICK ON TARGET',0
end if end if

View File

@ -0,0 +1,28 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=desktop
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
echo "lang fix en" > ${LANG}
${FASM} ${SOURCE} ${OUT}
et:
echo "lang fix et" > ${LANG}
${FASM} ${SOURCE} ${OUT}
ru:
echo "lang fix ru" > ${LANG}
${FASM} ${SOURCE} ${OUT}
sp:
echo "lang fix sp" > ${LANG}
${FASM} ${SOURCE} ${OUT}
it:
echo "lang fix it" > ${LANG}
${FASM} ${SOURCE} ${OUT}
clean:
rm -f ${LANG} ${OUT}

View File

@ -0,0 +1,17 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=docpack
SOURCE=${FILE}.asm
OUT=${FILE}.bin
ru:
echo "lang fix ru" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
clean:
rm -f ${LANG} ${OUT}

View File

@ -160,6 +160,14 @@ else if lang eq ge
label4: label4:
db 'Save your settings (Ctrl-S)',0 db 'Save your settings (Ctrl-S)',0
else if lang eq it
label2:
db ' Spegni Kernel',0
label3:
db ' Riavvio Annulla',0
label4:
db 'Salva impostazioni (Ctrl-S)',0
else else
label2: label2:
db 'Power off Kernel',0 db 'Power off Kernel',0

View File

@ -0,0 +1,29 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=end
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
echo "lang fix en" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
ge:
echo "lang fix ge" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
ru:
echo "lang fix ru" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
it:
echo "lang fix it" > ${LANG}
${FASM} ${SOURCE} ${OUT}
${KPACK} ${OUT}
clean:
rm -f ${LANG} ${OUT}