2009-05-19 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

* utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added support for UTF-8 output. Currently on on *nix
      systems. The current solution is just an ugly hack, 
      for the most part to test this problem in real life.
      The output format is also fixed to *nix OSes, there is 
      not attempt made to detect terminal encoding, so it 
      may be wrong if terminal expects something else.

  * utils/hbi18n/hbi18n.prg
    * .po_ -> .po (Przemek, please verify me, or modify it as
      you think best)
This commit is contained in:
Viktor Szakats
2009-05-19 15:15:09 +00:00
parent 856d97d234
commit d986610283
4 changed files with 216 additions and 178 deletions

View File

@@ -17,6 +17,20 @@
past entries belonging to these authors: Viktor Szakats.
*/
2009-05-19 17:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.hu_HU.po
* utils/hbmk2/hbmk2.prg
+ Added support for UTF-8 output. Currently on on *nix
systems. The current solution is just an ugly hack,
for the most part to test this problem in real life.
The output format is also fixed to *nix OSes, there is
not attempt made to detect terminal encoding, so it
may be wrong if terminal expects something else.
* utils/hbi18n/hbi18n.prg
* .po_ -> .po (Przemek, please verify me, or modify it as
you think best)
2009-05-19 11:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/xhbmsgs.c
! fixed one byte string as number emulation in some math operations

View File

@@ -172,7 +172,7 @@ STATIC PROCEDURE Syntax()
" translations from other .pot or .hbl files" + HB_OSNewLine() + ;
" -o<outfile> output file name" + HB_OSNewLine() + ;
" default is first .pot file name with" + HB_OSNewLine() + ;
" .po_ (merge) or .hbl extension" + HB_OSNewLine() + ;
" .po (merge) or .hbl extension" + HB_OSNewLine() + ;
" -e do not strip empty translation rules from .hbl files" + HB_OSNewLine() + ;
" -q quiet mode" + HB_OSNewLine() + ;
HB_OSNewLine() )
@@ -296,9 +296,9 @@ STATIC PROCEDURE Merge( aFiles, cFileOut )
LOCAL cErrorMsg
IF Empty( cFileOut )
cFileOut := FileExt( aFiles[ 1 ], ".pot", .T. )
cFileOut := FileExt( aFiles[ 1 ], ".po", .T. )
ELSE
cFileOut := FileExt( cFileOut, ".pot", .F. )
cFileOut := FileExt( cFileOut, ".po", .F. )
ENDIF
IF !__I18N_potArraySave( cFileOut, LoadFiles( aFiles ), @cErrorMsg )
@@ -332,9 +332,9 @@ STATIC PROCEDURE AutoTrans( cFileIn, aFiles, cFileOut )
LOCAL cErrorMsg
IF Empty( cFileOut )
cFileOut := FileExt( cFileIn, ".pot", .T. )
cFileOut := FileExt( cFileIn, ".po", .T. )
ELSE
cFileOut := FileExt( cFileOut, ".pot", .F. )
cFileOut := FileExt( cFileOut, ".po", .F. )
ENDIF
IF !__I18N_potArraySave( cFileOut, ;

View File

@@ -475,7 +475,7 @@ msgstr "Megjegyz
#: hbmk2.prg:5633
#, c-format
msgid "nix=EN"
msgstr "nix=HUISO"
msgstr "nix=UTF8"
#: hbmk2.prg:5758
#, c-format
@@ -836,4 +836,3 @@ msgstr "munkak
#, c-format
msgid "Error: Cannot create temporary unified .po file."
msgstr "Hiba: Nem sikerült létrehozni az ideiglenes .po fájlt."

File diff suppressed because it is too large Load Diff