1*158fda6aSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*158fda6aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*158fda6aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*158fda6aSAndrew Rist * distributed with this work for additional information
6*158fda6aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*158fda6aSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*158fda6aSAndrew Rist * "License"); you may not use this file except in compliance
9*158fda6aSAndrew Rist * with the License.  You may obtain a copy of the License at
10*158fda6aSAndrew Rist *
11*158fda6aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*158fda6aSAndrew Rist *
13*158fda6aSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*158fda6aSAndrew Rist * software distributed under the License is distributed on an
15*158fda6aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*158fda6aSAndrew Rist * KIND, either express or implied.  See the License for the
17*158fda6aSAndrew Rist * specific language governing permissions and limitations
18*158fda6aSAndrew Rist * under the License.
19*158fda6aSAndrew Rist *
20*158fda6aSAndrew Rist *************************************************************/
21*158fda6aSAndrew Rist
22*158fda6aSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "dp_gui.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweirWarningBox RID_WARNINGBOX_VERSION_LESS {
27cdf0e10cSrcweir    Buttons = WB_OK_CANCEL;
28cdf0e10cSrcweir    DefButton = WB_DEF_CANCEL;
29cdf0e10cSrcweir    Message[en-US] = "You are about to install version $NEW of the extension \'$NAME\'.\n"
30cdf0e10cSrcweir    "The newer version $DEPLOYED is already installed.\n"
31cdf0e10cSrcweir    "Click \'OK\' to replace the installed extension.\n"
32cdf0e10cSrcweir    "Click \'Cancel\' to stop the installation.";
33cdf0e10cSrcweir};
34cdf0e10cSrcweir
35cdf0e10cSrcweirString RID_STR_WARNINGBOX_VERSION_LESS_DIFFERENT_NAMES {
36cdf0e10cSrcweir    Text [en-US] = "You are about to install version $NEW of the extension \'$NAME\'.\n"
37cdf0e10cSrcweir    "The newer version $DEPLOYED, named \'$OLDNAME\', is already installed.\n"
38cdf0e10cSrcweir    "Click \'OK\' to replace the installed extension.\n"
39cdf0e10cSrcweir    "Click \'Cancel\' to stop the installation.";
40cdf0e10cSrcweir};
41cdf0e10cSrcweir
42cdf0e10cSrcweirWarningBox RID_WARNINGBOX_VERSION_EQUAL {
43cdf0e10cSrcweir    Buttons = WB_OK_CANCEL;
44cdf0e10cSrcweir    DefButton = WB_DEF_CANCEL;
45cdf0e10cSrcweir    Message[en-US] = "You are about to install version $NEW of the extension \'$NAME\'.\n"
46cdf0e10cSrcweir    "That version is already installed.\n"
47cdf0e10cSrcweir    "Click \'OK\' to replace the installed extension.\n"
48cdf0e10cSrcweir    "Click \'Cancel\' to stop the installation.";
49cdf0e10cSrcweir};
50cdf0e10cSrcweir
51cdf0e10cSrcweirString RID_STR_WARNINGBOX_VERSION_EQUAL_DIFFERENT_NAMES {
52cdf0e10cSrcweir    Text [en-US] = "You are about to install version $NEW of the extension \'$NAME\'.\n"
53cdf0e10cSrcweir    "That version, named \'$OLDNAME\', is already installed.\n"
54cdf0e10cSrcweir    "Click \'OK\' to replace the installed extension.\n"
55cdf0e10cSrcweir    "Click \'Cancel\' to stop the installation.";
56cdf0e10cSrcweir};
57cdf0e10cSrcweir
58cdf0e10cSrcweirWarningBox RID_WARNINGBOX_VERSION_GREATER {
59cdf0e10cSrcweir    Buttons = WB_OK_CANCEL;
60cdf0e10cSrcweir    DefButton = WB_DEF_OK;
61cdf0e10cSrcweir    Message[en-US] = "You are about to install version $NEW of the extension \'$NAME\'.\n"
62cdf0e10cSrcweir    "The older version $DEPLOYED is already installed.\n"
63cdf0e10cSrcweir    "Click \'OK\' to replace the installed extension.\n"
64cdf0e10cSrcweir    "Click \'Cancel\' to stop the installation.";
65cdf0e10cSrcweir};
66cdf0e10cSrcweir
67cdf0e10cSrcweirString RID_STR_WARNINGBOX_VERSION_GREATER_DIFFERENT_NAMES {
68cdf0e10cSrcweir    TEXT [en-US] = "You are about to install version $NEW of the extension \'$NAME\'.\n"
69cdf0e10cSrcweir    "The older version $DEPLOYED, named \'$OLDNAME\', is already installed.\n"
70cdf0e10cSrcweir    "Click \'OK\' to replace the installed extension.\n"
71cdf0e10cSrcweir    "Click \'Cancel\' to stop the installation.";
72cdf0e10cSrcweir};