Do not call 'msgfmt' anymore, this is automatically done by the compiler now.

[DEVELOPMENT ENVIRONMENT]
* NEW: Do not call 'msgfmt' anymore, this is automatically done by the compiler now.
This commit is contained in:
gambas 2019-01-19 01:05:48 +01:00
parent f1ed9011a3
commit 525b686581
2 changed files with 3 additions and 2 deletions

View File

@ -2514,7 +2514,7 @@ Public Function Compile(Optional bAll As Boolean, Optional bNoDebug As Boolean,
iPos = InStr(sTrans, "#,")
If iPos Then sTrans = Mid$(sTrans, iPos)
File.Save(sDir &/ ".lang/.pot", sTrans)
CompileTranslation(bAll)
'CompileTranslation(bAll)
Endif
'SetMessage(("OK"))

View File

@ -507,7 +507,8 @@ Private Sub SaveTranslate(Optional bForce As Boolean)
Move $sPath & ".new" To $sPath
Project.CompileTranslation(True, $sLang)
'Project.CompileTranslation(True, $sLang)
Project.Compile()
'Shell "msgfmt -o " & Shell$(sPathMO) & " " & Shell$($sPath) Wait