1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: optinet2.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 // include ------------------------------------------------------------------
31 #include <sfx2/sfx.hrc>
33 #include <svx/dialogs.hrc>
34 #include "optinet2.hrc"
35 // pragma -------------------------------------------------------------------
37 /************************************************************************/
41 /************************************************************************/
43 // added by jmeng begin
45 TabPage RID_SVXPAGE_INET_MOZPLUGIN
48 Size = MAP_APPFONT ( 260 , 185 ) ;
52 FixedLine GB_MOZPLUGIN
54 Pos = MAP_APPFONT ( 6 , 3 ) ;
55 Size = MAP_APPFONT ( 248 , 8 ) ;
56 Text[ en-US ] = "Browser Plug-in";
58 CheckBox CB_MOZPLUGIN_CODE
60 Pos = MAP_APPFONT ( 12 , 14 ) ;
61 Size = MAP_APPFONT ( 236 , 10 ) ;
63 Text [ en-US ] = "~Display documents in browser" ;
69 TabPage RID_SVXPAGE_INET_PROXY
71 HelpId = HID_OPTIONS_PROXY ;
73 Size = MAP_APPFONT ( 260 , 185 ) ;
76 Text [ en-US ] = "Proxy" ;
77 #define GB_TYPES_TOP 3
78 #define GB_TYPES_LEFT 6
81 Pos = MAP_APPFONT ( GB_TYPES_LEFT , GB_TYPES_TOP ) ;
82 Size = MAP_APPFONT ( 248 , 8 ) ;
83 Text [ en-US ] = "Settings" ;
85 FixedText FT_PROXYMODE
87 Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 13 ) ;
88 Size = MAP_APPFONT ( 50 , 8 ) ;
89 Text [ en-US ] = "Proxy s~erver" ;
93 Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 11 ) ;
94 Size = MAP_APPFONT ( 49 , 48 ) ;
97 StringList [ en-US ] =
104 String ST_PROXY_FROM_BROWSER
106 Text [ en-US ] = "Use browser settings";
108 FixedText FT_HTTP_PROXY
110 Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 29 ) ;
111 Size = MAP_APPFONT ( 50 , 8 ) ;
112 Text [ en-US ] = "HT~TP proxy" ;
116 Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 27 ) ;
117 Size = MAP_APPFONT ( 123 , 12 ) ;
121 #define FT_PORT_WIDTH 37
122 #define ED_PORT_WIDTH 20
123 #define ED_PORT_COL 229
125 FixedText FT_HTTP_PORT
127 Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 29 ) ;
128 Size = MAP_APPFONT ( FT_PORT_WIDTH , 8 ) ;
130 Text [ en-US ] = "~Port" ;
134 Pos = MAP_APPFONT ( ED_PORT_COL , GB_TYPES_TOP + 27 ) ;
135 Size = MAP_APPFONT ( ED_PORT_WIDTH , 12 ) ;
139 FixedText FT_HTTPS_PROXY
141 Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 45 ) ;
142 Size = MAP_APPFONT ( 50 , 8 ) ;
143 Text [ en-US ] = "HTTP~S proxy" ;
147 Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 43 ) ;
148 Size = MAP_APPFONT ( 123 , 12 ) ;
151 FixedText FT_HTTPS_PORT
153 Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 45 ) ;
154 Size = MAP_APPFONT ( FT_PORT_WIDTH , 8 ) ;
156 Text [ en-US ] = "P~ort" ;
160 Pos = MAP_APPFONT ( ED_PORT_COL , GB_TYPES_TOP + 43 ) ;
161 Size = MAP_APPFONT ( ED_PORT_WIDTH , 12 ) ;
165 FixedText FT_FTP_PROXY
167 Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 61 ) ;
168 Size = MAP_APPFONT ( 50 , 8 ) ;
169 Text [ en-US ] = "~FTP proxy" ;
173 Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 59 ) ;
174 Size = MAP_APPFONT ( 123 , 12 ) ;
177 FixedText FT_FTP_PORT
179 Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 61 ) ;
180 Size = MAP_APPFONT ( FT_PORT_WIDTH , 8 ) ;
182 Text [ en-US ] = "P~ort" ;
186 Pos = MAP_APPFONT ( ED_PORT_COL , GB_TYPES_TOP + 59 ) ;
187 Size = MAP_APPFONT ( ED_PORT_WIDTH , 12 ) ;
190 FixedText FT_SOCKS_PROXY
192 Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 77 ) ;
193 Size = MAP_APPFONT ( 50 , 10 ) ;
194 Text [ en-US ] = "~SOCKS proxy" ;
198 Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 75 ) ;
199 Size = MAP_APPFONT ( 123 , 12 ) ;
202 FixedText FT_SOCKS_PORT
204 Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 77 ) ;
205 Size = MAP_APPFONT ( FT_PORT_WIDTH , 8 ) ;
207 Text [ en-US ] = "Po~rt" ;
211 Pos = MAP_APPFONT ( ED_PORT_COL , GB_TYPES_TOP + 75 ) ;
212 Size = MAP_APPFONT ( ED_PORT_WIDTH , 12 ) ;
215 FixedText FT_NOPROXYFOR
217 Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 93 ) ;
218 Size = MAP_APPFONT ( 50 , 8 ) ;
219 Text [ en-US ] = "~No proxy for:" ;
223 Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 91 ) ;
224 Size = MAP_APPFONT ( 123 , 12 ) ;
227 FixedText ED_NOPROXYDESC
229 Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 93 ) ;
230 Size = MAP_APPFONT ( 56 , 8 ) ;
231 Text [ en-US ] = "Separator ;" ;
235 Pos = MAP_APPFONT( 6, 100 );
236 Size = MAP_APPFONT( 248, 8 );
237 Text [ en-US ] = "DNS server" ;
239 RadioButton RB_DNS_AUTO
241 Pos = MAP_APPFONT( 12, 111 );
242 Size = MAP_APPFONT( 236, 10 );
243 Text [ en-US ] = "~Automatic" ;
245 RadioButton RB_DNS_MANUAL
247 Pos = MAP_APPFONT( 12, 124 );
248 Size = MAP_APPFONT( 75, 10 );
249 Text [ en-US ] = "~Manual" ;
253 Pos = MAP_APPFONT( 90, 126 );
254 Size = MAP_APPFONT( 66, 12 );
256 LiteralMask = " . . . " ;
257 EditMask = "nnnLnnnLnnnLnnn" ;
258 StrictFormat = TRUE ;
262 Text [ en-US ] = "is not a valid entry for this field. Please specify a value between 0 and 255." ;
266 Text [ en-US ] = "is not a valid entry for this field. Please specify a value between 1 and 255." ;
269 /************************************************************************/
273 /************************************************************************/
274 TabPage RID_SVXPAGE_INET_SEARCH
276 HelpId = HID_OPTIONS_SEARCH ;
278 Size = MAP_APPFONT ( 260 , 185 ) ;
281 Text [ en-US ] = "Search" ;
283 #define GB_SEARCH_LEFT 6
284 #define GB_SEARCH_TOP 3
287 Pos = MAP_APPFONT ( GB_SEARCH_LEFT , GB_SEARCH_TOP ) ;
288 Size = MAP_APPFONT ( 248 , 8 ) ;
289 Text [ en-US ] = "Search in" ;
293 Pos = MAP_APPFONT ( 12 , GB_SEARCH_TOP + 11 ) ;
294 Size = MAP_APPFONT ( 39 , 120 ) ;
298 #define LABEL_START_XPOS (GB_SEARCH_LEFT + 6 + 39 + 5 )
300 #define EDIT_START_XPOS (LABEL_START_XPOS + LABEL_LEN + 3)
301 FixedText FT_SEARCH_NAME
303 Pos = MAP_APPFONT ( LABEL_START_XPOS , GB_SEARCH_TOP + 13 ) ;
304 Size = MAP_APPFONT ( LABEL_LEN , 8 ) ;
305 Text [ en-US ] = "~Name" ;
309 Pos = MAP_APPFONT ( EDIT_START_XPOS , GB_SEARCH_TOP + 11 ) ;
310 Size = MAP_APPFONT ( 125 , 12 ) ;
315 Pos = MAP_APPFONT ( LABEL_START_XPOS , GB_SEARCH_TOP + 27 ) ;
316 Size = MAP_APPFONT ( LABEL_LEN , 8 ) ;
317 Text [ en-US ] = "Type" ;
321 Pos = MAP_APPFONT ( EDIT_START_XPOS , GB_SEARCH_TOP + 26 ) ;
322 Size = MAP_APPFONT ( 125 , 10 ) ;
324 Text [ en-US ] = "And" ;
328 Pos = MAP_APPFONT ( EDIT_START_XPOS , GB_SEARCH_TOP + 39 ) ;
329 Size = MAP_APPFONT ( 125 , 10 ) ;
330 Text [ en-US ] = "~Or" ;
334 Pos = MAP_APPFONT ( EDIT_START_XPOS , GB_SEARCH_TOP + 52 ) ;
335 Size = MAP_APPFONT ( 125 , 10 ) ;
336 Text [ en-US ] = "E~xact" ;
340 Pos = MAP_APPFONT ( LABEL_START_XPOS , GB_SEARCH_TOP + 67 ) ;
341 Size = MAP_APPFONT ( LABEL_LEN , 8 ) ;
342 Text [ en-US ] = "~Prefix" ;
346 Pos = MAP_APPFONT ( EDIT_START_XPOS , GB_SEARCH_TOP + 65 ) ;
347 Size = MAP_APPFONT ( 125 , 12 ) ;
352 Pos = MAP_APPFONT ( LABEL_START_XPOS , GB_SEARCH_TOP + 82 ) ;
353 Size = MAP_APPFONT ( LABEL_LEN , 8 ) ;
354 Text [ en-US ] = "Su~ffix" ;
358 Pos = MAP_APPFONT ( EDIT_START_XPOS , GB_SEARCH_TOP + 80 ) ;
359 Size = MAP_APPFONT ( 125 , 12 ) ;
362 FixedText FT_SEPARATOR
364 Pos = MAP_APPFONT ( LABEL_START_XPOS , GB_SEARCH_TOP + 97 ) ;
365 Size = MAP_APPFONT ( LABEL_LEN , 8 ) ;
366 Text [ en-US ] = "~Separator" ;
370 Pos = MAP_APPFONT ( EDIT_START_XPOS , GB_SEARCH_TOP + 95 ) ;
371 Size = MAP_APPFONT ( 42 , 12 ) ;
376 Pos = MAP_APPFONT ( LABEL_START_XPOS, GB_SEARCH_TOP + 112 ) ;
377 Size = MAP_APPFONT ( LABEL_LEN , 8 ) ;
378 Text [ en-US ] = "~Case match" ;
382 Pos = MAP_APPFONT ( EDIT_START_XPOS, GB_SEARCH_TOP + 110 ) ;
383 Size = MAP_APPFONT ( 42 , 48 ) ;
386 StringList [ en-US ] =
395 Pos = MAP_APPFONT ( 39 , GB_SEARCH_TOP + 131 + 6 ) ;
396 Size = MAP_APPFONT ( 50 , 14 ) ;
397 Text [ en-US ] = "N~ew";
401 Pos = MAP_APPFONT ( 92 , GB_SEARCH_TOP + 131 + 6 ) ;
402 Size = MAP_APPFONT ( 50 , 14 ) ;
403 Text [ en-US ] = "~Add" ;
407 Pos = MAP_APPFONT ( 145 , GB_SEARCH_TOP + 131 + 6 ) ;
408 Size = MAP_APPFONT ( 50 , 14 ) ;
409 Text [ en-US ] = "~Modify" ;
413 Pos = MAP_APPFONT ( 198 , GB_SEARCH_TOP + 131 + 6 ) ;
414 Size = MAP_APPFONT ( 50 , 14 ) ;
415 Text [ en-US ] = "~Delete" ;
419 Text [ en-US ] = "Do you want to accept the current modification?";
424 /************************************************************************/
428 /************************************************************************/
430 TabPage RID_SVXPAGE_INET_SECURITY
433 Size = MAP_APPFONT( TP_WIDTH , TP_HEIGHT );
436 Text [ en-US ] = "Security";
437 FixedLine FL_SEC_SECURITYOPTIONS
439 Pos = MAP_APPFONT( COL_0, ROW_0 );
440 Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT );
441 Text [ en-US ] = "Security options and warnings";
443 FixedText FI_SEC_SECURITYOPTIONS
445 Pos = MAP_APPFONT( COL_1, ROW_1 );
446 Size = MAP_APPFONT( COL_2-COL_1, 3*RSC_CD_FIXEDLINE_HEIGHT );
448 Text [ en-US ] = "Adjust security related options and define warnings for hidden information in documents.";
450 PushButton PB_SEC_SECURITYOPTIONS
452 Pos = MAP_APPFONT( COL_3, ROW_2a );
453 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
454 Text [ en-US ] = "Options...";
456 FixedLine FL_SEC_PASSWORDS
458 Pos = MAP_APPFONT( COL_0, ROW_2 - 2 );
459 Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT );
460 Text [ en-US ] = "Passwords for web connections";
462 CheckBox CB_SEC_SAVEPASSWORDS
464 Pos = MAP_APPFONT( COL_1, ROW_3 - 4 );
465 Size = MAP_APPFONT( COL_2-COL_1, 16 );
467 Text [ en-US ] = "Persistently save passwords for web connections";
469 PushButton PB_SEC_CONNECTIONS
471 Pos = MAP_APPFONT( COL_3, ROW_3-1 );
472 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
473 Text [ en-US ] = "Connections...";
475 CheckBox CB_SEC_MASTERPASSWORD
477 Pos = MAP_APPFONT( COL_1a, ROW_4 );
478 Size = MAP_APPFONT( COL_2-COL_1a, RSC_CD_CHECKBOX_HEIGHT );
479 Text [ en-US ] = "Protected by a master password (recommended)";
481 FixedText FI_SEC_MASTERPASSWORD
483 Pos = MAP_APPFONT( COL_1a, ROW_4a );
484 Size = MAP_APPFONT( COL_2-COL_1a, 4*RSC_CD_FIXEDLINE_HEIGHT );
486 Text [ en-US ] = "Passwords are protected by a master password. You will be asked to enter it once per session, if %PRODUCTNAME retrieves a password from the protected password list.";
488 PushButton PB_SEC_MASTERPASSWORD
490 Pos = MAP_APPFONT( COL_3, ROW_4a );
491 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
492 Text [ en-US ] = "Master Password...";
494 FixedLine FL_SEC_MACROSEC
496 Pos = MAP_APPFONT( COL_0, ROW_5 );
497 Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT );
498 Text [ en-US ] = "Macro security";
500 FixedText FI_SEC_MACROSEC
502 Pos = MAP_APPFONT( COL_1, ROW_6 );
503 Size = MAP_APPFONT( COL_2-COL_1, 3*RSC_CD_FIXEDLINE_HEIGHT );
505 Text [ en-US ] = "Adjust the security level for executing macros and specify trusted macro developers.";
507 PushButton PB_SEC_MACROSEC
509 Pos = MAP_APPFONT( COL_3, ROW_6-2 );
510 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
511 Text [ en-US ] = "Macro Security...";
513 FixedLine FL_SEC_FILESHARING
515 Pos = MAP_APPFONT( COL_0, ROW_7 );
516 Size = MAP_APPFONT( COL_4-COL_0, RSC_CD_FIXEDLINE_HEIGHT );
517 Text [ en-US ] = "File sharing options for this document";
519 CheckBox CB_SEC_RECOMMREADONLY
521 Pos = MAP_APPFONT( COL_1, ROW_8 );
522 Size = MAP_APPFONT( COL_2-COL_1, RSC_CD_CHECKBOX_HEIGHT );
523 Text [ en-US ] = "Open this document in read-only mode";
525 CheckBox CB_SEC_RECORDCHANGES
527 Pos = MAP_APPFONT( COL_1, ROW_9 );
528 Size = MAP_APPFONT( COL_2-COL_1, RSC_CD_CHECKBOX_HEIGHT );
529 Text [ en-US ] = "Record changes";
531 PushButton PB_SEC_PROTRECORDS
533 Pos = MAP_APPFONT( COL_3, ROW_9-2 );
534 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
536 String STR_SEC_PROTRECORDS
538 Text [ en-US ] = "Protect...";
540 String STR_SEC_UNPROTRECORDS
542 Text [ en-US ] = "Unprotect...";
544 String STR_SEC_NOPASSWDSAVE
546 Text [ en-US ] = "Disabling the function to persistently store passwords deletes the list of passwords stored and resets the master password.\n\nDo you want to delete password list and reset master password?";
550 ErrorBox RID_SVXERR_OPT_PROXYPORTS
553 Message [ en-US ] = "Invalid value!\n\nThe maximum value for a port number is 65535.";
556 // RID_SVXDLG_OPT_JAVASCRIPT_DISABLE -----------------------------------------
558 ModalDialog RID_SVXDLG_OPT_JAVASCRIPT_DISABLE
561 Size = MAP_APPFONT( 150, 81 );
564 FixedImage IMG_JSCPT_WARNING
566 Pos = MAP_APPFONT( 6, 6 );
567 Size = MAP_APPFONT( 30, 30 );
569 FixedText FT_JSCPT_WARNING
571 Pos = MAP_APPFONT( 39, 6 );
572 Size = MAP_APPFONT( 195, 36 );
574 Text [ en-US ] = "Please note that with Java\nyou disable Javascript as well.\n\nDo you still want to disable Java?";
576 CheckBox CB_JSCPT_DISABLE
578 Pos = MAP_APPFONT( 39, 45 );
579 Size = MAP_APPFONT( 195, 12 );
581 Text [ en-US ] = "~Don't show warning again";
583 OKButton BTN_JSCPT_YES
585 Pos = MAP_APPFONT( 41, 61 );
586 Size = MAP_APPFONT( 50, 14 );
588 CancelButton BTN_JSCPT_NO
590 Pos = MAP_APPFONT( 94, 61 );
591 Size = MAP_APPFONT( 50, 14 );
596 // *******************************************************************
598 TabPage RID_SVXPAGE_INET_MAIL
600 HelpID = HID_OPTIONS_MAIL ;
602 Size = MAP_APPFONT ( 260 , 185 ) ;
607 Pos = MAP_APPFONT ( 6 , 3 ) ;
608 Size = MAP_APPFONT ( 248 , 8 ) ;
609 Text [ en-US ] = "Sending documents as e-mail attachments";
612 FixedImage FI_MAILERURL
614 Pos = MAP_APPFONT ( 5 , 21 ) ;
615 Size = MAP_APPFONT ( 6 , 6 ) ;
619 FixedText FT_MAILERURL
621 Pos = MAP_APPFONT ( 14 , 20 ) ;
622 Size = MAP_APPFONT ( 43 , 8 ) ;
623 Text [ en-US ] = "~E-mail program";
628 Pos = MAP_APPFONT ( 60 , 18 ) ;
629 Size = MAP_APPFONT ( 171 , 12 ) ;
633 PushButton PB_MAILERURL
635 Pos = MAP_APPFONT ( 234 , 17 ) ;
636 Size = MAP_APPFONT ( 14 , 14 ) ;
640 String STR_DEFAULT_FILENAME
642 Text [ en-US ] = "All files (*.*)" ;
646 // ******************************************************************* EOF