125 lines
2.9 KiB
C
125 lines
2.9 KiB
C
/* $Id$
|
||
|
||
Harbour Project source code
|
||
|
||
Hungarian language module (2 char. ISO language code: HU)
|
||
Codepage: 852
|
||
|
||
Copyright (C) 1999 Victor Szel <info@szelvesz.hu>
|
||
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/).
|
||
*/
|
||
|
||
/* TODO: Decide which codepage to use, and how to implement the whole
|
||
codepage issue */
|
||
|
||
char *hb_monthsname[ 12 ] =
|
||
{
|
||
"janu r",
|
||
"febru r",
|
||
"m rcius",
|
||
" prilis",
|
||
"m jus",
|
||
"j£nius",
|
||
"j£lius",
|
||
"augusztus",
|
||
"szeptember",
|
||
"okt¢ber",
|
||
"november",
|
||
"december"
|
||
};
|
||
|
||
char *hb_daysname[ 7 ] =
|
||
{
|
||
"vas rnap",
|
||
"h‚tf‹",
|
||
"kedd",
|
||
"szerda",
|
||
"cs<EFBFBD>t”rt”k",
|
||
"p‚ntek",
|
||
"szombat"
|
||
};
|
||
|
||
static char *genericErrors[] =
|
||
{
|
||
"Unknown error",
|
||
"Argument error",
|
||
"Bound error",
|
||
"String overflow",
|
||
"Numeric overflow",
|
||
"Divide by zero",
|
||
"Numeric error",
|
||
"Syntax error",
|
||
"Operation too complex",
|
||
"",
|
||
"",
|
||
"Memory low",
|
||
"Undefined function",
|
||
"No exported method",
|
||
"Variable does not exists",
|
||
"Alias does not exists",
|
||
"No exported variable",
|
||
"Incorrect alias name",
|
||
"Duplicated alias name",
|
||
"",
|
||
"Create error",
|
||
"Open error",
|
||
"Close error",
|
||
"Read error",
|
||
"Write error",
|
||
"Print error",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"Unsupported operation",
|
||
"Limit exeeded",
|
||
"Index corruption detected",
|
||
"Incorrect type of data",
|
||
"Data width too long",
|
||
"Workarea not in use",
|
||
"Workarea not indexed",
|
||
"Exclusive use required",
|
||
"Lock required",
|
||
"Write not allowed",
|
||
"Append lock failed",
|
||
"Lock failure",
|
||
"",
|
||
"",
|
||
"",
|
||
"Incorrect number of arguments",
|
||
"array access",
|
||
"array assign",
|
||
"not an array",
|
||
"conditional"
|
||
};
|
||
|
||
char *hb_ErrorNatDescription( ULONG ulGenError )
|
||
{
|
||
if( ulGenError <= sizeof(genericErrors)/sizeof(char*) )
|
||
return genericErrors[ ulGenError ];
|
||
else
|
||
return genericErrors[ 0 ];
|
||
}
|