Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

New lines problem

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support
View previous topic :: View next topic  
Author Message
sheitman



Joined: 27 Apr 2010
Posts: 98

PostPosted: Fri Sep 02, 2011 2:43 pm    Post subject: New lines problem Reply with quote

Hi.

Caused by your validation rule "Match New Lines" I noticed that some of my strings using \n as new line character and are not displayed properly in the edit textbox. I guess the source for the mess with the line breaks in my resources is reshaper however it would be fine if you can display them properly in the textbox as my translators have missed the new lines a lot.

Btw v3 rocks.

Kind regards,
Sven
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Sep 02, 2011 11:09 pm    Post subject: Reply with quote

Do you mean the new lines are not displayed correctly (or at all) in the Edit Window? Or do you mean if you edit the translation in the translation window grid? Or both?

It sounds like it might be an issue of using \n only not \r\n which is the standard line termination on windows. I think that the standard text box does not recognise \n byitself. If you could maybe email support@infralution.com the Workspace and highlight the problem translation we could confirm that is the problem. One solution might be to provide a function to convert non-standard line endings (like Visual Studio does when it detects this). Actually you could probably write a validation rule to check this
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
sheitman



Joined: 27 Apr 2010
Posts: 98

PostPosted: Mon Sep 26, 2011 1:20 pm    Post subject: Reply with quote

Hi,

sorry I was on holiday. Totaly forgot about this post.

Yes I think its based on a line ending problem. I know that windows controls often like \r\n only. The rule "Match New Lines" alterted me so I guess this is a small confirmation^^
I will see that I send you a translationfile.

Some function to fix this would be really nice.

Kind regards,
Sven
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Globalizer Support 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 phpBB © 2001, 2005 phpBB Group