diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 5771cb64c0..69c4b76e45 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,8 @@ +20000619-23:08 GMT+2 Maurilio Longo + + * source/lang/msgit.c + * converted new template to italian + 20000619-21:44 GMT+2 Maurilio Longo * harbour/source/rtl/filesys.c diff --git a/harbour/source/lang/msgit.c b/harbour/source/lang/msgit.c index 7c18f05c6b..0b5468f5dc 100644 --- a/harbour/source/lang/msgit.c +++ b/harbour/source/lang/msgit.c @@ -2,91 +2,190 @@ * $Id$ */ -/* Language Support Module */ +/* + * Harbour Project source code: + * Language Support Module (IT) + * + * Copyright 2000 Maurilio Longo + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version, with one exception: + * + * The exception is that if you link the Harbour Runtime Library (HRL) + * and/or the Harbour Virtual Machine (HVM) with other files to produce + * an executable, this does not by itself cause the resulting executable + * to be covered by the GNU General Public License. Your use of that + * executable is in no way restricted on account of linking the HRL + * and/or HVM code into it. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit + * their web site at http://www.gnu.org/). + * + */ /* Language name: Italian */ /* ISO language code (2 chars): IT */ -/* Codepage: ???? */ +/* Codepage: 437 */ -#include "hbdefs.h" +#include "hbapilng.h" -char *hb_dateMonthsName[ 12 ] = +static HB_LANG s_lang = { - "Gennaio", - "Febbraio", - "Marzo", - "Aprile", - "Maggio", - "Giugno", - "Luglio", - "Agosto", - "Settembre", - "Ottobre", - "Novembre", - "Dicembre" + { + /* Identification */ + + "IT", /* ID */ + "Italian", /* Name (in English) */ + "Italiano", /* Name (in native language) */ + "IT", /* RFC ID */ + "437", /* Codepage */ + "$Revision$ $Date$", /* Version */ + + /* Month names */ + + + "Gennaio", + "Febbraio", + "Marzo", + "Aprile", + "Maggio", + "Giugno", + "Luglio", + "Agosto", + "Settembre", + "Ottobre", + "Novembre", + "Dicembre" + + /* Day names */ + + "Domenica", + "Luned¨", + "Marted¨", + "Mercoled¨", + "Gioved¨", + "Venerd¨", + "Sabato" + + /* CA-Cl*pper compatible natmsg items */ + + "File di dati # Record Ultima Mod. Dimens.", + "Vuoi altri esempi?", + "Pagina Nr.", + "** Subtotale **", + "* Subsubtotale *", + "*** Totale ***", + "Ins", + " ", + "Data non valida", + "Intervallo: ", + " - ", + "Y/N", + "ESPRESSIONE NON VALIDA", + + /* Error description names */ + + "Errore sconosciuto", + "Parametro errato", + "Limiti superati", + "Stringa troppo lunga (overflow)", + "Numero troppo grande (overflow)", + "Divisione per zero", + "Errore numerico", + "Errore sintattico", + "Formula troppo complessa", + "", + "", + "Memoria scarsa", + "Funzione non definita", + "Metodo non disponibile", + "Variabile inesistente", + "Alias inesistente", + "Variabile non disponibile", + "Caratteri non ammissibili in un Alias", + "Alias gi… in uso", + "", + "Errore nella creazione", + "Errore in apertura", + "Errore in chiusura", + "Errore in lettura", + "Errore in scrittura", + "Errore in stampa", + "", + "", + "", + "", + "Operazione non supportata", + "Limite superato", + "Riscontrata corruzione", + "Errore nel tipo dei dati", + "Errore nella dimensione dei dati", + "Workarea non in use", + "Workarea non indicizzata", + "Richiede l'uso esclusivo", + "Richiede un Lock", + "Scrittura non consentita", + "Append Lock fallito", + "Lock fallito", + "", + "", + "", + "", + "accesso all'array", + "assegnazione all'array", + "dimensione dell'array", + "non ‚ un array", + "condizionale", + + /* Internal error names */ + + "Errore irrecuperabile %lu: ", + "Recupero dell'errore non riuscito", + "Manca ERRORBLOCK() per l'errore", + "Troppe chiamate ricorsive al gestore d'errore", + "RDD non valido o caricamento non riuscito", + "Metodo non valido per %s", + "hb_xgrab non riesce a riservare memoria", + "hb_xrealloc chiamato con un puntatore nullo", + "hb_xrealloc chiamato con un puntatore non valido", + "hb_xrealloc non riesce a modificare la dimensione della memoria riservata", + "hb_xfree chiamato con un puntatore non valido", + "hb_xfree chiamato con un puntatore nullo", + "Non trovo la procedura iniziale: \'%s\'", + "Manca una procedura iniziale", + "VM opcode non supportato", + "Symbol item atteso per %s", + "Invalid symbol type for self from %s", + "Codeblock atteso per %s", + "Incorrect item type on the stack trying to pop from %s", + "Stack underflow", + "An item was going to be copied to itself from %s", + "Invalid symbol item passed as memvar %s", + + /* Texts */ + + "AAAA/MM/GG", + "S", + "N" + } }; -char *hb_dateDaysName[ 7 ] = -{ - "Domenica", - "Lunedi", - "Martedi", - "Mercoledi", - "Giovedi", - "Venerdi", - "Sabato" -}; +HB_LANG_ANNOUNCE( TPL ); + +HB_CALL_ON_STARTUP_BEGIN( hb_lang_Init_TPL ) + hb_langRegister( &s_lang ); +HB_CALL_ON_STARTUP_END( hb_lang_Init_TPL ) +#if ! defined(__GNUC__) && ! defined(_MSC_VER) + #pragma startup hb_lang_Init_TPL +#endif -char *hb_errorsGeneric[] = -{ - "Errore sconosciuto", - "Errore di parametri", - "Bound error", - "Overflow di stringa", - "Overflow numerico", - "Divisione per zero", - "Errore numerico", - "Errore si sintassi", - "Operazione troppo complessa", - "", - "", - "Memoria bassa", - "Funzione sconosciuta", - "Metodo non esportato", - "Variabile sconosciuta", - "Alias sconosciuto", - "Variabile non esportata", - "Alias scorretto", - "Alias duplicato", - "", - "Errore di creazione", - "Errore d'apertura", - "Errore di chiusura", - "Errore di lettura", - "Errore di scrittura", - "Errore di stampa", - "", - "", - "", - "", - "Operazione non supportata", - "Limite superato", - "Indice corrotto", - "Dato di tipo scorretto", - "Larghezza troppo grande di dato", - "Workarea non in uso", - "Workarea non indicizzata", - "E' richiesto l'uso esclusivo", - "Lock richiesto", - "Scrittura non permessa", - "Append con lock fallito", - "Lock fallito", - "", - "", - "", - "Numero scorretto di argomenti", - "accesso ad array", - "assegnazione ad array", - "non e' un array", - "condizione" -};