Changes done in Delphi are lost!

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Jean-Paul Brassard
Posts: 65
Joined: Thu May 08, 2008 7:46 pm

Changes done in Delphi are lost!

Post by Jean-Paul Brassard »

On our applications, if we change, in Delphi, the Caption of a component, without making any change into TranslationEditor, the modification is lost :!:

After saving the form, a look into the DFM file show that the Caption change has been recorded into the Delphi part of the file, but not in the TsiLang encrypted translation list (as proven with a VSS comparison).

The modification is lost even if we open TranslationEditor to ensure that TsiLang has seen the change to that component. The TranslationEditor effectively show the new value, but even then, saving the form does not record the TsiLang translation list.

However, if we click into any cell of the TranslationEditor, then TsiLang Core remembers that the form has some modification to record and then the Caption change is recorded and restored on next opening.

I suspect that in some situation, TsiLang Core does not raise its "dirty flag" to remember that some change had occured. By clicking into any cell, the flag is raised and everything goes well after that...

N.B. That problem was observed with version 6.3.1 and upgrading to version 6.4 does not correct the problem.
Jean-Paul Brassard
Quebec, Canada
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Thank you for reproting this. We will try to improve this. Meantime you can just use Update Translations, which is available from TsiLang popup-menu as well as from menu File in TsiLang Expert. This will synchronize the values in controls changed directly by Object Inspector with Translation Data.
Best regards,
Igor Siticov.
Post Reply