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 65481 - I18N - the period in the message cannot be localized
Summary: I18N - the period in the message cannot be localized
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-09-30 07:01 UTC by ohsumi
Modified: 2007-06-11 05:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the UC wizard in Creator Thresher (18.76 KB, application/x-compressed)
2005-09-30 07:02 UTC, ohsumi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ohsumi 2005-09-30 07:01:31 UTC
In the Update Centor wizard, when clicking the localized module names,
the localized desriptions are displayed as follows.

   Module Size: XX KB
   Japanese localization.
   ... description ...

"Japanese localization" can be localized, but the period "." cannot be localized.

autoupdate/src/org/netbeans/modules/autoupdate/Bundle.properties
TXT_L10N_Prefix={0} localization

L10NUpdate.java
            desc = MessageFormat.format( NbBundle.getMessage( L10NUpdate.class,
"TXT_L10N_Prefix" ),  // NOI18N
       .....

        if ( desc.length() > 0 )
            desc = desc + ".\n";    // NOI18N      <== hard-code
        desc = desc + getDescription();
        setDescription( desc );

I think that the period should be included in the message.
Please fix this in the next release.
Comment 1 ohsumi 2005-09-30 07:02:56 UTC
Created attachment 25340 [details]
the UC wizard in Creator Thresher
Comment 2 Jiri Rechtacek 2005-09-30 11:07:20 UTC
Checking in autoupdate/src/org/netbeans/modules/autoupdate/Bundle.properties;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.162; previous revision: 1.161
done
Checking in autoupdate/src/org/netbeans/modules/autoupdate/L10NUpdate.java;
/cvs/autoupdate/src/org/netbeans/modules/autoupdate/L10NUpdate.java,v  <-- 
L10NUpdate.java
new revision: 1.7; previous revision: 1.6
done
Comment 3 Ken Frank 2007-05-26 19:15:49 UTC
for nb6, don't see the period as part of the message; I dont know if this is still
 a problem.

ken.frank@sun.com
Comment 4 Ken Frank 2007-06-11 05:22:15 UTC
verifying - the period is in a separate message.

ken.frank@sun.com