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 

silang1.inputquery no translations appears

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



Joined: 15 Jan 2003
Posts: 27
Location: Denmark

PostPosted: Fri Jan 16, 2004 1:57 pm    Post subject: silang1.inputquery no translations appears Reply with quote

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


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Fri Jan 16, 2004 2:07 pm    Post subject: Reply with quote

Do you mean that in Translation Editor Dialogs section there are no OK and CANCEL entries?
Back to top
View user's profile Send private message
larsrikart



Joined: 15 Jan 2003
Posts: 27
Location: Denmark

PostPosted: Fri Jan 16, 2004 2:30 pm    Post subject: Reply with quote

Translation Editor Dialogs do have OK and Cancel. But no new untranslated OK and Cancel appear and the inputquery is not translated.
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Fri Jan 16, 2004 4:16 pm    Post subject: Reply with quote

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



Joined: 15 Jan 2003
Posts: 27
Location: Denmark

PostPosted: Mon Jan 19, 2004 11:47 am    Post subject: Reply with quote

here is a testproject in D7

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

problem is the same in a new project...
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Jan 19, 2004 6:54 pm    Post subject: Reply with quote

Thanks, this is strange but there was a bug Smile
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:
      Caption := SMsgDlgOK;
---
      Caption := SMsgDlgCancel;


with lines:
Code:

      Caption := GetTextFrom(@FDlgsCaptions, 'OK', True);
---
      Caption := GetTextFrom(@FDlgsCaptions, 'Cancel', True);

respectively.
Thank you again.
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