View previous topic :: View next topic |
Author |
Message |
larsrikart
Joined: 15 Jan 2003 Posts: 27 Location: Denmark
|
Posted: Fri Jan 16, 2004 1:57 pm Post subject: silang1.inputquery no translations appears |
|
|
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 |
|
 |
isiticov Site Admin
Joined: 21 Nov 2002 Posts: 2112
|
Posted: Fri Jan 16, 2004 2:07 pm Post subject: |
|
|
Do you mean that in Translation Editor Dialogs section there are no OK and CANCEL entries? |
|
Back to top |
|
 |
larsrikart
Joined: 15 Jan 2003 Posts: 27 Location: Denmark
|
Posted: Fri Jan 16, 2004 2:30 pm Post subject: |
|
|
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 |
|
 |
isiticov Site Admin
Joined: 21 Nov 2002 Posts: 2112
|
Posted: Fri Jan 16, 2004 4:16 pm Post subject: |
|
|
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 |
|
 |
larsrikart
Joined: 15 Jan 2003 Posts: 27 Location: Denmark
|
|
Back to top |
|
 |
isiticov Site Admin
Joined: 21 Nov 2002 Posts: 2112
|
Posted: Mon Jan 19, 2004 6:54 pm Post subject: |
|
|
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: | Caption := SMsgDlgOK;
---
Caption := SMsgDlgCancel; |
with lines:
Code: |
Caption := GetTextFrom(@FDlgsCaptions, 'OK', True);
---
Caption := GetTextFrom(@FDlgsCaptions, 'Cancel', True); |
respectively.
Thank you again. |
|
Back to top |
|
 |
|