2012-07-24 03:04 UTC+0200 Viktor Szakats (harbour syenar.net)

* src/rtl/langapi.c
    + HB_LANGNEW() extended to translate language module's
      codepage string, too.
This commit is contained in:
Viktor Szakats
2012-07-24 01:05:30 +00:00
parent 6a519ed909
commit 33d0c02967
2 changed files with 7 additions and 0 deletions

View File

@@ -16,6 +16,11 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-07-24 03:04 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/langapi.c
+ HB_LANGNEW() extended to translate language module's
codepage string, too.
2012-07-24 02:06 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/lang/pt.c
! fixed very old CP problem in one of the strings

View File

@@ -282,6 +282,8 @@ static HB_BOOL hb_langTranslate( const char * szNewId, PHB_LANG lang, PHB_CODEPA
if( i == HB_LANG_ITEM_BASE_ID + HB_LANG_ITEM_ID_ID )
pszTrans = hb_strdup( szNewId );
else if( i == HB_LANG_ITEM_BASE_ID + HB_LANG_ITEM_ID_CODEPAGE )
pszTrans = hb_strdup( cdpOut->id );
else
pszTrans = hb_cdpDup( lang->pItemList[ i ], cdpIn, cdpOut );