2009-07-16 10:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* include/hbextern.ch
  * source/lang/Makefile
  + source/lang/msguados.c
    + Added Ukrainian language module for cp1125.
      (borrowed from xhb, work of Pavel Tsarenko.)
      I've made a few corrections compared to xhb:
      - Using the same internal name as filename for
        consistency with other language modules
        (UADOS instead of UA1125).
      - Fixed date format which must only contain YYYY, MM, DD
        regardless of the CP/language used, since it's a picture mask.
      - Formatting (semicolon, spaces, deleted embedded $Id$ not
        needed with SVN)
      - Added to hbextern.ch.

  * source/lang/msguakoi.c
  * source/lang/msgua866.c
    * Two corrections to internal name.
      (borrowed from xhb, work of Pavel Tsarenko.)
    ; QUESTION: I wonder why the texts are very much different in
                Harbour and xhb. Someone familiar with Ukrainian
                language and encodings should check this, only one
                of them can be right and all CPs should be synced 
                with each other the only thing being different is 
                the encoding.

  * source/codepage/msguakoi.c
    ! Fixed one letter.

  * source/codepage/cpuawin.c
  * source/codepage/cpua1125.c
  * source/codepage/cpua866.c
  * source/codepage/cpuakoi.c
    * Added "CYRILLIC LETTER GHE WITH UPTURN" letter.
      (borrowed from xhb, work of Pavel Tsarenko.)
This commit is contained in:
Viktor Szakats
2009-07-16 08:49:33 +00:00
parent f0659091a8
commit 43cd4d5102
10 changed files with 277 additions and 20 deletions

View File

@@ -17,6 +17,43 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-07-16 10:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbextern.ch
* source/lang/Makefile
+ source/lang/msguados.c
+ Added Ukrainian language module for cp1125.
(borrowed from xhb, work of Pavel Tsarenko.)
I've made a few corrections compared to xhb:
- Using the same internal name as filename for
consistency with other language modules
(UADOS instead of UA1125).
- Fixed date format which must only contain YYYY, MM, DD
regardless of the CP/language used, since it's a picture mask.
- Formatting (semicolon, spaces, deleted embedded $Id$ not
needed with SVN)
- Added to hbextern.ch.
* source/lang/msguakoi.c
* source/lang/msgua866.c
* Two corrections to internal name.
(borrowed from xhb, work of Pavel Tsarenko.)
; QUESTION: I wonder why the texts are very much different in
Harbour and xhb. Someone familiar with Ukrainian
language and encodings should check this, only one
of them can be right and all CPs should be synced
with each other the only thing being different is
the encoding.
* source/codepage/msguakoi.c
! Fixed one letter.
* source/codepage/cpuawin.c
* source/codepage/cpua1125.c
* source/codepage/cpua866.c
* source/codepage/cpuakoi.c
* Added "CYRILLIC LETTER GHE WITH UPTURN" letter.
(borrowed from xhb, work of Pavel Tsarenko.)
2009-07-16 10:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu_os2.cmd
* make_gnu.bat

View File

@@ -1099,6 +1099,7 @@ EXTERNAL HB_LANG_SRWIN
EXTERNAL HB_LANG_TR857
EXTERNAL HB_LANG_TRWIN
EXTERNAL HB_LANG_UA866
EXTERNAL HB_LANG_UADOS
EXTERNAL HB_LANG_UAKOI8
EXTERNAL HB_LANG_UAWIN
EXTERNAL HB_LANG_ZHB5

View File

