Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 102670 Details for
Bug 232391
TVT34:TCT289: JA: "In" in English in JavaScript Library ->Global Supertype panel
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
patch to externalize "() in" string
nlsinstring.txt (text/plain), 2.11 KB, created by
Bradley Childs
on 2008-05-29 11:46:51 EDT
(
hide
)
Description:
patch to externalize "() in" string
Filename:
MIME Type:
Creator:
Bradley Childs
Created:
2008-05-29 11:46:51 EDT
Size:
2.11 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.wst.jsdt.core >Index: src/org/eclipse/wst/jsdt/core/LibrarySuperType.java >=================================================================== >RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/LibrarySuperType.java,v >retrieving revision 1.7 >diff -u -r1.7 LibrarySuperType.java >--- src/org/eclipse/wst/jsdt/core/LibrarySuperType.java 30 Apr 2008 21:32:22 -0000 1.7 >+++ src/org/eclipse/wst/jsdt/core/LibrarySuperType.java 29 May 2008 15:46:10 -0000 >@@ -140,7 +140,7 @@ > > } > >- return superTypeName + "() in " + getLibraryName(); //$NON-NLS-1$ >+ return superTypeName + Messages.getString("LibrarySuperType.0") + getLibraryName(); //$NON-NLS-1$ > } > > public boolean equals(Object o) { >Index: src/org/eclipse/wst/jsdt/core/Messages.java >=================================================================== >RCS file: src/org/eclipse/wst/jsdt/core/Messages.java >diff -N src/org/eclipse/wst/jsdt/core/Messages.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/wst/jsdt/core/Messages.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,22 @@ >+package org.eclipse.wst.jsdt.core; >+ >+import java.util.MissingResourceException; >+import java.util.ResourceBundle; >+ >+public class Messages { >+ private static final String BUNDLE_NAME = "org.eclipse.wst.jsdt.core.messages"; //$NON-NLS-1$ >+ >+ private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle >+ .getBundle(BUNDLE_NAME); >+ >+ private Messages() { >+ } >+ >+ public static String getString(String key) { >+ try { >+ return RESOURCE_BUNDLE.getString(key); >+ } catch (MissingResourceException e) { >+ return '!' + key + '!'; >+ } >+ } >+} >Index: src/org/eclipse/wst/jsdt/core/messages.properties >=================================================================== >RCS file: src/org/eclipse/wst/jsdt/core/messages.properties >diff -N src/org/eclipse/wst/jsdt/core/messages.properties >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/wst/jsdt/core/messages.properties 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,1 @@ >+LibrarySuperType.0=() in
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 232391
:
100528
|
102670
|
103800