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

Bug 99462

Summary: 3.1: TCT 138, 139 - Translation Clarification
Product: [Eclipse Project] JDT Reporter: Matthew T. Veety <mtveety>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: camle
Version: 3.1   
Target Milestone: 3.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Matthew T. Veety CLA 2005-06-10 16:14:37 EDT
TCT 138:

Opened by Daniela Bernardi / Brazil TSC/ Brazilian/Portuguese / 2005-05-23 10:08:51

Hello

Could we consider enum as "enumeration"?
Or is it a word not translatable?

The enum {1} already defines the method {0}({2}) implicitly
Not all enum constants covered on 'switch':

File:
eclipse\plugins\org.eclipse.jdt.core\jdtcore_jar\org\eclipse\jdt\internal\compiler\problem\messages.properties

Thanks

Daniela

TCT 139:

 Opened by Gregory Mokhin / Russian TSC/ Russian / 2005-05-27 14:54:03

eclipse\plugins\org.eclipse.jdt.core\jdtcore_jar\org\eclipse\jdt\internal\compiler\problem\messages.properties

264 = Invalid high surrogate: must be within 0xD800 and 0xDBFF

Looks like by Unicode standard high surrogate must be within 0xD800 and 0xDB7F
Comment 1 Olivier Thomann CLA 2005-06-13 08:52:28 EDT
According to the Unicode web site:

High-Surrogate Code Unit. A 16-bit code unit in the range D80016 to DBFF16, used
in UTF-16 as the leading code unit of a surrogate pair. Also known as a leading
surrogate. (See definition D25a in Section 3.8, Surrogates.)


From http://www.unicode.org/versions/Unicode4.0.0/ch03.pdf, I found:

D25a High-surrogate code unit: A 16-bit code unit in the range D80016 to DBFF16,
used in UTF-16 as the leading code unit of a surrogate pair.
D26 Low-surrogate code point: A Unicode code point in the range U+DC00 to U+DFFF.

So I believe our error message is fine.
Comment 2 Philipe Mulet CLA 2005-06-15 07:59:29 EDT
Ok to close ?
Comment 3 Olivier Thomann CLA 2005-06-15 08:57:16 EDT
For the first question, enum is a keyword that represents a kind of types like
class or interface or annotation.
It is an enumeration, but I am not sure this would be a good translation,
because this is different from java.lang.Enumeration.
Comment 4 Olivier Thomann CLA 2005-06-15 09:01:53 EDT
Closing. Reopen if the question are not answered properly.
Comment 5 Olivier Thomann CLA 2005-06-15 09:02:08 EDT
Closing.