Applied in r5864, many thanks!

On Wed, Jul 15, 2009 at 7:41 PM, Simon Laroche <[email protected]>wrote:

> Hi Roelof,
>
> I found the problem. The localized resource assemblies weren't signed.
>
> I changed the build so that it validators get build with msbuild 3.5 and it
> fixed it (see patch included).
>
> Simon
>
>
> On Sat, Jul 11, 2009 at 5:19 AM, Roelof Blom <[email protected]>wrote:
>
>> Can you investigate it further, and maybe provide a patch and test? I am
>> very short on time.
>>
>>
>> On Fri, Jul 10, 2009 at 10:41 PM, Simon Laroche 
>> <[email protected]>wrote:
>>
>>> The resources are still not localized. Could it be because the satellite
>>> assemblies are not signed?
>>>
>>> //Simon
>>>
>>>
>>> On Fri, Jul 10, 2009 at 3:44 PM, Roelof Blom <[email protected]>wrote:
>>>
>>>> Good catch! It's fixed in r5854.
>>>>
>>>> -- Roelof
>>>>
>>>>
>>>> On Fri, Jul 10, 2009 at 7:14 PM, Simon Laroche <[email protected]
>>>> > wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm running of the trunk and validation messages are not being
>>>>> localized using the default resource manager.
>>>>>
>>>>> After some looking at the validation source it seems that the cache
>>>>> validation registry falls back to invariant culture of the default 
>>>>> resource
>>>>> manager instead of of the current culture if no resource manager is passed
>>>>> to the cached validation registry.
>>>>>
>>>>>         /// <summary>
>>>>>         /// Gets the string from resource by key
>>>>>         /// </summary>
>>>>>         /// <param name="key">The key.</param>
>>>>>         /// <returns></returns>
>>>>>         public string GetStringFromResource(string key)
>>>>>         {
>>>>>             if (resourceManager != null)
>>>>>             {
>>>>>                 ResourceSet resourceSet =
>>>>> resourceManager.GetResourceSet(Thread.CurrentThread.CurrentCulture, true,
>>>>> true);
>>>>>                 string result = resourceSet.GetString(key);
>>>>>                 if (result != null)
>>>>>                     return result;
>>>>>             }
>>>>>
>>>>>             ResourceSet defaultResourceSetForCurrentThread =
>>>>>
>>>>> defaultResourceManager.GetResourceSet(CultureInfo.InvariantCulture, true,
>>>>> true); //Should this be the current culture?
>>>>>
>>>>>             return defaultResourceSetForCurrentThread.GetString(key);
>>>>>         }
>>>>>
>>>>>
>>>>> Thonks,
>>>>>
>>>>> Simon
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to