silang1.inputquery no translations appears

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
larsrikart
Posts: 27
Joined: Wed Jan 15, 2003 4:09 pm
Location: Denmark
Contact:

silang1.inputquery no translations appears

Post by larsrikart »

Hi

I have changed an inputquery to a silang1.inputquery as instructed in the manual.

But the OK and Cancel that need translation doesn't appear in the translation editor.

Any idea how this can go wrong?
----------------------------------------------
Lars Rikart Jensen
PCzapper
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Do you mean that in Translation Editor Dialogs section there are no OK and CANCEL entries?
larsrikart
Posts: 27
Joined: Wed Jan 15, 2003 4:09 pm
Location: Denmark
Contact:

Post by larsrikart »

Translation Editor Dialogs do have OK and Cancel. But no new untranslated OK and Cancel appear and the inputquery is not translated.
----------------------------------------------
Lars Rikart Jensen
PCzapper
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

New untranslated items shouldn't appear. TsiLang will use existing entries. If OK and Cancel buttons are still not translated please create sample project and send us, because it looks like you do smth wrong.
larsrikart
Posts: 27
Joined: Wed Jan 15, 2003 4:09 pm
Location: Denmark
Contact:

Post by larsrikart »

here is a testproject in D7

http://www.palmbutler.com/testing/translationtest.zip

problem is the same in a new project...
----------------------------------------------
Lars Rikart Jensen
PCzapper
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Thanks, this is strange but there was a bug :)
It will be fixed in next release. In case you need to fix it now, you can make small changes in siComp.pas file:

replace lines:

Code: Select all

      Caption := SMsgDlgOK;
---
      Caption := SMsgDlgCancel;
with lines:

Code: Select all

      Caption := GetTextFrom(@FDlgsCaptions, 'OK', True);
---
      Caption := GetTextFrom(@FDlgsCaptions, 'Cancel', True);
respectively.
Thank you again.
Post Reply