Page 1 of 1

7.8.5.2 loosing "Strings"

Posted: Tue Jul 06, 2021 4:55 am
by microtronx
Hi guys, it is happening the second time that somehow the strings are lost or getting corrupted.
I don't know what i have done those two times but some multiline strings get corrupt like this:

Code: Select all

Name  | German | English
str01 | Z eins | Line one
        zwei     second

is getting corrupted like this

Code: Select all

Name  | German | English
str01 | Z eins | zwei		
Any others having such issues? I was able to get old dfm file from svn and combined them to get the strings back.

Re: 7.8.5.2 loosing "Strings"

Posted: Tue Jul 06, 2021 6:43 am
by isiticov
Hello,
Did you use any saving/loading of translations to/from file? May be the file was corrupted after saving or so? Anyway, please try to find the steps to reproduce because this never been reported before.

Re: 7.8.5.2 loosing "Strings"

Posted: Tue Jul 06, 2021 12:51 pm
by microtronx
We do only compile with translation data in frm. I have no load or savefromfile functionality. We'll check next time when the same happens for more details.

Re: 7.8.5.2 loosing "Strings"

Posted: Tue Sep 07, 2021 6:01 am
by microtronx
Today I had same problems. Without changing anything in TSILANG multiline Strings are destroyed.

The translations are overwritten with this:

First line of first translation > in first language
Second line in second language
Third line in third language
and so on.

Had luck that i had that backup from July so everything else is lost and had to added again to Strings...

Re: 7.8.5.2 loosing "Strings"

Posted: Tue Sep 07, 2021 9:21 am
by isiticov
Does this happen only in one particular form? What value for LangDelim property of TsiLang is set? Is this C++ unit or PAS? Please send us DFM (it would be the best if you can send both the corrupted and original).

Re: 7.8.5.2 loosing "Strings"

Posted: Wed Sep 08, 2021 9:30 am
by microtronx
It is on application.mainform in a delphi DFM. Next time i will send you the destroyed dfm and repair dfm so you can have a look on it.