Bug 26817 - Class File Editor shows words translated which shouldn't be
Summary: Class File Editor shows words translated which shouldn't be
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.2   Edit
Hardware: PC Windows 2000
: P3 minor (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-20 17:43 EST by David Slubicki CLA
Modified: 2002-12-18 06:01 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Slubicki CLA 2002-11-20 17:43:48 EST
To reproduce:
1) Bring up eclipse on a foreign language machine (i.e. a language which is 
supported by Eclipse)
2) Bring up the JDT Class File Editor on a class with no source.

You will notice certain words are translated which should be like:
"class" and "extends".  Our TVT testers found these externalized strings here:

org.eclipse.jdt.core\jdtcore_jar\org\eclipse\jdt\internal\core\util\messages.pro
perties
Comment 1 Philipe Mulet CLA 2002-11-21 05:28:59 EST
Confirmed. Indeed, keywords should not get externalized/translated.

Comment 2 Philipe Mulet CLA 2002-11-21 05:33:26 EST
At first glance, all the following messages should not be externalized:

disassembler.constantstring = <String "
disassembler.constantinteger = <Integer 
disassembler.constantfloat = <Float 
disassembler.constantdouble = <Double 
disassembler.constantlong = <Long 
disassembler.closeconstantstring = ">
disassembler.closeconstant = >

classfileformat.acc_abstract = abstract
classfileformat.acc_final = final
classfileformat.acc_native = native
classfileformat.acc_private = private
classfileformat.acc_protected = protected
classfileformat.acc_public = public
classfileformat.acc_static = static
classfileformat.acc_strict = strict
classfileformat.acc_synchronized = synchronized
classfileformat.acc_transient = transient
classfileformat.acc_volatile = volatile
classfileformat.class = class 
classfileformat.interface = interface 
classfileformat.extends =\ extends 
classfileformat.implements =\ implements 
classfileformat.throws =\ throws 

classfileformat.case = case 
disassembler.colon = :                ?? why would it need to be translatable
classfileformat.default =\ default:   ?? if this one contains the colon ?
classfileformat.newarrayboolean = boolean
classfileformat.newarraychar = char
classfileformat.newarrayfloat = float
classfileformat.newarraydouble = double
classfileformat.newarraybyte = byte
classfileformat.newarrayshort = short
classfileformat.newarrayint = int
classfileformat.newarraylong = long
Comment 3 Olivier Thomann CLA 2002-11-21 14:52:19 EST
Fixed and released in 2.1 stream.
Comment 4 David Audel CLA 2002-12-18 06:01:41 EST
Verified.