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 

Custom localization of Margin is omitting Resx in XAML

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



Joined: 07 Mar 2013
Posts: 8

PostPosted: Thu Mar 07, 2013 6:12 am    Post subject: Custom localization of Margin is omitting Resx in XAML Reply with quote

Hi,
I added to "Scan and Convert Properties" property Margin with checked Set default. In this case after scanning I am getting following code in my XAML:
Code:
Label x:Name="_lblPrijmeni" Content="{Resx _lblPrijmeni_Content}"  Margin="{Key=_lblPrijmeni_Margin, DefaultValue='38,63,0,0'}" VerticalAlignment="Top"


The keyword Resx in front of Key in Margin is missing and therefore code cannot be compiled.

If I check “Set ResXName” too. Following XAML is generated

Code:
Margin="{Resx ResxName=LocalizationTest.MainWindow, Key=_lblPrijmeni_Margin, DefaultValue='37,63,0,0'}"


which can be compiled. But there is text “ResxName=LocalizationTest.MainWindow” which I would like to avoid (for better code reading) and replace it just by "Resx". How can I solve this issue?


Thanks,

VS2012 Prof, WPF project, Win 7 64bit
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Mar 08, 2013 8:13 am    Post subject: Reply with quote

That does seem like a bug. We will investigate further and if it is a bug will fix it in the next minor release. This will probably be released sometime next week.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sun Mar 17, 2013 11:43 pm    Post subject: Reply with quote

This issue has now been fixed in Version 3.5.3 just released.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
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