2013-04-01 01:35 UTC+0200 Viktor Szakats (harbour syenar.net)

* src/rtl/hbi18n2.prg
    * consider the complete original string when sorting (was first 30 chars)

  * utils/hbmk2/_po_pull.hb
    ! more automatic translation fixups:
      "( " -> "("
      " )" -> ")"
This commit is contained in:
Viktor Szakats
2013-04-01 01:37:20 +02:00
parent f18ce81c0b
commit cdc25aa128
3 changed files with 12 additions and 1 deletions

View File

@@ -10,6 +10,15 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-04-01 01:35 UTC+0200 Viktor Szakats (harbour syenar.net)
* src/rtl/hbi18n2.prg
* consider the complete original string when sorting (was first 30 chars)
* utils/hbmk2/_po_pull.hb
! more automatic translation fixups:
"( " -> "("
" )" -> ")"
2013-04-01 01:28 UTC+0200 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/_po_pull.hb
! fixed wrong EOL forming after prev

View File

@@ -330,7 +330,7 @@ STATIC FUNCTION __i18n_ItemToStr( item )
cSource := Left( cSource, tmp - 1 ) + Str( Val( SubStr( cSource, tmp + 1 ) ), 10, 0 )
ENDIF
RETURN cSource + Left( item[ _I18N_MSGID, 1 ], 30 )
RETURN cSource + item[ _I18N_MSGID, 1 ]
FUNCTION __i18n_potArrayClean( aTrans, lSource, lEmptyTranslations, bTransformTranslation )

View File

@@ -62,6 +62,8 @@ STATIC FUNCTION DoctorTranslation( cString )
cString := Unspace( AllTrim( cString ) )
cString := StrTran( cString, hb_UChar( 0x23CE ), e"\n" )
cString := StrTran( cString, e"\n ", e"\n" )
cString := StrTran( cString, "( ", "(" )
cString := StrTran( cString, " )", ")" )
RETURN cString