History

My first initial commit with all of mine experimental changes.

Dmitry Kabak (userdima committed 13 years ago

Commit d37b88d1 parent 3f5b46618352 files · +2598093 −-8690Browse files

Showing the changes to java/pkg/sun/applet/resources/MsgAppletViewer.java (1 of 18352 files). Show all

Unified · Split

java/pkg/sun/applet/resources/MsgAppletViewer.java+202−0
@@ -0,0 +1,202 @@
1+/*
2+ * Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
3+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4+ *
5+ * This code is free software; you can redistribute it and/or modify it
6+ * under the terms of the GNU General Public License version 2 only, as
7+ * published by the Free Software Foundation. Oracle designates this
8+ * particular file as subject to the "Classpath" exception as provided
9+ * by Oracle in the LICENSE file that accompanied this code.
10+ *
11+ * This code is distributed in the hope that it will be useful, but WITHOUT
12+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14+ * version 2 for more details (a copy is included in the LICENSE file that
15+ * accompanied this code).
16+ *
17+ * You should have received a copy of the GNU General Public License version
18+ * 2 along with this work; if not, write to the Free Software Foundation,
19+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20+ *
21+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22+ * or visit www.oracle.com if you need additional information or have any
23+ * questions.
24+ */
25+package sun.applet.resources;
26+
27+import java.util.ListResourceBundle;
28+
29+public class MsgAppletViewer extends ListResourceBundle {
30+
31+ public Object[][] getContents() {
32+ Object[][] temp = new Object[][] {
33+ {"textframe.button.dismiss", "Dismiss"},
34+ {"appletviewer.tool.title", "Applet Viewer: {0}"},
35+ {"appletviewer.menu.applet", "Applet"},
36+ {"appletviewer.menuitem.restart", "Restart"},
37+ {"appletviewer.menuitem.reload", "Reload"},
38+ {"appletviewer.menuitem.stop", "Stop"},
39+ {"appletviewer.menuitem.save", "Save..."},
40+ {"appletviewer.menuitem.start", "Start"},
41+ {"appletviewer.menuitem.clone", "Clone..."},
42+ {"appletviewer.menuitem.tag", "Tag..."},
43+ {"appletviewer.menuitem.info", "Info..."},
44+ {"appletviewer.menuitem.edit", "Edit"},
45+ {"appletviewer.menuitem.encoding", "Character Encoding"},
46+ {"appletviewer.menuitem.print", "Print..."},
47+ {"appletviewer.menuitem.props", "Properties..."},
48+ {"appletviewer.menuitem.close", "Close"},
49+ {"appletviewer.menuitem.quit", "Quit"},
50+ {"appletviewer.label.hello", "Hello..."},
51+ {"appletviewer.status.start", "starting applet..."},
52+ {"appletviewer.appletsave.filedialogtitle","Serialize Applet into File"},
53+ {"appletviewer.appletsave.err1", "serializing an {0} to {1}"},
54+ {"appletviewer.appletsave.err2", "in appletSave: {0}"},
55+ {"appletviewer.applettag", "Tag shown"},
56+ {"appletviewer.applettag.textframe", "Applet HTML Tag"},
57+ {"appletviewer.appletinfo.applet", "-- no applet info --"},
58+ {"appletviewer.appletinfo.param", "-- no parameter info --"},
59+ {"appletviewer.appletinfo.textframe", "Applet Info"},
60+ {"appletviewer.appletprint.fail", "Printing failed."},
61+ {"appletviewer.appletprint.finish", "Finished printing."},
62+ {"appletviewer.appletprint.cancel", "Printing cancelled."},
63+ {"appletviewer.appletencoding", "Character Encoding: {0}"},
64+ {"appletviewer.parse.warning.requiresname", "Warning: <param name=... value=...> tag requires name attribute."},
65+ {"appletviewer.parse.warning.paramoutside", "Warning: <param> tag outside <applet> ... </applet>."},
66+ {"appletviewer.parse.warning.applet.requirescode", "Warning: <applet> tag requires code attribute."},
67+ {"appletviewer.parse.warning.applet.requiresheight", "Warning: <applet> tag requires height attribute."},
68+ {"appletviewer.parse.warning.applet.requireswidth", "Warning: <applet> tag requires width attribute."},
69+ {"appletviewer.parse.warning.object.requirescode", "Warning: <object> tag requires code attribute."},
70+ {"appletviewer.parse.warning.object.requiresheight", "Warning: <object> tag requires height attribute."},
71+ {"appletviewer.parse.warning.object.requireswidth", "Warning: <object> tag requires width attribute."},
72+ {"appletviewer.parse.warning.embed.requirescode", "Warning: <embed> tag requires code attribute."},
73+ {"appletviewer.parse.warning.embed.requiresheight", "Warning: <embed> tag requires height attribute."},
74+ {"appletviewer.parse.warning.embed.requireswidth", "Warning: <embed> tag requires width attribute."},
75+ {"appletviewer.parse.warning.appnotLongersupported", "Warning: <app> tag no longer supported, use <applet> instead:"},
76+ {"appletviewer.usage", "Usage: appletviewer <options> url(s)\n\nwhere <options> include:\n -debug Start the applet viewer in the Java debugger\n -encoding <encoding> Specify character encoding used by HTML files\n -J<runtime flag> Pass argument to the java interpreter\n\nThe -J option is non-standard and subject to change without notice."},
77+ {"appletviewer.main.err.unsupportedopt", "Unsupported option: {0}"},
78+ {"appletviewer.main.err.unrecognizedarg", "Unrecognized argument: {0}"},
79+ {"appletviewer.main.err.dupoption", "Duplicate use of option: {0}"},
80+ {"appletviewer.main.err.inputfile", "No input files specified."},
81+ {"appletviewer.main.err.badurl", "Bad URL: {0} ( {1} )"},
82+ {"appletviewer.main.err.io", "I/O exception while reading: {0}"},
83+ {"appletviewer.main.err.readablefile", "Make sure that {0} is a file and is readable."},
84+ {"appletviewer.main.err.correcturl", "Is {0} the correct URL?"},
85+ {"appletviewer.main.prop.store", "User-specific properties for AppletViewer"},
86+ {"appletviewer.main.err.prop.cantread", "Can''t read user properties file: {0}"},
87+ {"appletviewer.main.err.prop.cantsave", "Can''t save user properties file: {0}"},
88+ {"appletviewer.main.warn.nosecmgr", "Warning: disabling security."},
89+ {"appletviewer.main.debug.cantfinddebug", "Can''t find the debugger!"},
90+ {"appletviewer.main.debug.cantfindmain", "Can''t find main method in the debugger!"},
91+ {"appletviewer.main.debug.exceptionindebug", "Exception in the debugger!"},
92+ {"appletviewer.main.debug.cantaccess", "Can''t access the debugger!"},
93+ {"appletviewer.main.nosecmgr", "Warning: SecurityManager not installed!"},
94+ {"appletviewer.main.warning", "Warning: No applets were started. Make sure the input contains an <applet> tag."},
95+ {"appletviewer.main.warn.prop.overwrite", "Warning: Temporarily overwriting system property at user''s request: key: {0} old value: {1} new value: {2}"},
96+ {"appletviewer.main.warn.cantreadprops", "Warning: Can''t read AppletViewer properties file: {0} Using defaults."},
97+ {"appletioexception.loadclass.throw.interrupted", "class loading interrupted: {0}"},
98+ {"appletioexception.loadclass.throw.notloaded", "class not loaded: {0}"},
99+ {"appletclassloader.loadcode.verbose", "Opening stream to: {0} to get {1}"},
100+ {"appletclassloader.filenotfound", "File not found when looking for: {0}"},
101+ {"appletclassloader.fileformat", "File format exception when loading: {0}"},
102+ {"appletclassloader.fileioexception", "I/O exception when loading: {0}"},
103+ {"appletclassloader.fileexception", "{0} exception when loading: {1}"},
104+ {"appletclassloader.filedeath", "{0} killed when loading: {1}"},
105+ {"appletclassloader.fileerror", "{0} error when loading: {1}"},
106+ {"appletclassloader.findclass.verbose.openstream", "Opening stream to: {0} to get {1}"},
107+ {"appletclassloader.getresource.verbose.forname", "AppletClassLoader.getResource for name: {0}"},
108+ {"appletclassloader.getresource.verbose.found", "Found resource: {0} as a system resource"},
109+ {"appletclassloader.getresourceasstream.verbose", "Found resource: {0} as a system resource"},
110+ {"appletpanel.runloader.err", "Either object or code parameter!"},
111+ {"appletpanel.runloader.exception", "exception while deserializing {0}"},
112+ {"appletpanel.destroyed", "Applet destroyed."},
113+ {"appletpanel.loaded", "Applet loaded."},
114+ {"appletpanel.started", "Applet started."},
115+ {"appletpanel.inited", "Applet initialized."},
116+ {"appletpanel.stopped", "Applet stopped."},
117+ {"appletpanel.disposed", "Applet disposed."},
118+ {"appletpanel.nocode", "APPLET tag missing CODE parameter."},
119+ {"appletpanel.notfound", "load: class {0} not found."},
120+ {"appletpanel.nocreate", "load: {0} can''t be instantiated."},
121+ {"appletpanel.noconstruct", "load: {0} is not public or has no public constructor."},
122+ {"appletpanel.death", "killed"},
123+ {"appletpanel.exception", "exception: {0}."},
124+ {"appletpanel.exception2", "exception: {0}: {1}."},
125+ {"appletpanel.error", "error: {0}."},
126+ {"appletpanel.error2", "error: {0}: {1}."},
127+ {"appletpanel.notloaded", "Init: applet not loaded."},
128+ {"appletpanel.notinited", "Start: applet not initialized."},
129+ {"appletpanel.notstarted", "Stop: applet not started."},
130+ {"appletpanel.notstopped", "Destroy: applet not stopped."},
131+ {"appletpanel.notdestroyed", "Dispose: applet not destroyed."},
132+ {"appletpanel.notdisposed", "Load: applet not disposed."},
133+ {"appletpanel.bail", "Interrupted: bailing out."},
134+ {"appletpanel.filenotfound", "File not found when looking for: {0}"},
135+ {"appletpanel.fileformat", "File format exception when loading: {0}"},
136+ {"appletpanel.fileioexception", "I/O exception when loading: {0}"},
137+ {"appletpanel.fileexception", "{0} exception when loading: {1}"},
138+ {"appletpanel.filedeath", "{0} killed when loading: {1}"},
139+ {"appletpanel.fileerror", "{0} error when loading: {1}"},
140+ {"appletpanel.badattribute.exception", "HTML parsing: incorrect value for width/height attribute"},
141+ {"appletillegalargumentexception.objectinputstream", "AppletObjectInputStream requires non-null loader"},
142+ {"appletprops.title", "AppletViewer Properties"},
143+ {"appletprops.label.http.server", "Http proxy server:"},
144+ {"appletprops.label.http.proxy", "Http proxy port:"},
145+ {"appletprops.label.network", "Network access:"},
146+ {"appletprops.choice.network.item.none", "None"},
147+ {"appletprops.choice.network.item.applethost", "Applet Host"},
148+ {"appletprops.choice.network.item.unrestricted", "Unrestricted"},
149+ {"appletprops.label.class", "Class access:"},
150+ {"appletprops.choice.class.item.restricted", "Restricted"},
151+ {"appletprops.choice.class.item.unrestricted", "Unrestricted"},
152+ {"appletprops.label.unsignedapplet", "Allow unsigned applets:"},
153+ {"appletprops.choice.unsignedapplet.no", "No"},
154+ {"appletprops.choice.unsignedapplet.yes", "Yes"},
155+ {"appletprops.button.apply", "Apply"},
156+ {"appletprops.button.cancel", "Cancel"},
157+ {"appletprops.button.reset", "Reset"},
158+ {"appletprops.apply.exception", "Failed to save properties: {0}"},
159+ /* 4066432 */
160+ {"appletprops.title.invalidproxy", "Invalid Entry"},
161+ {"appletprops.label.invalidproxy", "Proxy Port must be a positive integer value."},
162+ {"appletprops.button.ok", "OK"},
163+ /* end 4066432 */
164+ {"appletprops.prop.store", "User-specific properties for AppletViewer"},
165+ {"appletsecurityexception.checkcreateclassloader", "Security Exception: classloader"},
166+ {"appletsecurityexception.checkaccess.thread", "Security Exception: thread"},
167+ {"appletsecurityexception.checkaccess.threadgroup", "Security Exception: threadgroup: {0}"},
168+ {"appletsecurityexception.checkexit", "Security Exception: exit: {0}"},
169+ {"appletsecurityexception.checkexec", "Security Exception: exec: {0}"},
170+ {"appletsecurityexception.checklink", "Security Exception: link: {0}"},
171+ {"appletsecurityexception.checkpropsaccess", "Security Exception: properties"},
172+ {"appletsecurityexception.checkpropsaccess.key", "Security Exception: properties access {0}"},
173+ {"appletsecurityexception.checkread.exception1", "Security Exception: {0}, {1}"},
174+ {"appletsecurityexception.checkread.exception2", "Security Exception: file.read: {0}"},
175+ {"appletsecurityexception.checkread", "Security Exception: file.read: {0} == {1}"},
176+ {"appletsecurityexception.checkwrite.exception", "Security Exception: {0}, {1}"},
177+ {"appletsecurityexception.checkwrite", "Security Exception: file.write: {0} == {1}"},
178+ {"appletsecurityexception.checkread.fd", "Security Exception: fd.read"},
179+ {"appletsecurityexception.checkwrite.fd", "Security Exception: fd.write"},
180+ {"appletsecurityexception.checklisten", "Security Exception: socket.listen: {0}"},
181+ {"appletsecurityexception.checkaccept", "Security Exception: socket.accept: {0}:{1}"},
182+ {"appletsecurityexception.checkconnect.networknone", "Security Exception: socket.connect: {0}->{1}"},
183+ {"appletsecurityexception.checkconnect.networkhost1", "Security Exception: Couldn''t connect to {0} with origin from {1}."},
184+ {"appletsecurityexception.checkconnect.networkhost2", "Security Exception: Couldn''t resolve IP for host {0} or for {1}. "},
185+ {"appletsecurityexception.checkconnect.networkhost3", "Security Exception: Could not resolve IP for host {0}. See the trustProxy property."},
186+ {"appletsecurityexception.checkconnect", "Security Exception: connect: {0}->{1}"},
187+ {"appletsecurityexception.checkpackageaccess", "Security Exception: cannot access package: {0}"},
188+ {"appletsecurityexception.checkpackagedefinition", "Security Exception: cannot define package: {0}"},
189+ {"appletsecurityexception.cannotsetfactory", "Security Exception: cannot set factory"},
190+ {"appletsecurityexception.checkmemberaccess", "Security Exception: check member access"},
191+ {"appletsecurityexception.checkgetprintjob", "Security Exception: getPrintJob"},
192+ {"appletsecurityexception.checksystemclipboardaccess", "Security Exception: getSystemClipboard"},
193+ {"appletsecurityexception.checkawteventqueueaccess", "Security Exception: getEventQueue"},
194+ {"appletsecurityexception.checksecurityaccess", "Security Exception: security operation: {0}"},
195+ {"appletsecurityexception.getsecuritycontext.unknown", "unknown class loader type. unable to check for getContext"},
196+ {"appletsecurityexception.checkread.unknown", "unknown class loader type. unable to check for checking read {0}"},
197+ {"appletsecurityexception.checkconnect.unknown", "unknown class loader type. unable to check for checking connect"},
198+ };
199+
200+ return temp;
201+ }
202+}