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 71812 - I18N: "Patch Files" can not be localized
Summary: I18N: "Patch Files" can not be localized
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: diff-issues@utilities
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-01-24 15:06 UTC by Masaki Katakai
Modified: 2007-02-16 10:34 UTC (History)
3 users (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 Masaki Katakai 2006-01-24 15:06:13 UTC
"Patch Files" is displayed on File Chooser as file type, however, it's hardcoded.

./diff/src/org/netbeans/modules/diff/PatchAction.java:                return
"Patch Files (*.diff, *.patch)";

Please use resouce bundle so that localization engineers can translate it.
Comment 1 Maros Sandor 2006-09-11 11:43:35 UTC
Added the string to bundle.

/shared/data/ccvs/repository/diff/src/org/netbeans/modules/diff/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.26; previous revision: 1.25
/shared/data/ccvs/repository/diff/src/org/netbeans/modules/diff/PatchAction.java,v
 <--  PatchAction.java
new revision: 1.37; previous revision: 1.36
Comment 2 Ken Frank 2006-10-20 05:57:04 UTC
Using a recent netbeans 5.5, I do see this message in bundle file of
system-versioning-cvss but not showing from the localized bundle file
when running in other locale, thus reopening.
Comment 3 Maros Sandor 2007-02-16 10:34:17 UTC
IMO this issue is fixed on my side, I added the string to bundle and load it via
NbBundle.getMessage(). Please reopen if you still need something fixed in code
and/or bundle.