summaryrefslogtreecommitdiff
path: root/cui/source/options/optjava.src
blob: b1cce0a3e50b74231620a8119c51e7863f0d8c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: optjava.src,v $
 * $Revision: 1.10 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

 // include --------------------------------------------------------------

#include "optjava.hrc"
#include <cuires.hrc>
#include "helpid.hrc"

// RID_SVXPAGE_OPTIONS_JAVA ----------------------------------------------

TabPage RID_SVXPAGE_OPTIONS_JAVA
{
    HelpId = HID_OPTIONS_JAVA ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Hide = TRUE ;
    Size = MAP_APPFONT ( 260 , 185 ) ;
    Text [ en-US ] = "Java" ;

    FixedLine FL_JAVA
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Java options" ;
    };
    CheckBox CB_JAVA_ENABLE
    {
        Pos = MAP_APPFONT ( 12, 14 ) ;
        Size = MAP_APPFONT ( 242 , 10 ) ;
        Text [ en-US ] = "~Use a Java runtime environment" ;
    };
    FixedText FT_JAVA_FOUND
    {
        Pos = MAP_APPFONT ( 21 , 27 ) ;
        Size = MAP_APPFONT ( 233 , 8 ) ;
        Text [ en-US ] = "~Java runtime environments (JRE) already installed:" ;
    };
    Control LB_JAVA
    {
        Pos = MAP_APPFONT ( 21 , 38 ) ;
        Size = MAP_APPFONT ( 177 , 130 ) ;
        Border = TRUE ;
        TabStop = TRUE ;
    };
    FixedText FT_JAVA_PATH
    {
        Pos = MAP_APPFONT ( 21 , 171 ) ;
        Size = MAP_APPFONT ( 233 , 8 ) ;
        NoLabel = TRUE ;
    };
    PushButton PB_ADD
    {
        Pos = MAP_APPFONT ( 204 , 38 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Add..." ;
    };
    PushButton PB_PARAMETER
    {
        Pos = MAP_APPFONT ( 204 , 55 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Parameters..." ;
    };
    PushButton PB_CLASSPATH
    {
        Pos = MAP_APPFONT ( 204 , 72 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Class Path..." ;
    };
    String STR_INSTALLED_IN
    {
        Text [ en-US ] = "Location: " ;
    };
    String STR_ACCESSIBILITY
    {
        Text [ en-US ] = "with accessibility support" ;
    };
    String STR_ADDDLGTEXT
    {
        Text [ en-US ] = "Select a Java Runtime Environment" ;
    };
    String STR_HEADER_VENDOR
    {
        Text [ en-US ] = "Vendor" ;
    };
    String STR_HEADER_VERSION
    {
        Text [ en-US ] = "Version" ;
    };
    String STR_HEADER_FEATURES
    {
        Text [ en-US ] = "Features" ;
    };
};

// RID_SVXDLG_JAVA_PARAMETER ---------------------------------------------

ModalDialog RID_SVXDLG_JAVA_PARAMETER
{
    HelpId = HID_OPTIONS_JAVA_PARAMETER ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 270 , 140 ) ;
    Text [ en-US ] = "Java Start Parameters" ;
    Moveable = TRUE ;
    FixedText FT_PARAMETER
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 202 , 8 ) ;
        Text [ en-US ] = "Java start ~parameter" ;
    };
    Edit ED_PARAMETER
    {
        Pos = MAP_APPFONT ( 6 , 15 ) ;
        Size = MAP_APPFONT ( 202 , 12 ) ;
        Border = TRUE ;
    };
    PushButton PB_ASSIGN
    {
        Pos = MAP_APPFONT ( 214 , 14 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Assign" ;
    };
    FixedText FT_ASSIGNED
    {
        Pos = MAP_APPFONT ( 6 , 31 ) ;
        Size = MAP_APPFONT ( 202 , 8 ) ;
        Text [ en-US ] = "Assig~ned start parameters" ;
    };
    ListBox LB_ASSIGNED
    {
        Border = TRUE ;
        Pos = MAP_APPFONT ( 6 , 42 ) ;
        Size = MAP_APPFONT ( 202 , 53 ) ;
        AutoHScroll = TRUE ;
    };
    FixedText FT_EXAMPLE
    {
        Pos = MAP_APPFONT ( 6 , 98 ) ;
        Size = MAP_APPFONT ( 202 , 8 ) ;
        Text [ en-US ] = "For example: -Dmyprop=c:\\program files\\java" ;
    };
    PushButton PB_REMOVE
    {
        Pos = MAP_APPFONT ( 214 , 42 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Remove" ;
    };
    FixedLine FL_BUTTONS
    {
        Pos = MAP_APPFONT ( 3 , 109 ) ;
        Size = MAP_APPFONT ( 264 , 8 ) ;
    };
    OKButton PB_PARAMETER_OK
    {
        Pos = MAP_APPFONT ( 105 , 120 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        DefButton = TRUE ;
    };
    CancelButton PB_PARAMETER_ESC
    {
        Pos = MAP_APPFONT ( 158 , 120 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
    HelpButton PB_PARAMETER_HLP
    {
        Pos = MAP_APPFONT ( 214 , 120 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
};

// RID_SVXDLG_JAVA_CLASSPATH ---------------------------------------------

ModalDialog RID_SVXDLG_JAVA_CLASSPATH
{
    HelpId = HID_OPTIONS_JAVA_CLASSPATH ;
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 240 , 120 ) ;
    Text [ en-US ] = "Class Path" ;
    Moveable = TRUE ;
    FixedText FT_PATH
    {
        Pos = MAP_APPFONT ( 6 , 3 ) ;
        Size = MAP_APPFONT ( 172 , 8 ) ;
        Text [ en-US ] = "A~ssigned folders and archives" ;
    };
    ListBox LB_PATH
    {
        Pos = MAP_APPFONT ( 6 , 14 ) ;
        Size = MAP_APPFONT ( 172 , 72 ) ;
        Border = TRUE ;
        AutoHScroll = TRUE ;
    };
    PushButton PB_ADDARCHIVE
    {
        Pos = MAP_APPFONT ( 184 , 14 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Add Archive..." ;
    };
    PushButton PB_ADDPATH
    {
        Pos = MAP_APPFONT ( 184 , 31 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "Add ~Folder" ;
    };
    PushButton PB_REMOVE_PATH
    {
        Pos = MAP_APPFONT ( 184 , 48 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Remove" ;
    };
    FixedLine FL_PATH_BUTTONS
    {
        Pos = MAP_APPFONT ( 3 , 89 ) ;
        Size = MAP_APPFONT ( 236 , 8 ) ;
    };
    OKButton PB_PATH_OK
    {
        Pos = MAP_APPFONT ( 75 , 100 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        DefButton = TRUE ;
    };
    CancelButton PB_PATH_ESC
    {
        Pos = MAP_APPFONT ( 128 , 100 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
    HelpButton PB_PATH_HLP
    {
        Pos = MAP_APPFONT ( 186 , 100 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
    };
};

ErrorBox RID_SVXERR_JRE_NOT_RECOGNIZED
{
    BUTTONS = WB_OK ;
    DEFBUTTON = WB_DEF_OK ;
    Message [ en-US ] = "The folder you selected does not contain a Java runtime environment.\nPlease select a different folder." ;
};

ErrorBox RID_SVXERR_JRE_FAILED_VERSION
{
    BUTTONS = WB_OK ;
    DEFBUTTON = WB_DEF_OK ;
    Message [ en-US ] = "The Java runtime environment you selected is not the required version.\nPlease select a different folder." ;
};

WarningBox RID_SVX_MSGBOX_JAVA_RESTART
{
    BUTTONS = WB_OK ;
    DEFBUTTON = WB_DEF_OK ;
    Message [ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted.\nPlease restart %PRODUCTNAME now." ;
};

WarningBox RID_SVX_MSGBOX_JAVA_RESTART2
{
    BUTTONS = WB_OK ;
    DEFBUTTON = WB_DEF_OK ;
    Message [ en-US ] = "You have to restart %PRODUCTNAME so the new or modified values can take effect.\nPlease restart %PRODUCTNAME now." ;
};