From dc294e19a507c36f1c02742eb712186fc32ac68f Mon Sep 17 00:00:00 2001 From: fedesco Date: Sat, 1 Jun 2013 18:52:46 +0000 Subject: [PATCH] italian version git-svn-id: svn://kolibrios.org@3586 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/board/trunk/board.asm | 18 +++--- programs/system/board/trunk/makefile | 29 +++++++++ programs/system/calendar/trunk/calendar.asm | 71 +++++++++++++++++++-- programs/system/calendar/trunk/makefile | 28 ++++++++ programs/system/menu/trunk/build.sh | 13 ++-- programs/system/menu/trunk/makefile | 30 +++++++++ 6 files changed, 170 insertions(+), 19 deletions(-) create mode 100644 programs/system/board/trunk/makefile create mode 100644 programs/system/calendar/trunk/makefile create mode 100644 programs/system/menu/trunk/makefile diff --git a/programs/system/board/trunk/board.asm b/programs/system/board/trunk/board.asm index 6c340642dd..da6ab6e07c 100644 --- a/programs/system/board/trunk/board.asm +++ b/programs/system/board/trunk/board.asm @@ -41,7 +41,7 @@ param: ;flush: ; mcall 63,2 ; loop flush - + mov ecx,TMP xor eax,eax mov edi,[targ] @@ -49,7 +49,7 @@ param: mov [tmp1],'x' mov [tmp2],'x' - + mcall 14 and eax,0xffff0000 sub eax,399 shl 16 @@ -251,7 +251,7 @@ newline: cmp [edx],byte 'x' jne newline ret -;------------------------------------------------------------------------------ +;------------------------------------------------------------------------------ if WRITE_LOG ;******************************************** ;* input: esi = pointer to the file name * @@ -322,10 +322,12 @@ duk db 'KernUser' ; 5,11 > 0,-1 if lang eq ru title db 'Доска отладки и сообщений',0 -else if lang eq en - title db 'General debug & message board',0 -else +else if lang eq it + title db 'Notifiche e informazioni generiche per il debug',0 +else if lang eq ge title db 'Allgemeines debug- & nachrichtenboard',0 +else + title db 'General debug & message board',0 end if krnl_cnt dd 0 vmode dd 1 @@ -352,11 +354,11 @@ sc system_colors i_end: filename rb 256 -;------------------------------------------------------------------------------ +;------------------------------------------------------------------------------ align 4 procinfo: rb 1024 -;------------------------------------------------------------------------------ +;------------------------------------------------------------------------------ align 4 stackbuf rb 2000h ;------------------------------------------------------------------------------ diff --git a/programs/system/board/trunk/makefile b/programs/system/board/trunk/makefile new file mode 100644 index 0000000000..61a8627b51 --- /dev/null +++ b/programs/system/board/trunk/makefile @@ -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} diff --git a/programs/system/calendar/trunk/calendar.asm b/programs/system/calendar/trunk/calendar.asm index 591f9c965c..632c1c9b29 100644 --- a/programs/system/calendar/trunk/calendar.asm +++ b/programs/system/calendar/trunk/calendar.asm @@ -159,6 +159,20 @@ else if lang eq et db 'Oktoober ' db 'November ' 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 db 9 db 'January ' @@ -226,6 +240,16 @@ else if lang eq et db 'Ree' db 'Lau' 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 db 3 db 7 @@ -1063,6 +1087,8 @@ else if lang eq fr db 'Calendrier',0 else if lang eq et db 'Kalender',0 +else if lang eq it + db 'Calendario',0 else db 'Calendar',0 end if @@ -1081,6 +1107,9 @@ else if lang eq ge else if lang eq et db 'Kuupфev 1' db 'Kuupфev 2' +else if lang eq it + db '1a data ' + db '2a data ' else db '1st date ' db '2nd date ' @@ -1095,6 +1124,8 @@ else if lang eq fr db 'Nouveau' else if lang eq et db 'Uus stiil' +else if lang eq it + db 'Nuovo stile' else db 'New style' end if @@ -1108,6 +1139,8 @@ else if lang eq fr db "Aujourd'hui" else if lang eq et db 'Tфna' +else if lang eq it + db 'Oggi' else db 'Today' end if @@ -1116,10 +1149,38 @@ focus dd 3 new_style dd 1 dropped db 0 -sys_text: db 'системное время',0 -plus: db 'добавить(+)',0 -minus: db 'убрать(-)',0 -setd: db 'Установить дату',0 +sys_text: +if lang eq ru + 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: ; конец программы firstday dd ? @@ -1131,4 +1192,4 @@ all_days dd ? datestr dd ? leap_year dd ? number dd ? -year_input dd ? \ No newline at end of file +year_input dd ? diff --git a/programs/system/calendar/trunk/makefile b/programs/system/calendar/trunk/makefile new file mode 100644 index 0000000000..d2d8a08c37 --- /dev/null +++ b/programs/system/calendar/trunk/makefile @@ -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} diff --git a/programs/system/menu/trunk/build.sh b/programs/system/menu/trunk/build.sh index 8afd7ccfdc..10f7d1b397 100644 --- a/programs/system/menu/trunk/build.sh +++ b/programs/system/menu/trunk/build.sh @@ -1,12 +1,13 @@ -#!/bin/bash -# This script does for linux the same as build.bat for DOS, -# it compiles the KoOS kernel, hopefully ;-) +#!/bin/sh + echo "lang fix ru" echo "lang fix en" - echo "lang fix en" > lang.inc - fasm -m 16384 menu.asm @menu + echo "lang fix de" + echo "lang fix it" > lang.inc + #/opt/fasm/fasm menu.asm @menu + fasm menu.asm @menu kpack @menu - rm -f lang.inc + #rm -f lang.inc exit 0 diff --git a/programs/system/menu/trunk/makefile b/programs/system/menu/trunk/makefile new file mode 100644 index 0000000000..edfaa0c9a6 --- /dev/null +++ b/programs/system/menu/trunk/makefile @@ -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