2010-11-24 16:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! Fixed RTE in language file generation in some side case,
reported by Mindaugas.
(not tested, pls do)
This commit is contained in:
@@ -16,6 +16,12 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-11-24 16:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! Fixed RTE in language file generation in some side case,
|
||||
reported by Mindaugas.
|
||||
(not tested, pls do)
|
||||
|
||||
2010-11-24 15:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* utils/hbmk2/hbmk2.prg
|
||||
! Fixed typo causing not recognized -hbl (without parameter)
|
||||
|
||||
@@ -10363,11 +10363,14 @@ STATIC PROCEDURE POTMerge( hbmk, aFiles, cFileBase, cFileOut )
|
||||
|
||||
STATIC PROCEDURE AutoTrans( hbmk, cFileIn, aFiles, cFileOut )
|
||||
LOCAL cErrorMsg
|
||||
LOCAL hTrans := LoadPOTFilesAsHash( hbmk, aFiles )
|
||||
|
||||
IF ! __i18n_potArraySave( cFileOut, ;
|
||||
__i18n_potArrayTrans( LoadPOTFiles( hbmk, {}, cFileIn, .F. ), ;
|
||||
LoadPOTFilesAsHash( hbmk, aFiles ) ), @cErrorMsg, ! hbmk[ _HBMK_lMINIPO ], ! hbmk[ _HBMK_lMINIPO ] )
|
||||
hbmk_OutErr( hbmk, hb_StrFormat( I_( "Error: %1$s" ), cErrorMsg ) )
|
||||
IF hTrans != NIL
|
||||
IF ! __i18n_potArraySave( cFileOut, ;
|
||||
__i18n_potArrayTrans( LoadPOTFiles( hbmk, {}, cFileIn, .F. ), ;
|
||||
hTrans ), @cErrorMsg, ! hbmk[ _HBMK_lMINIPO ], ! hbmk[ _HBMK_lMINIPO ] )
|
||||
hbmk_OutErr( hbmk, hb_StrFormat( I_( "Error: %1$s" ), cErrorMsg ) )
|
||||
ENDIF
|
||||
ENDIF
|
||||
|
||||
RETURN
|
||||
|
||||
Reference in New Issue
Block a user