xref: /aoo41x/main/svtools/source/java/javaerror.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include <svtools/svtools.hrc>
29
30WarningBox WARNINGBOX_JAVANOTFOUND
31{
32    Buttons = WB_OK ;
33	DefButton = WB_DEF_OK ;
34	Message[ en-US ] ="%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart %PRODUCTNAME.";
35};
36
37WarningBox WARNINGBOX_INVALIDJAVASETTINGS
38{
39    Buttons = WB_OK ;
40	DefButton = WB_DEF_OK ;
41	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.";
42};
43
44QueryBox QBX_JAVADISABLED
45{
46	Buttons = WB_YES_NO_CANCEL ;
47	DefButton = WB_DEF_YES ;
48	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?";
49};
50
51ErrorBox ERRORBOX_JVMCREATIONFAILED
52{
53	Buttons = WB_OK;
54	DefButton = WB_DEF_OK ;
55	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.";
56};
57
58ErrorBox ERRORBOX_RESTARTREQUIRED
59{
60	Buttons = WB_OK;
61	DefButton = WB_DEF_OK ;
62	Message[ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted. Please restart %PRODUCTNAME now.";
63};
64
65
66
67String STR_WARNING_JAVANOTFOUND
68{
69	Text[ en-US ] = "JRE Required" ;
70};
71
72String STR_WARNING_INVALIDJAVASETTINGS
73{
74	Text[ en-US ] = "Select JRE";
75};
76
77String STR_ERROR_RESTARTREQUIRED
78{
79	Text[ en-US ] = "Restart Required";
80};
81
82String STR_QUESTION_JAVADISABLED
83{
84	Text[ en-US ] = "Enable JRE" ;
85};
86
87
88String STR_ERROR_JVMCREATIONFAILED
89{
90	Text[ en-US ] = "JRE is Defective" ;
91};
92
93
94