db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2128) The wrod class appears twice for the message SIF01.V
Date Wed, 13 Feb 2008 10:24:08 GMT

     [ 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.


Mime
View raw message