[ 
https://issues.apache.org/jira/browse/DERBY-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Knut Anders Hatlen updated DERBY-2128:
--------------------------------------

    Attachment: d2128.diff

I think we should fix this in the code, and not in the message files. Although 
removing the word 'class' from the message files works for English, it doesn't 
for other languages because (1) Class.toString() always uses the English word 
'class', and (2) even if Class.toString() were localized, it wouldn't have 
enough context to use the correct grammatical form of 'class' or put the word 
the correct place in the sentence for all languages.

The attached patch changes sysinfo/Main.java so that it uses Class.getName() 
instead of Class.toString() to get the name of the class. No message files need 
to be updated if we go for this change.

> The wrod class appears twice for the message SIF01.V
> ----------------------------------------------------
>
>                 Key: DERBY-2128
>                 URL: https://issues.apache.org/jira/browse/DERBY-2128
>             Project: Derby
>          Issue Type: Bug
>          Components: Localization, Newcomer
>    Affects Versions: 10.2.1.6
>            Reporter: Manjula Kutty
>            Assignee: R VIDYA LAKSHMI
>            Priority: Trivial
>         Attachments: 2.JPG, d2128.diff, Derby-2128.diff
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to