Commit 3c6af994 authored by Benoît Minisini's avatar Benoît Minisini
Browse files

Translation dialog: The translation verification button always move to the next problem.

[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: The translation verification button always move to the next problem.
parent e204ae0c
This diff is collapsed.
......@@ -1748,7 +1748,7 @@ Public Function GetEachProperty(DX As Integer, DY As Integer, Optional bNoScale
sLine = sProp & " = "
If hProp.Translate Then
bTranslate = GetPropertyDefault("Translate")
bTranslate = GetPropertyDefault(CPropertyInfo.TRANSLATE_NAME)
Else
bTranslate = False
Endif
......
......@@ -994,6 +994,16 @@ Public Sub btnVerify_Click()
Do
.MoveNext()
If Not .Available Then
.MoveFirst()
Endif
If .Item.Key = sKey Then
Balloon.Info(("Everything seems to be correct."), btnVerify)
Return
Endif
If .Item[1] Then
If .Item[1] <> "-" Then
......@@ -1007,16 +1017,6 @@ Public Sub btnVerify_Click()
Endif
Endif
.MoveNext()
If Not .Available Then
.MoveFirst()
Endif
If .Item.Key = sKey Then
Balloon.Info(("Everything seems to be correct."), btnVerify)
Return
Endif
Loop
End With
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment