Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331788

Summary: NLS: Severities for Code Analysis Problem Preferences not externalized for translation
Product: [Tools] CDT Reporter: Kit Lo <kitlo>
Component: cdt-codanAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED FIXED QA Contact: Elena Laskavaia <elaskavaia.cdt>
Severity: normal    
Priority: P3 CC: cdtdoug, elaskavaia.cdt, vivkong, yevshif
Version: 8.0   
Target Milestone: 8.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screen capture
none
proposed patch for HEAD vivkong: iplog-, vivkong: review?

Description Kit Lo CLA 2010-12-03 12:21:34 EST
Created attachment 184484 [details]
screen capture

Build: 8.0.0-I201011050851

Severities ("Info", "Warning", "Error") for Code Analysis Problem Preferences not externalized for translation.
Comment 1 Kit Lo CLA 2011-04-06 09:03:40 EDT
Problem still exists in 8.0.0-I201103111317 build.
Comment 2 Vivian Kong CLA 2011-05-06 15:22:02 EDT
Created attachment 194979 [details]
proposed patch for HEAD

Hi Alena, can you please review the attached patch?  I hope I have replaced all the toString() to toTranslatableString() but I just want to be sure.  Thanks.
Comment 3 Elena Laskavaia CLA 2011-05-10 10:50:59 EDT
I need to look at it more, please don't commit yet. These values used in profiles, we should not attempt to save translated value in there. Mapping between translated values and original values can be tricky
Comment 4 Vivian Kong CLA 2011-05-19 11:04:21 EDT
(In reply to comment #3)
> I need to look at it more, please don't commit yet. These values used in
> profiles, we should not attempt to save translated value in there. Mapping
> between translated values and original values can be tricky

Hi Alena, do you think we can get this fixed in RC2?
Comment 5 Elena Laskavaia CLA 2011-05-21 12:07:39 EDT
+1
please commit the patch (I lost my commit rights because of legal issues)
Comment 6 Vivian Kong CLA 2011-05-24 10:44:37 EDT
(In reply to comment #5)
> +1
> please commit the patch (I lost my commit rights because of legal issues)

Thanks for your review.

Fixed in HEAD