diff --git a/harbour/ChangeLog b/harbour/ChangeLog index b48e975eac..01b8a8848d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -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 diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index e5d46b395a..0405c2b9a1 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -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 )