[icedtea-web] RFC: unify localization code

Omair Majid omajid at redhat.com
Tue Oct 26 15:17:46 PDT 2010


On 10/26/2010 01:14 PM, Deepak Bhole wrote:
> * Omair Majid<omajid at redhat.com>  [2010-10-26 11:39]:
>> On 10/25/2010 02:42 PM, Omair Majid wrote:
>>> On 10/25/2010 02:24 PM, Deepak Bhole wrote:
>>>> * Omair Majid<omajid at redhat.com>  [2010-10-25 14:22]:
>>>>> On 10/25/2010 02:20 PM, Omair Majid wrote:
>>>>>> On 10/25/2010 01:22 PM, Deepak Bhole wrote:
>>>>>>> * Omair Majid<omajid at redhat.com>  [2010-10-25 12:54]:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Netx contains a number of duplicate methods named "R" defined in
>>>>>>>> various files that act as a wrapper for JNLPRuntime.getMessage().
>>>>>>>> The attached patch creates a new class Translate and moves all the
>>>>>>>> "R" methods to it. This set of overloaded "R" methods is then
>>>>>>>> statically imported anywhere that needs localized strings.
>>>>>>>>
>>>>>>>
>>>>>>> While it is being refactored, why not use varargs for R()?
>>>>>>>
>>>>>>
>>>>>> Fixed.
>>>>>
>>>>> Grr.. Accceidentally sent without finishing email :(
>>>>>
>>>>> Here is the attachment.
>>>>>
>>>>
>>>> Looks good. Okay for commit to HEAD.
>>>>
>>>> Deepak
>>>>
>>>
>>> Thanks. Pushed to HEAD.
>>>
>>
>> I think I broke simple string translation :( New patch is attached.
>>
>> ChangeLog:
>> 2010-10-26  Omair Majid<omajid at redhat.com>
>>
>>      * netx/net/sourceforge/jnlp/runtime/Translator.java
>>      (R(String)): New method.
>>
>> Any comments?
>>
>
> Looks fine to me. Ok for HEAD.
>

Thanks. Pushed to HEAD.

Cheers,
Omair




More information about the distro-pkg-dev mailing list