1 /* |
|
2 * Copyright (c) 2008, 2009, 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 |
|
26 |
|
27 ///////////////////////////////////////////////////////////////////////////// |
|
28 // |
|
29 // Dialog |
|
30 // |
|
31 |
|
32 IDD_DOWNLOAD_DIALOG DIALOGEX 0, 0, 340, 120 |
|
33 STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | |
|
34 WS_VISIBLE | WS_CAPTION | WS_SYSMENU |
|
35 CAPTION "Additional Components Needed" |
|
36 EXSTYLE WS_EX_APPWINDOW |
|
37 FONT 8, "MS Sans Serif" |
|
38 BEGIN |
|
39 LTEXT "", IDC_DOWNLOAD_MASTHEAD, 0, 0, 340, 39 |
|
40 LTEXT "", IDC_MASTHEAD_TEXT, 60, 14, 200, 12 |
|
41 CONTROL "", IDC_STATIC,"Static", SS_BLACKFRAME | SS_SUNKEN, |
|
42 0, 39, 340, 1 |
|
43 LTEXT "", IDC_DOWNLOAD_TEXT, 12, 60, 316, 20 |
|
44 LTEXT "", IDC_TIME_REMAINING, 12, 90, 316, 10 |
|
45 CONTROL "Progress1",1006,"msctls_progress32",PBS_SMOOTH, |
|
46 12, 100, 265, 14 |
|
47 PUSHBUTTON "Cancel", 2, 285, 100, 46, 14 |
|
48 END |
|
49 |
|
50 ///////////////////////////////////////////////////////////////////////////// |
|
51 // |
|
52 // DESIGNINFO |
|
53 // |
|
54 |
|
55 #ifdef APSTUDIO_INVOKED |
|
56 GUIDELINES DESIGNINFO DISCARDABLE |
|
57 BEGIN |
|
58 105, DIALOG |
|
59 BEGIN |
|
60 LEFTMARGIN, 7 |
|
61 RIGHTMARGIN, 236 |
|
62 TOPMARGIN, 7 |
|
63 BOTTOMMARGIN, 63 |
|
64 END |
|
65 END |
|
66 #endif // APSTUDIO_INVOKED |
|
67 |
|
68 |
|
69 ///////////////////////////////////////////////////////////////////////////// |
|
70 // |
|
71 // String Table |
|
72 // |
|
73 |
|
74 STRINGTABLE DISCARDABLE |
|
75 BEGIN |
|
76 IDS_DOWNLOAD_CANCEL_MESSAGE "Canceling the installation of additional components which the application needs may cause the application to exit.\n\nAre you sure you want to cancel the installation of additional components?" |
|
77 IDS_DOWNLOAD_CANCEL_CAPTION "Cancel - Additional Components" |
|
78 IDS_DOWNLOAD_CANCEL_INSTRUCTION "" |
|
79 IDS_HTTP_INSTRUCTION_REQUEST_TIMEOUT "Connection Timed Out" |
|
80 IDS_HTTP_INSTRUCTION_SERVER_NOT_REACHABLE "Unable to connect to the Internet" |
|
81 IDS_HTTP_INSTRUCTION_UNKNOWN_ERROR "Server error (Error %s)" |
|
82 IDS_HTTP_INSTRUCTION_SERVICE_UNAVAIL "Service Unavailable (Error %s)" |
|
83 IDS_HTTP_INSTRUCTION_FORBIDDEN "Access Denied or Forbidden (Error %s)" |
|
84 IDS_HTTP_STATUS_OTHER "An error has occured during this request. Do you want to try the request again?" |
|
85 |
|
86 // HTTP status code |
|
87 IDS_HTTP_STATUS_REQUEST_TIMEOUT "The server used to download the requested components is not responding and the connection has timed out. Do you want to try to connect again?" |
|
88 IDS_HTTP_STATUS_FORBIDDEN "You do not have permission to access the server to download the components requested by the application. Retry your access to the server?" |
|
89 IDS_HTTP_STATUS_SERVER_ERROR "An error occured on the server and it could not complete the request. Do you want to try the request again?" |
|
90 IDS_HTTP_STATUS_SERVICE_UNAVAIL "The requested service is temporarily unavailable. Do you want to try the request again?" |
|
91 |
|
92 |
|
93 IDS_DOWNLOAD_STATUS_RETRY "Server is currently busy, retry in %ld seconds ..." |
|
94 |
|
95 IDS_ERROR_CAPTION "Java Installer" |
|
96 IDS_HOURSMINUTESECOND "Estimated time remaining: %d hours %d minutes %.0f seconds" |
|
97 IDS_HOURMINUTESECOND "Estimated time remaining: %d hour %d minutes %.0f seconds" |
|
98 IDS_MINUTESECOND "Estimated time remaining: %d minutes %.0f seconds" |
|
99 IDS_SECOND "Estimated time remaining: %.0f seconds" |
|
100 IDS_DISK_FULL_ERROR_CAPTION "Disk Full %s" |
|
101 IDS_DISK_FULL_ERROR "There is not enough space on the disk to download the requested components. Clear space on the disk and then Retry." |
|
102 IDS_DISK_WRITE_ERROR_CAPTION "Can't write to the disk %s" |
|
103 IDS_DISK_WRITE_ERROR "An error occurred during writing to the disk. Please check that the disk is not write protected." |
|
104 IDS_HTTP_STATUS_SERVER_NOT_REACHABLE "Java cannot connect to the Internet. Please check that the Internet Connection settings are correct (these can be found in the Windows Control Panel under Internet Options > Connection) and that your firewall allows java.exe to access the Internet." |
|
105 |
|
106 IDS_DOWNLOAD_RETRY "Download error" |
|
107 IDS_DOWNLOAD_RETRY_TEXT "An error occurred during the download of some requested components. Do you want to try the download of these components again?" |
|
108 |
|
109 IDS_DOWNLOAD "Installing Additional Components" |
|
110 IDS_DOWNLOAD_UNPACKING "Unpacking bundle" |
|
111 IDS_DOWNLOAD_TEXT "The Java application will start when additional components that it requires are downloaded and installed." |
|
112 |
|
113 IDS_FILE_UPDATE_ERROR "An error occurred while updating %s%s." |
|
114 IDS_FILE_DELETE_ERROR "An error occurred while removing %s." |
|
115 IDS_JAVA_HOME_ERROR "Unable to determine Java home directory." |
|
116 IDS_KERNEL_HOME_ERROR "Unable to determine path to jkernel.dll." |
|
117 IDS_JBROKER_ERROR "Unable to launch jbroker.exe." |
|
118 IDS_FATAL_ERROR "Java was unable to download required components. The program will now exit." |
|
119 IDS_ERROR_DOWNLOADING_BUNDLE_PROPERTIES "Java was unable to communicate with the download server. The program will now exit." |
|
120 IDS_ERROR_MALFORMED_BUNDLE_PROPERTIES "Java encountered an error communicating with the download server. The program will now exit." |
|
121 IDS_ERROR_MALFORMED_URL "Java was unable to download from the URL '%s'. The program will now exit." |
|
122 END |
|