| Summary: | [LTTng, TMF] Ensure all strings are externalized | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Andrew Overholt <overholt> | ||||||||||
| Component: | LinuxTools | Assignee: | Francois Chouinard <fchouinard> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | Francois Chouinard <fchouinard> | ||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | ||||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Andrew Overholt
Postponed to 0.6.1 Created attachment 182728 [details]
Part 1
This is the first contribution to this bug.
After "warnifying" the compiler's "Non-externalized strings" code style, ~4000 warnings popped-up :-(
This patch doesn't address the main issue but clears up a large number of warnings by adding @SuppressWarning annotations to cover the following cases:
- all test code
- all tracing code
- all toString() methods
- all exception messages (they will be re-visited anyway)
- all punctuation strings (this might not be that kosher...)
- all internal constants (Eclipse IDs, default file names, paths, ...)
Created attachment 182818 [details]
Part 2
Second round of fixes.
Created attachment 183509 [details]
Part 3
Created attachment 183540 [details]
Part 4
Final part.
Comment on attachment 183540 [details]
Part 4
Patch committed on Indigo
All strings are now either externalized or tagged with $NON-NLS$. The only "UI" strings that are not extracted in the various messages.properties files are for the exceptions. Delivered with 0.7 |