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.
Messages that are stored in openide.explorer/src/org/openide/explorer/Bundle.properties are used in several other modules. For instance openide.compat or refactoring. The messages should either be moved to the individual modules, or some API should be created that would provide the localized Strings. Keys in Bundle.properties files are not public APIs.
See issue #205217.
openide.compat and openide.explorer are friends. They even share the same package! I think reuse here is fine (should you pay attention to failing tests, you'd find that out as well soon after integration). Refactoring is definitely not a friend of openide.explorer and should not reuse its keys.
Probably need to do a repository-wide grep for these keys. See bug #205217 comment #5.
Changeset: 1c47582778e8 Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2012-03-06 13:10 Message: Issue #205230 - MSG_ConfirmDeleteObject and related keys used from other modules
Remember if you are using @Messages you can replace e.g. NbBundle.getMessage(SafeDeleteAction.class, "MSG_ConfirmDeleteObject", sel[0].getDisplayName()) with [Bundle.]MSG_ConfirmDeleteObjectsel[0].getDisplayName()).
Integrated into 'main-golden', will be available in build *201203071105* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1c47582778e8 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #205230 - MSG_ConfirmDeleteObject and related keys used from other modules