From 30d6468c033b17d53322e8db961fda8b92e7f004 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 30 Mar 2013 00:30:11 +0100 Subject: [PATCH] fixed to work in its final location --- utils/hbmk2/_po_dl.hb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/hbmk2/_po_dl.hb b/utils/hbmk2/_po_dl.hb index b69a7d3f96..e699c96293 100644 --- a/utils/hbmk2/_po_dl.hb +++ b/utils/hbmk2/_po_dl.hb @@ -18,7 +18,7 @@ PROCEDURE Main( cLogin ) FClose( hb_FTempCreateEx( @cTemp ) ) - FOR EACH cLang IN hb_ATokens( hb_regexAll( "-lng=([a-zA-Z0-9_,]*)", hb_MemoRead( hb_DirSepToOS( "../hbmk2.hbp" ) ),,,,, .T. )[ 1 ][ 2 ], "," ) + FOR EACH cLang IN hb_ATokens( hb_regexAll( "-lng=([a-zA-Z0-9_,]*)", hb_MemoRead( "hbmk2.hbp" ),,,,, .T. )[ 1 ][ 2 ], "," ) ? cLang @@ -26,7 +26,7 @@ PROCEDURE Main( cLogin ) cLogin, cLang, cTemp ) ) IF hb_jsonDecode( GetJSON( hb_MemoRead( cTemp ) ), @json ) > 0 - hb_MemoWrit( "hbmk2." + cLang + ".po", StrTran( json[ "content" ], e"\n", hb_eol() ) ) + hb_MemoWrit( hb_DirSepToOS( "po/hbmk2." + cLang + ".po" ), StrTran( json[ "content" ], e"\n", hb_eol() ) ) ELSE ? "error" ENDIF