Re: [webkit-dev] How to deal with localized strings

2009-11-19 Thread Gustavo Noronha Silva
On Fri, 2009-08-28 at 17:21 +0200, Michelangelo De Simone wrote: > 2009/8/28 Michelangelo De Simone : > > > Any illuminating suggestion?:) > > It's nice to self-answer:) Anyway, there's no need for "illuminating > suggestions", returning an empty String on each port seems a good > choice.:) Sorr

Re: [webkit-dev] How to deal with localized strings

2009-08-28 Thread Michelangelo De Simone
2009/8/28 Michelangelo De Simone : > Any illuminating suggestion?:) It's nice to self-answer:) Anyway, there's no need for "illuminating suggestions", returning an empty String on each port seems a good choice.:) -- Bye, Michelangelo ___ webkit-dev ma

Re: [webkit-dev] How to deal with localized strings

2009-08-28 Thread Michelangelo De Simone
2009/8/25 Ryan Leavengood : > WebCore/platform/LocalizedStrings.h seems appropriate :) Thanks for the tip Ryan; I've been wondering if I have to modify all the LocalizedString files: I don't want to incidentally brake some port and, in the same time, I must bring the same functionality to the DOM

Re: [webkit-dev] How to deal with localized strings

2009-08-24 Thread Ryan Leavengood
On Mon, Aug 24, 2009 at 2:07 PM, Michelangelo De Simone wrote: > > In order to accomplish this in > HTMLFormControlElement::validationMessage() I should return the > localized string obtained from the embedder and this is the trouble I > went into: how such a thing is usually done in WebKit? WebCo

[webkit-dev] How to deal with localized strings

2009-08-24 Thread Michelangelo De Simone
Hi guys, I'm gonna implement the support to the "validationMessage" HTML5 DOM attribute of form control elements, it shall return a string that describes which validation state the element is in. AFAIK this should be a localized string to be presented to the user: I tought to write a simple: enum