2013-04-03 03:33 UTC+0200 Viktor Szakats (harbour syenar.net)

* config/lang.hb
  * contrib/hbrun/hbrun.hbp
  * utils/hbmk2/hbmk2.hbp
    * option rename

  * config/lang2po.hb
    ! typo

  * src/lang/l_pt_br.c
    ! typos

  * src/lang/l_pt.c
    * updated from Transifex
This commit is contained in:
Viktor Szakats
2013-04-03 03:34:36 +02:00
parent f9d38b5ef5
commit 99d487cb27
7 changed files with 30 additions and 15 deletions

View File

@@ -10,6 +10,21 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-04-03 03:33 UTC+0200 Viktor Szakats (harbour syenar.net)
* config/lang.hb
* contrib/hbrun/hbrun.hbp
* utils/hbmk2/hbmk2.hbp
* option rename
* config/lang2po.hb
! typo
* src/lang/l_pt_br.c
! typos
* src/lang/l_pt.c
* updated from Transifex
2013-04-03 03:15 UTC+0200 Viktor Szakats (harbour syenar.net)
* bin/check.hb
! fix to filename filter (needs large cleanup)

View File

@@ -440,13 +440,13 @@ STATIC FUNCTION LoadPar( cMain )
cConfig := hb_MemoRead( hb_FNameExtSet( hPar[ "entry" ], ".hbp" ) )
hPar[ "doc" ] := hb_FNameDir( hPar[ "entry" ] ) + hb_DirSepToOS( "doc/" )
hPar[ "docext" ] := _HAGetDef( hb_regexAll( "-3rd=_hblang_docext=([\S]*)", cConfig,,,,, .T. ), ".txt", 1, 2 )
hPar[ "docext" ] := _HAGetDef( hb_regexAll( "-3rd=_langhb_docext=([\S]*)", cConfig,,,,, .T. ), ".txt", 1, 2 )
hPar[ "docoption" ] := {}
FOR EACH item IN hb_regexAll( "-3rd=_hblang_docoption=([\S]*)", cConfig,,,,, .T. )
FOR EACH item IN hb_regexAll( "-3rd=_langhb_docoption=([\S]*)", cConfig,,,,, .T. )
AAdd( hPar[ "docoption" ], item[ 2 ] )
NEXT
item := _HAGetDef( hb_regexAll( "-3rd=_hblang_entry=([\S]*)", cConfig,,,,, .T. ), NIL, 1, 2 )
item := _HAGetDef( hb_regexAll( "-3rd=_langhb_entry=([\S]*)", cConfig,,,,, .T. ), NIL, 1, 2 )
IF item != NIL
item := hb_FNameDir( hPar[ "entry" ] ) + hb_DirSepToOS( item )
hPar[ "entry" ] := iif( Empty( hb_FNameName( item ) ), item + hb_FNameName( hb_DirSepDel( item ) ) + ".prg", item )
@@ -455,7 +455,7 @@ STATIC FUNCTION LoadPar( cMain )
cConfig := hb_MemoRead( hb_FNameExtSet( hPar[ "entry" ], ".hbp" ) )
hPar[ "langs" ] := hb_ATokens( _HAGetDef( hb_regexAll( "-lng=([\w,]*)", cConfig,,,,, .T. ), "", 1, 2 ), "," )
hPar[ "baselang" ] := _HAGetDef( hb_regexAll( "-3rd=_hblang_base=([\w]*)", cConfig,,,,, .T. ), "en", 1, 2 )
hPar[ "baselang" ] := _HAGetDef( hb_regexAll( "-3rd=_langhb_base=([\w]*)", cConfig,,,,, .T. ), "en", 1, 2 )
hPar[ "po" ] := hb_FNameDir( hPar[ "entry" ] ) + hb_DirSepToOS( "po/" )
ENDIF

View File

@@ -161,7 +161,7 @@ STATIC FUNCTION Comment( nPos )
SWITCH nPos
CASE 22 ; RETURN "Colums must be aligned to positions: 1, 19, 32, 48"
CASE 29 ; RETURN "Abbrev of 'Overwrite' using same length as 'Ins', can be spaces only (fill with 3 spaces if in doubt)"
CASE 102 ; RETURN "Local date format, where YYYY=year, MM=month, DD=day. DO NOT TRANSLATE "YYYY", "MM" or "DD", only reorder and set delimiter per country standards."
CASE 102 ; RETURN "Local date format, where YYYY=year, MM=month, DD=day. DO NOT TRANSLATE 'YYYY', 'MM' or 'DD', only reorder and set delimiter per country standards."
ENDSWITCH
RETURN ""

View File

@@ -29,7 +29,7 @@
{!(__HBMKDYN='yes')&allwin}hbwin.hbc {!(__HBMKDYN='yes')&allwin}-request=__HBEXTERN__HBWIN__
# localization (automatization)
-3rd=_hblang_entry=../../utils/hbmk2/
-3rd=_hblang_docext=.md
-3rd=_hblang_docoption=-lang={LNG}
-3rd=_hblang_docoption=-longhelpmdsh
-3rd=_langhb_entry=../../utils/hbmk2/
-3rd=_langhb_docext=.md
-3rd=_langhb_docoption=-lang={LNG}
-3rd=_langhb_docoption=-longhelpmdsh

View File

@@ -1,4 +1,4 @@
/* Last Translator: SAMI <sami@laham.com.br> */
/* Last Translator: hbtest <harbour@syenar.net> */
#include "hbapilng.h"

View File

@@ -7,7 +7,7 @@ static HB_LANG s_lang =
{
/* Identification */
"pt",
"pt_br",
"Portuguese",
"Portugues",
"",
@@ -146,5 +146,5 @@ static HB_LANG s_lang =
}
};
#define HB_LANG_ID PT
#define HB_LANG_ID PT_BR
#include "hbmsgreg.h"

View File

@@ -32,6 +32,6 @@ po/hbmk2.%{hb_lng}.po
-lng=el,es_419,es_ES,fr_FR,hu,it,pt_BR
# localization (automatization)
-3rd=_hblang_docext=.md
-3rd=_hblang_docoption=-lang={LNG}
-3rd=_hblang_docoption=-longhelpmd
-3rd=_langhb_docext=.md
-3rd=_langhb_docoption=-lang={LNG}
-3rd=_langhb_docoption=-longhelpmd