include project name in screen output

This commit is contained in:
Viktor Szakats
2013-04-02 02:58:06 +02:00
parent 68223b2916
commit 77594dd2d6
2 changed files with 10 additions and 6 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-04-02 02:57 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
+ include project name in screen output
2013-04-02 02:43 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
! __i18n_potArrayClean() to evaluate transformation

View File

@@ -70,7 +70,7 @@ STATIC PROCEDURE doc_make( cMain )
cTempHRB := hb_FNameExtSet( hPar[ "entry" ], ".hrb" )
? "generating documentation:"
? hPar[ "name" ], "generating documentation:"
hb_run( hb_StrFormat( "hbmk2 -hbraw -q0 %1$s -gh -o%2$s", hPar[ "entry" ], cTempHRB ) )
@@ -112,13 +112,13 @@ STATIC PROCEDURE src_push( cMain )
FClose( hb_FTempCreateEx( @cTempContent, , , ".pot" ) )
FClose( hb_FTempCreateEx( @cTempResult ) )
? "generating translation source"
? hPar[ "name" ], "generating translation source"
hb_run( hb_StrFormat( "hbmk2 -hbraw -q0 %1$s -j%2$s -s", hPar[ "entry" ], cTempContent ) )
POT_Sort( cTempContent )
? "saving locally"
? hPar[ "name" ], "saving locally"
cContent := hb_StrFormat( ;
'#, c-format' + hb_eol() + ;
@@ -134,7 +134,7 @@ STATIC PROCEDURE src_push( cMain )
hb_MemoWrit( hPar[ "po" ] + hb_FNameName( hPar[ "entry" ] ) + "." + hPar[ "baselang" ] + ".po", cContent )
? "uploading", "size", hb_ntos( Len( cContent ) )
? hPar[ "name" ], "uploading", "size", hb_ntos( Len( cContent ) )
hb_MemoWrit( cTempContent, hb_jsonEncode( { "content" => StrTran( cContent, hb_eol(), e"\n" ) } ) )
@@ -182,7 +182,7 @@ STATIC PROCEDURE trs_pull( cMain )
FClose( hb_FTempCreateEx( @cTempResult ) )
? "pulling translations:"
? hPar[ "name" ], "pulling translations:"
FOR EACH cLang IN hPar[ "langs" ]
@@ -305,7 +305,7 @@ STATIC PROCEDURE trs_push( cMain )
cContent := hb_MemoRead( hPar[ "po" ] + hb_FNameName( hPar[ "entry" ] ) + "." + cLang + ".po" )
? "uploading translation", "size", Len( cContent )
? hPar[ "name" ], "uploading translation", "size", Len( cContent )
hb_MemoWrit( cTempContent, hb_jsonEncode( { "content" => StrTran( cContent, hb_eol(), e"\n" ) } ) )