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