@@ -58,9 +58,9 @@
#include "hbapicdp.h"
static HB_CODEPAGE s_codepage = { "UA1125",
HB_CPID_1125, HB_UNITB_1125, 36,
"<EFBFBD>ƒ„…ðô†‡ˆöø‰ŠŒ<EFBFBD>Ž<EFBFBD><EFBFBD>“”•˜™šœ<EFBFBD>žŸ",
" ¡¢£¤¥ñõ¦§¨÷ù©ª«¬­®¯àáâãäåæçèéêëìíîï",
HB_CPID_1125, HB_UNITB_1125, 37,
"<EFBFBD>ƒò„…ðô†‡ˆöø‰ŠŒ<EFBFBD>Ž<EFBFBD><EFBFBD>“”•˜™šœ<EFBFBD>žŸ",
" ¡¢£ó¤¥ñõ¦§¨÷ù©ª«¬­®¯àáâãäåæçèéêëìíîï",
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
HB_CODEPAGE_INIT( UA1125 )

View File

@@ -58,9 +58,9 @@
#include "hbapicdp.h"
static HB_CODEPAGE s_codepage = { "UA866",
HB_CPID_866,HB_UNITB_866,36,
"<EFBFBD>ƒ„…ðò†‡ˆIô‰ŠŒ<EFBFBD>Ž<EFBFBD><EFBFBD>“”•˜™šœ<EFBFBD>žŸ",
" ¡¢£¤¥ñ󦧨iõ©ª«¬­®¯àáâãäåæçèéêëìíîï",
HB_CPID_866, HB_UNITB_866, 37,
"<EFBFBD>ƒƒ„…ðò†‡ˆIô‰ŠŒ<EFBFBD>Ž<EFBFBD><EFBFBD>“”•˜™šœ<EFBFBD>žŸ",
" ¡¢££¤¥ñ󦧨iõ©ª«¬­®¯àáâãäåæçèéêëìíîï",
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
HB_CODEPAGE_INIT( UA866 )

View File

@@ -58,9 +58,9 @@
#include "hbapicdp.h"
static HB_CODEPAGE s_codepage = { "UAKOI8",
HB_CPID_KOI_8U, HB_UNITB_KOI_8U, 36,
"áâ÷çäå³´öúé¶·êëìíîïðòóôõæèãþûýÿùøüàñ",
"ÁÂ×ÇÄÅ£¤ÖÚɦ§ÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝßÙØÜÀÑ",
HB_CPID_KOI_8U, HB_UNITB_KOI_8U, 37,
"áâ÷ç½äå³´öúé¶·êëìíîïðòóôõæèãþûýÿùøüàñ",
"ÁÂ×Ç­ÄÅ£¤ÖÚɦ§ÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝßÙØÜÀÑ",
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
HB_CODEPAGE_INIT( UAKOI8 )

View File

@@ -58,9 +58,9 @@
#include "hbapicdp.h"
static HB_CODEPAGE s_codepage = { "UA1251",
HB_CPID_1251,HB_UNITB_1251,36,
"ÀÁÂÃÄŨªÆÇȲ¯ÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß",
"àáâãä帺æç賿éêëìíîïðñòóôõö÷øùúûüýþÿ",
HB_CPID_1251, HB_UNITB_1251, 37,
"ÀÁÂÃ¥ÄŨªÆÇȲ¯ÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß",
"àáâã´ä帺æç賿éêëìíîïðñòóôõö÷øùúûüýþÿ",
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
HB_CODEPAGE_INIT( UA1251 )

View File

@@ -66,6 +66,7 @@ C_SOURCES=\
msgtrwin.c \
msgsrwin.c \
msgua866.c \
msguados.c \
msguakoi.c \
msguawin.c \
msgzhb5.c \

View File

@@ -63,7 +63,7 @@ static HB_LANG s_lang =
"UA866", /* ID */
"Ukrainian", /* Name (in English) */
"“ªà ù­á쪠", /* Name (in native language) */
"“ªà õ­á쪠", /* Name (in native language) */
"UA", /* RFC ID */
"866", /* Codepage */
"", /* Version */

View File

@@ -0,0 +1,218 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* Language Support Module (UADOS)
*
* Copyright 2009 Pavel Tsarenko <tpe2@mail.ru>
* www - http://www.xharbour.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: Ukrainian */
/* ISO language code (2 chars): UA */
/* Codepage: 1125 */
#include "hbapilng.h"
static HB_LANG s_lang =
{
{
/* Identification */
"UADOS", /* ID */
"Ukrainian", /* Name (in English) */
"“ªà ù­á쪠", /* Name (in native language) */
"UA", /* RFC ID */
"1125", /* Codepage */
"", /* Version */
/* Month names */
"‘÷祭ì",
"‹î⨩",
"<EFBFBD>¥à¥§¥­ì",
"Š¢÷⥭ì",
"’à ¢¥­ì",
"—¥à¢¥­ì",
"‹î⨩",
"‘¥à¯¥­ì",
"‚¥à¥á¥­ì",
"†®¢â¥­ì",
"‹¨á⮯ ¤",
"ƒà㤥­ì",
/* Day names */
"<EFBFBD>¥¤÷«ï",
"<EFBFBD>®­¥¤÷«®ª",
"‚÷¢â®à®ª",
"‘¥à¥¤ ",
"—¥â¢¥à",
"<EFBFBD>'ïâ­¨æï",
"‘ã¡®â ",
/* CA-Cl*pper compatible natmsg items */
"” ©«¨ ¤ ­¨å # ‡ ¯¨á¨ Žáâ ­­ï §¬. <20>®§¬÷à",
"<EFBFBD>®âà÷¡­÷ é¥ ¯à¨ª« ¤¨ ?",
"‘â®à.N",
"** Subtotal **",
"* Subsubtotal *",
"*** Total ***",
"Ins",
" ",
"<EFBFBD>¥¢÷à­  ¤ â ",
"„¨ ¯ §®­: ",
" - ",
"„/<2F>",
"<EFBFBD>ö<EFBFBD><EFBFBD>ˆ<E2809A>€†…<E280A0><E280A6>Ÿ",
/* Error description names */
"<EFBFBD>¥¢÷¤®¬  ¯®¬¨«ª ",
"<EFBFBD>¥¢÷à­¨©  à£ã¬¥­â",
"<EFBFBD>¥à¥¯®¢­¥­­ï ¬ á¨¢ ",
"<EFBFBD>¥à¥¯®¢­¥­­ï áâப¨",
"<EFBFBD>¥à¥¯®¢­¥­­ï ç¨á« ",
"„÷«¥­­ï ­  ­ã«ì",
"—¨á«®¢  ¯®¬¨«ª ",
"‘¨­â ªá¨ç­  ¯®¬¨«ª ",
"„㦥 ᪫ ¤­  ®¯¥à æ÷ï",
"",
"",
"<EFBFBD>¥ ¢¨áâ ç õ ¯ ¬'ïâ÷",
"<EFBFBD>¥¢÷¤®¬  äã­ªæ÷ï",
"Œ¥â®¤ ­¥ ¥ªá¯®à⮢ ­",
"‡¬÷­­  ­¥ ÷á­ãõ",
"€«¨ á ­¥ ÷á­ãõ",
"‡¬÷­­  ­¥ ¥ªá¯®à⮢ ­ ",
"<EFBFBD>¥¤®¯ãá⨬÷ ᨬ¢®«¨ ã ÷¬¥­÷  «¨ á ",
"€«¨ á ¢¦¥ ¢¨ª®à¨á⮢ãõâìáï",
"",
"<EFBFBD>®¬¨«ª  á⢮७­ï",
"<EFBFBD>®¬¨«ª  ¢÷¤ªà¨ââï",
"<EFBFBD>®¬¨«ª  § ªà¨ââï",
"<EFBFBD>®¬¨«ª  ç¨â ­­ï",
"<EFBFBD>®¬¨«ª  § ¯¨á¨",
"<EFBFBD>®¬¨«ª  ¤àãªã",
"",
"",
"",
"",
"ޝ¥à æ÷ï ­¥ ¯÷¤âਬãõâìáï",
"‹÷¬÷â ¯¥à¥¢¨é¥­",
"‚¨ï¢«¥­® ã誮¤¦¥­­ï",
"<EFBFBD>®¬¨«ª  ⨯  ¤ ­¨å",
"<EFBFBD>®¬¨«ª  à®§¬÷àã ¤ ­¨å",
"” ©« ­¥ ¢÷¤ªà¨â",
"” ©« ­¥ ÷­¤¥ªá®¢ ­",
"<EFBFBD>®âà÷¡¥­ ¥ªáª«î§¨¢­¨© ¤®áâã¯",
"<EFBFBD>®âà÷¡­  ¡«®ª¨à®¢ª ",
"‡ ¯¨á ­¥ ¤®§¢®«¥­",
"‘¡®© ¡«®ªã¢ ­­ï ¯à¨ ¤®¤ ­­÷",
"<EFBFBD>«®ªã¢ ­­ï ­¥ ¢¤ «®áï",
"",
"",
"",
"",
"<EFBFBD>¥¢÷à­  ª÷«ìª÷áâì  à£ã¬¥­â÷¢",
"„®áâ㯠¤® ¬ á¨¢ ",
"¯à¨á¢®î¢ ­­ï ¬ á¨¢ ",
"­¥ ¬ á¨¢",
"¯®à÷¢­ï­­ï",
/* Internal error names */
"<EFBFBD>¥¢¨¯à ¢­  ¯®¬¨«ª  %lu: ",
"<EFBFBD>®¬¨«ª  ¯à¨ ¢÷¤­®¢«¥­­÷",
"<EFBFBD>¥ ¢¨§­ ç¥­ ERRORBLOCK() ¤«ï ¯®¬¨«ª¨",
"<EFBFBD>¥à¥¢¨é¥­  ¬¥¦  ४ãàᨢ­¨å ¢¨§®¢÷¢ ®¡à®¡­¨ª  ¯®¬¨«®ª",
"<EFBFBD>¥ ¢¤ õâáï § ¢ ­â ¦¨â¨ RDD",
"<EFBFBD>¥¢÷à­¨© ⨯ ¬¥â®¤  %s",
"hb_xgrab ­¥ ¬®¦¥ à®§¯®¤÷«¨â¨ ¯ ¬'ïâì",
"hb_xrealloc ¢¨ª«¨ª ­ § NULL ¢ª §÷¢­¨ª®¬",
"hb_xrealloc ¢¨ª«¨ª ­ á ­¥¢÷à­¨¬ ¢ª §÷¢­¨ª®¬",
"hb_xrealloc ­¥ ¬®¦¥ ¯¥à¥à®§¯®¤÷«¨â¨ ¯ ¬'ïâì",
"hb_xfree ¢¨ª«¨ª ­ á ­¥¢÷à­¨¬ ¢ª §÷¢­¨ª®¬",
"hb_xfree ¢¨ª«¨ª ­ § NULL ¢ª §÷¢­¨ª®¬",
"<EFBFBD>¥ §­ ©¤¥­  áâ à⮢  ¯à®æ¥¤ãà : \'%s\'",
"‚÷¤áãâ­ï áâ à⮢  ¯à®æ¥¤ãà ",
"VM: <20>¥¢÷¤®¬¨© ª®¤",
"%s: ®ç÷ªã¢ ¢áï ᨬ¢®«",
"%s: ­¥¢÷à­¨© ⨯ ᨬ¢®«  ¤«ï self",
"%s: ®ç÷ªã¢ ¢áï ¡«®ª ª®¤ã",
"%s: ­¥¢÷à­¨© ⨯ ¥«¥¬¥­â  ­  ¢¥à設÷ á⥪ ",
"‚¨å÷¤ §  ¬¥¦÷ á⥪ ",
"%s: á¯à®¡  ª®¯¨à®¢ â¨ í«¥¬¥­â ­  ᥡ¥",
"%s: ­¥¢÷à­¥ ¨¬'ï §¬÷­­®ù",
"<EFBFBD>¥à¥¯®¢­¥­­ï ¡ãä¥à  ¯ ¬'ïâ÷",
"hb_xgrab requested to allocate zero bytes",
"hb_xrealloc requested to resize to zero bytes",
"hb_xalloc requested to allocate zero bytes",
/* Texts */
"DD.MM.YYYY",
"",
"<EFBFBD>"
}
};
HB_LANG_ANNOUNCE( UADOS )
HB_CALL_ON_STARTUP_BEGIN( hb_lang_Init_UADOS )
hb_langRegister( &s_lang );
HB_CALL_ON_STARTUP_END( hb_lang_Init_UADOS )
#if defined( HB_PRAGMA_STARTUP )
#pragma startup hb_lang_Init_UADOS
#elif defined( HB_MSC_STARTUP )
#if defined( HB_OS_WIN_64 )
#pragma section( HB_MSC_START_SEGMENT, long, read )
#endif
#pragma data_seg( HB_MSC_START_SEGMENT )
static HB_$INITSYM hb_vm_auto_hb_lang_Init_UADOS = hb_lang_Init_UADOS;
#pragma data_seg()
#endif

View File

@@ -63,7 +63,7 @@ static HB_LANG s_lang =
"UAKOI8", /* ID */
"Ukrainian", /* Name (in English) */
"õËÒÁ§ÎÓØËÁ", /* Name (in native language) */
"õËÒÁ¤ÎÓØËÁ", /* Name (in native language) */
"UA", /* RFC ID */
"KOI8U", /* Codepage */
"", /* Version */
@@ -90,7 +90,7 @@ static HB_LANG s_lang =
"÷¦×ÔÏÒÏË",
"óÅÒÅÄÁ",
"þÅÔ×ÅÒ",
"ð?ÑÔÎÉÃÑ",
"ð'ÑÔÎÉÃÑ",
"óÕÂÏÔÁ",
/* CA-Cl*pper compatible natmsg items */
@@ -122,7 +122,7 @@ static HB_LANG s_lang =
"îÁÄͦÒÎÏ ÓËÌÁÄÎÁ ÏÐÅÒÁæÑ",
"",
"",
"âÒÁËÕ¤ ÐÁÍ?ÑÔ¦",
"âÒÁËÕ¤ ÐÁÍ'ÑÔ¦",
"îÅצÄÏÍÁ ÆÕÎËæÑ",
"íÅÔÏÄ ÎÅ ÅËÓÐÏÒÔÏ×ÁÎÉÊ",
"úͦÎÎÁ ÎÅ ¦ÓÎÕ¤",
@@ -171,10 +171,10 @@ static HB_LANG s_lang =
"ðÅÒÅ×ÉÝÅÎÁ ÍÅÖÁ ÒÅËÕÒÓÉ×ÎÉÈ ×ÉËÌÉË¦× ÏÂÒÏÂÎÉËÁ ÐÏÍÉÌÏË",
"îÅ ×ÄÁ¤ÔØÓÑ ÚÁ×ÁÎÔÁÖÉÔÉ RDD",
"ðÏÍÉÌËÏ×ÉÊ ÔÉÐ ÍÅÔÏÄÕ %s",
"hb_xgrab ÎÅ ÍÏÖÅ ÒÏÚÐÏĦÌÉÔÉ ÐÁÍ?ÑÔØ",
"hb_xgrab ÎÅ ÍÏÖÅ ÒÏÚÐÏĦÌÉÔÉ ÐÁÍ'ÑÔØ",
"hb_xrealloc ×ÉËÌÉËÁÎÏ Ú NULL ÐÏËÁÖÞÉËÏÍ",
"hb_xrealloc ×ÉËÌÉËÁÎÏ Ú ÐÏÍÉÌËÏ×ÉÍ ÐÏËÁÖÞÉËÏÍ",
"hb_xrealloc ÎÅ ÍÏÖÅ ÐÅÒÅÒÏÚÐÏĦÌÉÔÉ ÐÁÍ?ÑÔØ",
"hb_xrealloc ÎÅ ÍÏÖÅ ÐÅÒÅÒÏÚÐÏĦÌÉÔÉ ÐÁÍ'ÑÔØ",
"hb_xfree ×ÉËÌÉËÁÎÏ Ú ÐÏÍÉÌËÏ×ÉÍ ÐÏËÁÖÞÉËÏÍ",
"hb_xfree ×ÉËÌÉËÁÎÏ Ú NULL ÐÏËÁÖÞÉËÏÍ",
"îÅ ÚÎÁÊÄÅÎÁ ÓÔÁÒÔÏ×Á ÐÒÏÃÅÄÕÒÁ: \'%s\'",
@@ -186,8 +186,8 @@ static HB_LANG s_lang =
"%s: ÐÏÍÉÌËÏ×ÉÊ ÔÉÐ ÅÌÅÍÅÎÔÕ ÎÁ ×ÅÒÛÉΦ ÓÔÅËÕ",
"÷ÉÈ¦Ä ÚÁ ÍÅÖ¦ ÓÔÅËÕ",
"%s: ÓÐÒÏÂÁ ËÏЦÀ×ÁÔÉ ÅÌÅÍÅÎÔ ÎÁ ÓÅÂÅ Ö",
"%s: ÐÏÍÉÌËÏ×Å ¦Í?Ñ ÚͦÎÎϧ",
"ðÅÒÅÐÏ×ÎÅÎÎÑ ÂÕÆÅÒÕ ÐÁÍ?ÑÔ¦",
"%s: ÐÏÍÉÌËÏ×Å ¦Í'Ñ ÚͦÎÎϧ",
"ðÅÒÅÐÏ×ÎÅÎÎÑ ÂÕÆÅÒÕ ÐÁÍ'ÑÔ¦",
"hb_xgrab requested to allocate zero bytes",
"hb_xrealloc requested to resize to zero bytes",
"hb_xalloc requested to allocate zero bytes",