SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Changes done in Delphi are lost!

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
Jean-Paul Brassard



Joined: 08 May 2008
Posts: 65

PostPosted: Mon Mar 02, 2009 9:31 pm    Post subject: Changes done in Delphi are lost! Reply with quote

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

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.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Tue Mar 03, 2009 9:29 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group