217 lines
6.3 KiB
C
217 lines
6.3 KiB
C
/*
|
|
* $Id$
|
|
*/
|
|
|
|
/*
|
|
* Harbour Project source code:
|
|
* Language Support Module (ZHB5)
|
|
*
|
|
* Copyright 1999-2001 dongming <dongming@km169.net>
|
|
* or <freexbase@yahoo.com.cn>
|
|
* 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, or (at your option)
|
|
* any later version.
|
|
*
|
|
* 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 software; see the file COPYING. If not, write to
|
|
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
|
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
|
*
|
|
* As a special exception, the Harbour Project gives permission for
|
|
* additional uses of the text contained in its release of Harbour.
|
|
*
|
|
* The exception is that, if you link the Harbour libraries 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 Harbour library code into it.
|
|
*
|
|
* This exception does not however invalidate any other reasons why
|
|
* the executable file might be covered by the GNU General Public License.
|
|
*
|
|
* This exception applies only to the code released by the Harbour
|
|
* Project under the name Harbour. If you copy code from other
|
|
* Harbour Project or Free Software Foundation releases into a copy of
|
|
* Harbour, as the General Public License permits, the exception does
|
|
* not apply to the code that you add in this way. To avoid misleading
|
|
* anyone as to the status of such modified files, you must delete
|
|
* this exception notice from them.
|
|
*
|
|
* If you write modifications of your own for Harbour, it is your choice
|
|
* whether to permit this exception to apply to your modifications.
|
|
* If you do not wish that, delete this exception notice.
|
|
*
|
|
*/
|
|
|
|
/* Language name: Chinese Traditional */
|
|
/* ISO language code (2 chars): ZH */
|
|
/* Codepage: 950 for ZH-HK,ZH-TW */
|
|
|
|
#include "hbapilng.h"
|
|
|
|
static HB_LANG s_lang =
|
|
{
|
|
{
|
|
/* Identification */
|
|
|
|
"ZHB5", /* ID */
|
|
"Chinese Traditional", /* Name (in English) */
|
|
"中文繁體BIG5", /* Name (in native language) */
|
|
"ZH", /* RFC ID */
|
|
"950", /* Codepage */
|
|
"$Revision$ $Date$", /* Version */
|
|
|
|
/* Month names */
|
|
|
|
"一月",
|
|
"二月",
|
|
"三月",
|
|
"四月",
|
|
"五月",
|
|
"六月",
|
|
"七月",
|
|
"八月",
|
|
"九月",
|
|
"十月",
|
|
"十一月",
|
|
"十二月",
|
|
|
|
/* Day names */
|
|
|
|
"星期日",
|
|
"星期一",
|
|
"星期二",
|
|
"星期三",
|
|
"星期四",
|
|
"星期五",
|
|
"星期六",
|
|
|
|
/* CA-Cl*pper compatible natmsg items */
|
|
|
|
"數據庫檔案 # 記錄 最後更新 大小",
|
|
"需要更多的例子嗎?",
|
|
"頁碼:",
|
|
"** 小計 **",
|
|
"* 子小計 *",
|
|
"*** 合計 ***",
|
|
"插入",
|
|
" ",
|
|
"日期非法",
|
|
"範圍: ",
|
|
" - ",
|
|
"Y/N",
|
|
"非法表達式",
|
|
|
|
/* Error description names */
|
|
|
|
"Unknown error",
|
|
"Argument error",
|
|
"Bound error",
|
|
"String overflow",
|
|
"Numeric overflow",
|
|
"Zero divisor",
|
|
"Numeric error",
|
|
"Syntax error",
|
|
"Operation too complex",
|
|
"",
|
|
"",
|
|
"Memory low",
|
|
"Undefined function",
|
|
"No exported method",
|
|
"Variable does not exist",
|
|
"Alias does not exist",
|
|
"No exported variable",
|
|
"Illegal characters in alias",
|
|
"Alias already in use",
|
|
"",
|
|
"Create error",
|
|
"Open error",
|
|
"Close error",
|
|
"Read error",
|
|
"Write error",
|
|
"Print error",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"Operation not supported",
|
|
"Limit exceeded",
|
|
"Corruption detected",
|
|
"Data type error",
|
|
"Data width error",
|
|
"Workarea not in use",
|
|
"Workarea not indexed",
|
|
"Exclusive required",
|
|
"Lock required",
|
|
"Write not allowed",
|
|
"Append lock failed",
|
|
"Lock Failure",
|
|
"",
|
|
"",
|
|
"",
|
|
"",
|
|
"array access",
|
|
"array assign",
|
|
"array dimension",
|
|
"not an array",
|
|
"conditional",
|
|
|
|
/* Internal error names */
|
|
|
|
"Unrecoverable error %lu: ",
|
|
"Error recovery failure",
|
|
"No ERRORBLOCK() for error",
|
|
"Too many recursive error handler calls",
|
|
"RDD invalid or failed to load",
|
|
"Invalid method type from %s",
|
|
"hb_xgrab can't allocate memory",
|
|
"hb_xrealloc called with a NULL pointer",
|
|
"hb_xrealloc called with an invalid pointer",
|
|
"hb_xrealloc can't reallocate memory",
|
|
"hb_xfree called with an invalid pointer",
|
|
"hb_xfree called with a NULL pointer",
|
|
"Can\'t locate the starting procedure: \'%s\'",
|
|
"No starting procedure",
|
|
"Unsupported VM opcode",
|
|
"Symbol item expected from %s",
|
|
"Invalid symbol type for self from %s",
|
|
"Codeblock expected from %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",
|
|
"Memory buffer overflow",
|
|
"hb_xgrab requested to allocate zero bytes",
|
|
"hb_xrealloc requested to resize to zero bytes",
|
|
"hb_xalloc requested to allocate zero bytes",
|
|
|
|
/* Texts */
|
|
|
|
"YYYY/MM/DD",
|
|
"Y",
|
|
"N"
|
|
}
|
|
};
|
|
|
|
HB_LANG_ANNOUNCE( ZHB5 );
|
|
|
|
HB_CALL_ON_STARTUP_BEGIN( hb_lang_Init_ZHB5 )
|
|
hb_langRegister( &s_lang );
|
|
HB_CALL_ON_STARTUP_END( hb_lang_Init_ZHB5 )
|
|
|
|
#if defined(HB_PRAGMA_STARTUP)
|
|
#pragma startup hb_lang_Init_ZHB5
|
|
#elif defined(HB_MSC_STARTUP)
|
|
#pragma data_seg( HB_MSC_START_SEGMENT )
|
|
static HB_$INITSYM hb_vm_auto_hb_lang_Init_ZHB5 = hb_lang_Init_ZHB5;
|
|
#pragma data_seg()
|
|
#endif
|