* hrbdll.bc
* hrbdll.vc
* makefile.bc
* makefile.nt
* makefile.vc
* makefile64.nt
* include/hbapicdp.h
* source/codepage/Makefile
* source/codepage/cdphu852.c
* source/lang/Makefile
* source/lang/msg_tpl.c
* source/lang/msghu852.c
+ source/codepage/cdpbg866.c
+ source/codepage/cdpbgiso.c
+ source/codepage/cdpbgwin.c
+ source/codepage/uc8859_5.c
+ source/lang/msgbg866.c
+ source/lang/msgbgiso.c
+ source/lang/msgbgwin.c
+ Added BG language support.
* HU minor fix.
* Lang template updated.
221 lines
6.5 KiB
C
221 lines
6.5 KiB
C
/*
|
||
* $Id$
|
||
*/
|
||
|
||
/*
|
||
* Harbour Project source code:
|
||
* Language Support Module (BG866)
|
||
*
|
||
* Copyright 1999-2005 Viktor Szakats <viktor.szakats@syenar.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, 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: Bulgarian */
|
||
/* ISO language code (2 chars): (please look it up in /doc/lang_id.txt) */
|
||
/* Codepage: CP-866 */
|
||
|
||
#include "hbapilng.h"
|
||
|
||
static HB_LANG s_lang =
|
||
{
|
||
{
|
||
/* Identification */
|
||
|
||
"BG866", /* ID */
|
||
"Bulgarian", /* Name (in English) */
|
||
"<EFBFBD>ê«£ à᪨", /* Name (in native language) */
|
||
"BG", /* RFC ID */
|
||
"CP-866", /* Codepage */
|
||
"$Revision$ $Date$", /* Version */
|
||
|
||
/* Month names */
|
||
|
||
"Ÿã à¨",
|
||
"”¥¢àã à¨",
|
||
"Œ àâ",
|
||
"€¯à¨«",
|
||
"Œ ©",
|
||
"ž¨",
|
||
"ž«¨",
|
||
"€¢£ãáâ",
|
||
"‘¥¯â¥¬¢à¨",
|
||
"Žªâ®¬¢à¨",
|
||
"<EFBFBD>®¥¬¢à¨",
|
||
"„¥ª¥¬¢à¨",
|
||
|
||
/* Day names */
|
||
|
||
"<EFBFBD>¥¤¥«ï",
|
||
"<EFBFBD>®¥¤¥«¨ª",
|
||
"‚â®à¨ª",
|
||
"‘àï¤ ",
|
||
"—¥â¢êàâêª",
|
||
"<EFBFBD>¥âêª",
|
||
"‘ê¡®â ",
|
||
|
||
/* CA-Cl*pper compatible natmsg items */
|
||
|
||
"” ©«®¢¥ # ‡ ¯¨á¨ <20>®á«¥¤® ®¡®¢ï¢ ¥ ƒ®«¥¬¨ ",
|
||
"ˆáª ⥠«¨ ®é¥ ¯à¨¬¥à¨?",
|
||
"‘âà. No.",
|
||
"** Œ¥¦¤. á㬠**",
|
||
"* Œ¥¦¤. á㬠*",
|
||
"*** Ž¡é® ***",
|
||
"Ins",
|
||
" ",
|
||
"<EFBFBD>¥ª®à¥ªâ ¤ â ",
|
||
"„¨ ¯ §®: ",
|
||
" - ",
|
||
"Y/N",
|
||
"<EFBFBD>…ŠŽ<EFBFBD>…Š’…<EFBFBD> ˆ‡<CB86>€‡",
|
||
|
||
/* Error description names */
|
||
|
||
"<EFBFBD>¥¯®§ â £à¥èª ",
|
||
"ƒà¥èª ¢ ¯ à ¬¥âêà",
|
||
"ƒà¥èª ¢ £à ¨ç¨ á⮩®áâ¨",
|
||
"<EFBFBD>९ꫢ ¥ áâਣ",
|
||
"—¨á«®¢® ¯à¥¯ê«¢ ¥",
|
||
"„¥«¥¨¥ ã« ",
|
||
"—¨á«®¢ £à¥èª ",
|
||
"‘¨â ªâ¨ç £à¥èª ",
|
||
"Œ®£® á«®¦ ®¯¥à æ¨ï",
|
||
"",
|
||
"",
|
||
"<EFBFBD>¥¤®á⨣ ¯ ¬¥â",
|
||
"<EFBFBD>¥¤¥ä¨¨à äãªæ¨ï",
|
||
"<EFBFBD>ï¬ ¥ªá¯®àâ¨à ¬¥â®¤",
|
||
"<EFBFBD>஬¥«¨¢ â ¥ áêé¥áâ¢ã¢ ",
|
||
"<EFBFBD>ᥢ¤®¨¬ ¥ áêé¥áâ¢ã¢ ",
|
||
"<EFBFBD>ï¬ ¥ªá¯®àâ¨à ¯à®¬¥«¨¢ ",
|
||
"<EFBFBD>¥¯®§¢®«¥¨ ᨬ¢®«¨ ¢ ¯á¥¢¤®¨¬",
|
||
"<EFBFBD>ᥢ¤®¨¬ ¢¥ç¥ ᥠ¨§¯®«§¢ ",
|
||
"",
|
||
"ƒà¥èª ¯à¨ áꧤ ¢ ¥",
|
||
"ƒà¥èª ¯à¨ ®â¢ àï¥",
|
||
"ƒà¥èª ¯à¨ § ⢠àï¥",
|
||
"ƒà¥èª ¯à¨ ç¥â¥¥",
|
||
"ƒà¥èª ¯à¨ § ¯¨á",
|
||
"ƒà¥èª ¯à¨ ¯¥ç â",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"ޝ¥à æ¨ïâ ¥ ᥠ¯®¤êঠ",
|
||
"<EFBFBD> ¤å¢êà«¥® ®£à ¨ç¥¨¥",
|
||
"Žâªà¨â ¯®¢à¥¤ ",
|
||
"ƒà¥èª ¢ ⨯ ¤ ¨",
|
||
"ƒà¥èª ¢ à §¬¥à ¤ ¨",
|
||
"<EFBFBD> ¡®â â ®¡« áâ ¥ ¥ ¢ 㯮âॡ ",
|
||
"<EFBFBD> ¡®â â ®¡« áâ ¥ ¥ ¨¤¥ªá¨à ",
|
||
"ˆ§¨áª¢ ᥠExclusive",
|
||
"ˆ§¨áª¢ ᥠ§ ª«îç¢ ¥",
|
||
"‡ ¯¨á ¥ ¥ ¯®§¢®«¥",
|
||
"Append lock ᥠ¯à®¢ «¨",
|
||
"<EFBFBD>¥ãá¯¥è® § ª«îç¢ ¥",
|
||
"",
|
||
"",
|
||
"",
|
||
"",
|
||
"¤®áâê¯ ¤® ¬ ᨢ",
|
||
"¯à¨á¢®ï¢ ¥ ¬ ᨢ",
|
||
"à §¬¥à®áâ ¬ ᨢ",
|
||
"¥ ¥ ¬ ᨢ",
|
||
"ãá«®¢¥",
|
||
|
||
/* Internal error names */
|
||
|
||
"<EFBFBD>¥¯®¯à ¢¨¬ £à¥èª %lu: ",
|
||
"<EFBFBD>¥ãá¯¥è® ¯®¯à ¢ï¥ £à¥èª ",
|
||
"<EFBFBD>ï¬ ERRORBLOCK() § £à¥èª ",
|
||
"<EFBFBD>४ «¥® ¬®£® ४ãàᨢ¨ ¨§¢¨ª¢ ¨ï ¯à¨å¢ é ç £à¥èª¨",
|
||
"RDD ¥¢ «¨¤¥ ¨«¨ ¥ãá¯¥è® § ०¤ ¥",
|
||
"<EFBFBD>¥¢ «¨¤¥ ⨯ ¬¥â®¤ ®â %s",
|
||
"hb_xgrab ¥ ¬®¦¥ ¤ § ¤¥«¨ ¯ ¬¥â",
|
||
"hb_xrealloc ¨§¢¨ª á NULL 㪠§ ⥫",
|
||
"hb_xrealloc ¨§¢¨ª á ¥¢ «¨¤¥ 㪠§ ⥫",
|
||
"hb_xrealloc ¥ ¬®¦¥ ¤ § ¤¥«¨ ¯ ¬¥â",
|
||
"hb_xfree ¨§¢¨ª á ¥¢ «¨¤¥ 㪠§ ⥫",
|
||
"hb_xfree ¨§¢¨ª á NULL 㪠§ ⥫",
|
||
"<EFBFBD>¥ ¬®¦¥ ¤ ®¯à¥¤¥«¨ ç « â ¯à®æ¥¤ãà : \'%s\'",
|
||
"<EFBFBD>ï¬ ç « ¯à®æ¥¤ãà ",
|
||
"<EFBFBD>¥¯®¤êঠVM opcode",
|
||
"‘¨¬¢®«¥ à⨪㫠®ç ª¢ ®â %s",
|
||
"<EFBFBD>¥¢ «¨¤¥ ᨬ¢®«¥ ⨯ § self ®â %s",
|
||
"Codeblock ®ç ª¢ ®â %s",
|
||
"<EFBFBD>¥ª®à¥ªâ¥ ⨯ ¢ á⥪ ®¯¨â § ¨§¢«¨ç ¥ ®â %s",
|
||
"<EFBFBD>à §¥ á⥪",
|
||
"ޝ¨â § ª®¯¨à ¥ ®¡¥ªâ ¢ ᥡ¥ ᨠ®â %s",
|
||
"¥¢ «¨¤¥ ᨬ¢®«¥ ®¡¥ªâ ¨§¯à ⥠ª â® memvar %s",
|
||
"<EFBFBD>९ꫢ ¥ ¡ãä¥à ¢ ¯ ¬¥ââ ",
|
||
"hb_xgrab § ® ¤ § ¤¥«¨ ã« ¡ ©â ",
|
||
"hb_xrealloc § ® ¤ ¯à®¬¥¨ £®«¥¬¨ â ã« ¡ ©â ",
|
||
"hb_xalloc § ® ¤ § ¤¥«¨ ã« ¡ ©â ",
|
||
|
||
/* Texts */
|
||
|
||
"YYYY/MM/DD",
|
||
"Y",
|
||
"N"
|
||
}
|
||
};
|
||
|
||
HB_LANG_ANNOUNCE( BG866 );
|
||
|
||
HB_CALL_ON_STARTUP_BEGIN( hb_lang_Init_BG866 )
|
||
hb_langRegister( &s_lang );
|
||
HB_CALL_ON_STARTUP_END( hb_lang_Init_BG866 )
|
||
|
||
#if defined(HB_PRAGMA_STARTUP)
|
||
#pragma startup hb_lang_Init_BG866
|
||
#elif defined(HB_MSC_STARTUP)
|
||
#if _MSC_VER >= 1010
|
||
#pragma data_seg( ".CRT$XIY" )
|
||
#pragma comment( linker, "/Merge:.CRT=.data" )
|
||
#else
|
||
#pragma data_seg( "XIY" )
|
||
#endif
|
||
static HB_$INITSYM hb_vm_auto_hb_lang_Init_BG866 = hb_lang_Init_BG866;
|
||
#pragma data_seg()
|
||
#endif
|