Bug 5263 - TVT: Compiler error messages are hard for translators to understand
Summary: TVT: Compiler error messages are hard for translators to understand
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 1.0   Edit
Hardware: PC All
: P3 trivial (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-25 16:52 EDT by Dan Kehn CLA
Modified: 2002-01-11 09:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kehn CLA 2001-10-25 16:52:52 EDT
Please consider adding notes (#) to the property files so translators will know 
the context of a given message.  The subject is not specified, and substitution 
parameters are not evident.

I have clarified, to the best of my limited ability <g>, the messages below.  
Please let me know if I have incorrectly interpreted the subject/parameters.

BTW, where are these messages referenced?  I traced them down to 
org.eclipse.jdt.internal.compiler.problem.ProblemIrritants, but found no 
references to them or the hardcoded constants.  That might help me more 
accurately clarify messages.

------------------------------------------------

108 = Must return a result of type {0} 
# The subject is a method, i.e., "Method must return a result of type 'x'

159 = Must provide either dimension expressions or an array initializer 
# "Variable (or field) must provide either dimension expressions...

400 = Must implement the inherited abstract method {0} 
# "Class must implement the inherited abstract method 'x'

441 = Must implement the inherited abstract method {1}, but cannot override
it since it is not visible from {0}
# "This class must implement the inherited abstract method 'x', but cannot 
override since it is not visible from 'this class'

412 = Overrides deprecated method from {0}
# "This class overrides deprecated method from 'this superclass'
Comment 1 Philipe Mulet CLA 2001-10-29 06:41:09 EST
These messages are indeed referenced indirectly through 
org.eclipse.jdt.internal.compiler.problem.ProblemIrritants constants.

I can find references to them.

Changed the suggested messages to better indicate the subject.