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 

inherited forms and translate source

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



Joined: 06 Jan 2006
Posts: 124

PostPosted: Fri Jun 15, 2012 1:13 pm    Post subject: inherited forms and translate source Reply with quote

Hello,

I have a source .cpp with some strings and I want to use the function "Translate source" . If I use the function everything is fine for this form, but all inherited forms get NULL for these strings.

So my idea was to put such strings which are needed in several forms in a "main string form" and write such code like
MainStringForm->Lnk->GetTextOrDefault("")

But how can I copy selected rows from the "Translation Editor" of the form which is translated via source, to the main string form?
I can only export and import, but after import are the other strings gone.

Thanks
Thomas
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2102

PostPosted: Sat Jun 16, 2012 2:39 am    Post subject: Reply with quote

1. Open Translation Editor
2. Select range of cells to copy (using Shift+Arrow keys)
3. Press Ctrl+C to copy these cells.
4. Close Translation Editor and open it with TsiLang on destination form.
5. Using Down arrow key add as many rows as needed for copied cells.
6. Press Ctrl+V to paste cells from clipboard.
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