2011-05-01 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* utils/hbmk2/hbmk2.prg
    ! show translation author only if there is a translation
This commit is contained in:
Viktor Szakats
2011-05-01 21:52:29 +00:00
parent 0701e3517f
commit 336a3d550e
2 changed files with 11 additions and 1 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-05-01 23:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! show translation author only if there is a translation
2011-05-01 22:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
* minor corrections

View File

@@ -12020,6 +12020,8 @@ STATIC PROCEDURE SetUILang( hbmk )
RETURN
STATIC PROCEDURE ShowHeader( hbmk )
LOCAL cTrsText
LOCAL cTrsTextI
OutStd( "Harbour Make (hbmk2) " + HBRawVersion() + _OUT_EOL +;
"Copyright (c) 1999-2011, Viktor Szakats" + _OUT_EOL +;
@@ -12028,7 +12030,11 @@ STATIC PROCEDURE ShowHeader( hbmk )
IF !( hbmk[ _HBMK_cUILNG ] == "en" ) .AND. ;
!( hbmk[ _HBMK_cUILNG ] == "en-GB" ) .AND. ;
!( hbmk[ _HBMK_cUILNG ] == "en-US" )
OutStd( hb_StrFormat( I_( "Translation (%1$s): (add your name here)" ), hbmk[ _HBMK_cUILNG ] ) + _OUT_EOL )
cTrsText := hb_i18n_gettext_noop( "Translation (%1$s): (add your name here)" )
cTrsTextI := I_( cTrsText )
IF !( cTrsText == cTrsTextI ) .AND. ! Empty( cTrsTextI )
OutStd( hb_StrFormat( cTrsTextI, hbmk[ _HBMK_cUILNG ] ) + _OUT_EOL )
ENDIF
ENDIF
OutStd( _OUT_EOL )