italian version

git-svn-id: svn://kolibrios.org@3586 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
fedesco 2013-06-01 18:52:46 +00:00
parent cc90b50055
commit dc294e19a5
6 changed files with 170 additions and 19 deletions

View File

@ -41,7 +41,7 @@ param:
;flush: ;flush:
; mcall 63,2 ; mcall 63,2
; loop flush ; loop flush
mov ecx,TMP mov ecx,TMP
xor eax,eax xor eax,eax
mov edi,[targ] mov edi,[targ]
@ -49,7 +49,7 @@ param:
mov [tmp1],'x' mov [tmp1],'x'
mov [tmp2],'x' mov [tmp2],'x'
mcall 14 mcall 14
and eax,0xffff0000 and eax,0xffff0000
sub eax,399 shl 16 sub eax,399 shl 16
@ -251,7 +251,7 @@ newline:
cmp [edx],byte 'x' cmp [edx],byte 'x'
jne newline jne newline
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
if WRITE_LOG if WRITE_LOG
;******************************************** ;********************************************
;* input: esi = pointer to the file name * ;* input: esi = pointer to the file name *
@ -322,10 +322,12 @@ duk db 'KernUser'
; 5,11 > 0,-1 ; 5,11 > 0,-1
if lang eq ru if lang eq ru
title db '„®áª  ®â« ¤ª¨ ¨ á®®¡é¥­¨©',0 title db '„®áª  ®â« ¤ª¨ ¨ á®®¡é¥­¨©',0
else if lang eq en else if lang eq it
title db 'General debug & message board',0 title db 'Notifiche e informazioni generiche per il debug',0
else else if lang eq ge
title db 'Allgemeines debug- & nachrichtenboard',0 title db 'Allgemeines debug- & nachrichtenboard',0
else
title db 'General debug & message board',0
end if end if
krnl_cnt dd 0 krnl_cnt dd 0
vmode dd 1 vmode dd 1
@ -352,11 +354,11 @@ sc system_colors
i_end: i_end:
filename rb 256 filename rb 256
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
align 4 align 4
procinfo: procinfo:
rb 1024 rb 1024
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
align 4 align 4
stackbuf rb 2000h stackbuf rb 2000h
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------

View File

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

View File

@ -159,6 +159,20 @@ else if lang eq et
db 'Oktoober ' db 'Oktoober '
db 'November ' db 'November '
db 'Detsember' db 'Detsember'
else if lang eq it
db 9
db 'Gennaio '
db 'Febbraio '
db 'Marzo '
db 'Aprile '
db 'Maggio '
db 'Giugno '
db 'Luglio '
db 'Agosto '
db 'Settembre'
db 'Ottobre '
db 'Novembre '
db 'Dicembre '
else else
db 9 db 9
db 'January ' db 'January '
@ -226,6 +240,16 @@ else if lang eq et
db 'Ree' db 'Ree'
db 'Lau' db 'Lau'
db 'Püh' db 'Püh'
else if lang eq it
db 3
db 7
db 'Dom'
db 'Lun'
db 'Mar'
db 'Mer'
db 'Gio'
db 'Ven'
db 'Sab'
else else
db 3 db 3
db 7 db 7
@ -1063,6 +1087,8 @@ else if lang eq fr
db 'Calendrier',0 db 'Calendrier',0
else if lang eq et else if lang eq et
db 'Kalender',0 db 'Kalender',0
else if lang eq it
db 'Calendario',0
else else
db 'Calendar',0 db 'Calendar',0
end if end if
@ -1081,6 +1107,9 @@ else if lang eq ge
else if lang eq et else if lang eq et
db 'Kuupäev 1' db 'Kuupäev 1'
db 'Kuupäev 2' db 'Kuupäev 2'
else if lang eq it
db '1a data '
db '2a data '
else else
db '1st date ' db '1st date '
db '2nd date ' db '2nd date '
@ -1095,6 +1124,8 @@ else if lang eq fr
db 'Nouveau' db 'Nouveau'
else if lang eq et else if lang eq et
db 'Uus stiil' db 'Uus stiil'
else if lang eq it
db 'Nuovo stile'
else else
db 'New style' db 'New style'
end if end if
@ -1108,6 +1139,8 @@ else if lang eq fr
db "Aujourd'hui" db "Aujourd'hui"
else if lang eq et else if lang eq et
db 'Täna' db 'Täna'
else if lang eq it
db 'Oggi'
else else
db 'Today' db 'Today'
end if end if
@ -1116,10 +1149,38 @@ focus dd 3
new_style dd 1 new_style dd 1
dropped db 0 dropped db 0
sys_text: db 'á¨á⥬­®¥ ¢à¥¬ï',0 sys_text:
plus: db '¤®¡ ¢¨âì(+)',0 if lang eq ru
minus: db 'ã¡à âì(-)',0 db 'á¨á⥬­®¥ ¢à¥¬ï',0
setd: db '“áâ ­®¢¨âì ¤ âã',0 else if lang eq it
db 'Ora di sistema',0
else
db 'á¨á⥬­®¥ ¢à¥¬ï',0
end if
plus:
if lang eq ru
db '¤®¡ ¢¨âì(+)',0
else if lang eq it
db 'Avanti',0
else
db '¤®¡ ¢¨âì(+)',0
end if
minus:
if lang eq ru
db 'ã¡à âì(-)',0
else if lang eq it
db 'Indietro',0
else
db 'ã¡à âì(-)',0
end if
setd:
if lang eq ru
db '“áâ ­®¢¨âì ¤ âã',0
else if lang eq it
db 'Impostazioni',0
else
db '“áâ ­®¢¨âì ¤ âã',0
end if
I_END: ; ª®­¥æ ¯à®£à ¬¬ë I_END: ; ª®­¥æ ¯à®£à ¬¬ë
firstday dd ? firstday dd ?
@ -1131,4 +1192,4 @@ all_days dd ?
datestr dd ? datestr dd ?
leap_year dd ? leap_year dd ?
number dd ? number dd ?
year_input dd ? year_input dd ?

View File

@ -0,0 +1,28 @@
#!gmake
# Macro
FASM=/opt/bin/fasm
KPACK=/opt/bin/kpack
LANG=lang.inc
FILE=calendar
SOURCE=${FILE}.asm
OUT=${FILE}.bin
en:
echo "lang fix en" > ${LANG}
${FASM} ${SOURCE} ${OUT}
et:
echo "lang fix et" > ${LANG}
${FASM} ${SOURCE} ${OUT}
ge:
echo "lang fix ge" > ${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}

View File

@ -1,12 +1,13 @@
#!/bin/bash #!/bin/sh
# This script does for linux the same as build.bat for DOS,
# it compiles the KoOS kernel, hopefully ;-)
echo "lang fix ru"
echo "lang fix en" echo "lang fix en"
echo "lang fix en" > lang.inc echo "lang fix de"
fasm -m 16384 menu.asm @menu echo "lang fix it" > lang.inc
#/opt/fasm/fasm menu.asm @menu
fasm menu.asm @menu
kpack @menu kpack @menu
rm -f lang.inc #rm -f lang.inc
exit 0 exit 0

View File

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