| Summary: | Need a way to suppress NLS validator warnings in a file | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Client | Assignee: | Project Inbox <orion.client-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ken_walker |
| Version: | 1.0 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
I added helpwanted here. The NLS tool is just a plugin so should be able to be worked on by anyone. Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |
In the Eclipse Java world, you can hide "unexternalized string" warnings on Java code by using a @SuppressWarnings("nls") annotation. I'd like the JavaScript NLS validator to support a similar option. For example adding a block like /** * @nonnls */ or /*nls warn:false*/ To your file would disable the NLS warnings. This would make it easier to write tests and message bundles.