xref: /aoo4110/main/svtools/source/java/javaerror.src (revision b1cdbd2c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#include <svtools/svtools.hrc>
25
26WarningBox WARNINGBOX_JAVANOTFOUND
27{
28    Buttons = WB_OK ;
29	DefButton = WB_DEF_OK ;
30	Message[ en-US ] ="%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart %PRODUCTNAME.";
31};
32
33WarningBox WARNINGBOX_INVALIDJAVASETTINGS
34{
35    Buttons = WB_OK ;
36	DefButton = WB_DEF_OK ;
37	Message[ en-US ] ="The %PRODUCTNAME configuration has been changed. Under Tools - Options - %PRODUCTNAME - Java, select the Java runtime environment you want to have used by %PRODUCTNAME.";
38};
39
40QueryBox QBX_JAVADISABLED
41{
42	Buttons = WB_YES_NO_CANCEL ;
43	DefButton = WB_DEF_YES ;
44	Message[ en-US ] = "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. However, use of a JRE has been disabled. Do you want to enable the use of a JRE now?";
45};
46
47ErrorBox ERRORBOX_JVMCREATIONFAILED
48{
49	Buttons = WB_OK;
50	DefButton = WB_DEF_OK ;
51	Message[ en-US ] = "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select  it under Tools - Options - %PRODUCTNAME - Java.";
52};
53
54ErrorBox ERRORBOX_RESTARTREQUIRED
55{
56	Buttons = WB_OK;
57	DefButton = WB_DEF_OK ;
58	Message[ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted. Please restart %PRODUCTNAME now.";
59};
60
61
62
63String STR_WARNING_JAVANOTFOUND
64{
65	Text[ en-US ] = "JRE Required" ;
66};
67
68String STR_WARNING_INVALIDJAVASETTINGS
69{
70	Text[ en-US ] = "Select JRE";
71};
72
73String STR_ERROR_RESTARTREQUIRED
74{
75	Text[ en-US ] = "Restart Required";
76};
77
78String STR_QUESTION_JAVADISABLED
79{
80	Text[ en-US ] = "Enable JRE" ;
81};
82
83
84String STR_ERROR_JVMCREATIONFAILED
85{
86	Text[ en-US ] = "JRE is Defective" ;
87};
88
89
90