Re: Another localization issue

Jean Pierre Malrieu <[email protected]> Tue, 28 Jan 2014 10:34:41 +0100
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
Oh, you are right, it does localize. You cannot set the value by means of a rule contrary to what the documentation suggests, but that is no big deal (there are not 40 ways of translating "new" depending on the context, even in French!)

JPM

 
Le 28 janv. 2014 à 00:41, Fabian Peters <[email protected]> a écrit :

> Hi Jean Pierre,
> 
> Are you sure your version of CCSubmitLinkButton does not localize the value? I just looked at the source and find an ERXLocalizedString:
> 
> Value : ERXLocalizedString {
>  value = ^value;
> }
> 
> Should be working as expected by localizing on "New" as key?
> 
> Fabian
> 
> Am 26.01.2014 um 10:31 schrieb Jean Pierre Malrieu <[email protected]>:
> 
>> Hi,
>> 
>> Contrarily to what the documentation of ERMD2WEditToOneTypeAhead suggests
>> 
>> * @d2wKey newButtonLabel
>> 
>> this component does not localize it's "new" button
>> 
>> NewObjectButton : CCSubmitLinkButton {
>>  action = addObject;
>>  value = "New";
>>  class = newButtonClass;
>> }
>> 
>> Could someone with commit rights change this to 
>> 
>> NewObjectButton : CCSubmitLinkButton {
>>  action = addObject;
>>  value = d2wContext.newButtonLabel;
>>  class = newButtonClass;
>> }
>> 
>> I know, I know, I should learn to make pull requests... But I am not a professional developper, and my family might get mad if I spend the whole WE on this ;-)
>> 
>> JPM
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk_______________________________________________
>> Wonder-disc mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
> 


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk