This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 136776 - I18N - one sentence is broken into two messages
Summary: I18N - one sentence is broken into two messages
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: pslechta
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-06-09 09:07 UTC by Ashizawa Kazunori
Modified: 2008-07-11 15:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashizawa Kazunori 2008-06-09 09:07:44 UTC
I18N - one sentence is broken into two messages

web.core/src/org/netbeans/modules/web/core/palette/items/Bundle.properties:
  ACSD_Stmt_Dialog_1=This dialog allows you to customize the code that will be generated for
  ACSD_Stmt_Dialog_2=tag.

web.core/src/org/netbeans/modules/web/core/palette/items/SQLStmtCustomizer.java:
  getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(SQLStmtCustomizer.class, "ACSD_Stmt_Dialog_1")+"
"+displayName+" "+NbBundle.getMessage(SQLStmtCustomizer.class, "ACSD_Stmt_Dialog_2"));

As one sentence is broken into two messages, it's not
translatable (localize).  Please use {0} style of message.
Comment 1 pslechta 2008-06-18 14:48:06 UTC
Fixed.

http://hg.netbeans.org/main/rev/d59e7a3398fc
Comment 2 Ken Frank 2008-07-11 15:38:47 UTC
verified.