1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <svtools/svtools.hrc>
22 WarningBox WARNINGBOX_JAVANOTFOUND
25 DefButton = WB_DEF_OK ;
26 Message[ en-US ] ="%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart %PRODUCTNAME.";
29 WarningBox WARNINGBOX_INVALIDJAVASETTINGS_MAC
32 DefButton = WB_DEF_OK ;
33 Message[ en-US ] ="The %PRODUCTNAME configuration has been changed. Under %PRODUCTNAME - Preferences - %PRODUCTNAME - Advanced, select the Java runtime environment you want to have used by %PRODUCTNAME.";
36 WarningBox WARNINGBOX_INVALIDJAVASETTINGS
39 DefButton = WB_DEF_OK ;
40 Message[ en-US ] ="The %PRODUCTNAME configuration has been changed. Under Tools - Options - %PRODUCTNAME - Advanced, select the Java runtime environment you want to have used by %PRODUCTNAME.";
43 QueryBox QBX_JAVADISABLED
45 Buttons = WB_YES_NO_CANCEL ;
46 DefButton = WB_DEF_YES ;
47 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?";
50 ErrorBox ERRORBOX_JVMCREATIONFAILED_MAC
53 DefButton = WB_DEF_OK ;
54 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 %PRODUCTNAME - Preferences - %PRODUCTNAME - Advanced.";
57 ErrorBox ERRORBOX_JVMCREATIONFAILED
60 DefButton = WB_DEF_OK ;
61 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 - Advanced.";
65 String STR_WARNING_JAVANOTFOUND
67 Text[ en-US ] = "JRE Required" ;
70 String STR_WARNING_INVALIDJAVASETTINGS
72 Text[ en-US ] = "Select JRE";
75 String STR_QUESTION_JAVADISABLED
77 Text[ en-US ] = "Enable JRE" ;
81 String STR_ERROR_JVMCREATIONFAILED
83 Text[ en-US ] = "JRE is Defective" ;
86 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */