db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5944) The hard-coded PlanExporter help message should be internationalized so that it can be translated
Date Thu, 28 Jan 2016 02:25:39 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15120619#comment-15120619
] 

ASF subversion and git services commented on DERBY-5944:
--------------------------------------------------------

Commit 1727230 from [~bryanpendleton] in branch 'code/trunk'
[ https://svn.apache.org/r1727230 ]

DERBY-5944: The hard-coded PlanExporter help message should be internationalized

This patch was contributed by  Yun Fang ( fangyuncn at gmail dot com  )

This change replaces the literal string text in PlanExporter.java with
references to Derby messages.

The change also contributes both the English message text and the corresponding
Chinese message text.

> The hard-coded PlanExporter help message should be internationalized so that it can be
translated
> -------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-5944
>                 URL: https://issues.apache.org/jira/browse/DERBY-5944
>             Project: Derby
>          Issue Type: Bug
>          Components: Localization, Tools
>    Affects Versions: 10.10.1.1
>            Reporter: Rick Hillegas
>            Assignee: Yun Fang
>              Labels: derby_triage10_11
>         Attachments: MessageVetter.java.diff, PlanExporter.java.diff, toolsmessages.properties.diff,
toolsmessages_zh_CN.properties.diff
>
>
> The help message for PlanExporter is hard-coded in PlanExporter.printHelp(). In contrast,
other Derby tools use the message lookup logic for their help messages. This means that for
those other tools, on supported locales, users see translated versions of the help messages.
For PlanExporter, the help message always appears in English. PlanExporter should use the
message lookup logic like the other tools do.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message