summaryrefslogtreecommitdiff
path: root/cui/source/options/optinet2.src
blob: e20f6d1af6e98f797d44073643716a866b0cbb8f (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
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include <sfx2/sfx.hrc>
#include "helpid.hrc"
#include <cuires.hrc>
#include "optinet2.hrc"

/************************************************************************/
/*                                                                      */
/*  Proxy server                                                        */
/*                                                                      */
/************************************************************************/

TabPage RID_SVXPAGE_INET_PROXY
{
    HelpId = HID_OPTIONS_PROXY ;
    OutputSize = TRUE ;
    Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
    SVLook = TRUE ;
    Hide = TRUE ;
    Text [ en-US ] = "Proxy" ;
                                    #define GB_TYPES_TOP 3
                                    #define GB_TYPES_LEFT 6
    FixedLine GB_SETTINGS
    {
        Pos = MAP_APPFONT ( GB_TYPES_LEFT , GB_TYPES_TOP ) ;
        Size = MAP_APPFONT ( 248 , 8 ) ;
        Text [ en-US ] = "Settings" ;
    };
    FixedText FT_PROXYMODE
    {
        Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 13 ) ;
        Size = MAP_APPFONT ( 50 , 8 ) ;
        Text [ en-US ] = "Proxy s~erver" ;
    };
    ListBox LB_PROXYMODE
    {
        HelpID = "cui:ListBox:RID_SVXPAGE_INET_PROXY:LB_PROXYMODE";
        Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 11 ) ;
        Size = MAP_APPFONT ( 49 , 48 ) ;
        Border = TRUE ;
        DropDown = TRUE ;
        StringList [ en-US ] =
        {
            < "None" ; > ;
            < "System" ; > ;
            < "Manual" ; > ;
        };
    };
    String ST_PROXY_FROM_BROWSER
    {
        Text [ en-US ] = "Use browser settings";
    };
    FixedText FT_HTTP_PROXY
    {
        Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 29 ) ;
        Size = MAP_APPFONT ( 50 , 8 ) ;
        Text [ en-US ] = "HT~TP proxy" ;
    };
    Edit ED_HTTP_PROXY
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_HTTP_PROXY";
        Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 27 ) ;
        Size = MAP_APPFONT ( 123 , 12 ) ;
        Border = TRUE ;
    };

    #define FT_PORT_WIDTH       37
    #define ED_PORT_WIDTH       20
    #define ED_PORT_COL         229

    FixedText FT_HTTP_PORT
    {
        Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 29 ) ;
        Size = MAP_APPFONT ( FT_PORT_WIDTH , 8 ) ;
        Right = TRUE;
        Text [ en-US ] = "~Port" ;
    };
    Edit ED_HTTP_PORT
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_HTTP_PORT";
        Pos = MAP_APPFONT ( ED_PORT_COL , GB_TYPES_TOP + 27 ) ;
        Size = MAP_APPFONT ( ED_PORT_WIDTH , 12 ) ;
        Border = TRUE ;
    };

    FixedText FT_HTTPS_PROXY
    {
        Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 45 ) ;
        Size = MAP_APPFONT ( 50 , 8 ) ;
        Text [ en-US ] = "HTTP~S proxy" ;
    };
    Edit ED_HTTPS_PROXY
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_HTTPS_PROXY";
        Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 43 ) ;
        Size = MAP_APPFONT ( 123 , 12 ) ;
        Border = TRUE ;
    };
    FixedText FT_HTTPS_PORT
    {
        Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 45 ) ;
        Size = MAP_APPFONT ( FT_PORT_WIDTH , 8 ) ;
        Right = TRUE;
        Text [ en-US ] = "P~ort" ;
    };
    Edit ED_HTTPS_PORT
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_HTTPS_PORT";
        Pos = MAP_APPFONT ( ED_PORT_COL , GB_TYPES_TOP + 43 ) ;
        Size = MAP_APPFONT ( ED_PORT_WIDTH , 12 ) ;
        Border = TRUE ;
    };

    FixedText FT_FTP_PROXY
    {
        Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 61 ) ;
        Size = MAP_APPFONT ( 50 , 8 ) ;
        Text [ en-US ] = "~FTP proxy" ;
    };
    Edit ED_FTP_PROXY
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_FTP_PROXY";
        Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 59 ) ;
        Size = MAP_APPFONT ( 123 , 12 ) ;
        Border = TRUE ;
    };
    FixedText FT_FTP_PORT
    {
        Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 61 ) ;
        Size = MAP_APPFONT ( FT_PORT_WIDTH , 8 ) ;
        Right = TRUE;
        Text [ en-US ] = "P~ort" ;
    };
    Edit ED_FTP_PORT
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_FTP_PORT";
        Pos = MAP_APPFONT ( ED_PORT_COL , GB_TYPES_TOP + 59 ) ;
        Size = MAP_APPFONT ( ED_PORT_WIDTH , 12 ) ;
        Border = TRUE ;
    };
    FixedText FT_SOCKS_PROXY
    {
        Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 77 ) ;
        Size = MAP_APPFONT ( 50 , 10 ) ;
        Text [ en-US ] = "~SOCKS proxy" ;
    };
    Edit ED_SOCKS_PROXY
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_SOCKS_PROXY";
        Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 75 ) ;
        Size = MAP_APPFONT ( 123 , 12 ) ;
        Border = TRUE ;
    };
    FixedText FT_SOCKS_PORT
    {
        Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 77 ) ;
        Size = MAP_APPFONT ( FT_PORT_WIDTH , 8 ) ;
        Right = TRUE;
        Text [ en-US ] = "Po~rt" ;
    };
    Edit ED_SOCKS_PORT
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_SOCKS_PORT";
        Pos = MAP_APPFONT ( ED_PORT_COL , GB_TYPES_TOP + 75 ) ;
        Size = MAP_APPFONT ( ED_PORT_WIDTH , 12 ) ;
        Border = TRUE ;
    };
    FixedText FT_NOPROXYFOR
    {
        Pos = MAP_APPFONT ( 12 , GB_TYPES_TOP + 93 ) ;
        Size = MAP_APPFONT ( 50 , 8 ) ;
        Text [ en-US ] = "~No proxy for:" ;
    };
    Edit ED_NOPROXYFOR
    {
        HelpID = "cui:Edit:RID_SVXPAGE_INET_PROXY:ED_NOPROXYFOR";
        Pos = MAP_APPFONT ( 65 , GB_TYPES_TOP + 91 ) ;
        Size = MAP_APPFONT ( 123 , 12 ) ;
        Border = TRUE ;
    };
    FixedText ED_NOPROXYDESC
    {
        Pos = MAP_APPFONT ( 190 , GB_TYPES_TOP + 93 ) ;
        Size = MAP_APPFONT ( 56 , 8 ) ;
        Text [ en-US ] = "Separator ;" ;
    };
};

ErrorBox RID_SVXERR_OPT_PROXYPORTS
{
    BUTTONS = WB_OK ;
    Message [ en-US ] = "Invalid value!\n\nThe maximum value for a port number is 65535.";
};

// RID_SVXDLG_OPT_JAVASCRIPT_DISABLE -----------------------------------------

ModalDialog RID_SVXDLG_OPT_JAVASCRIPT_DISABLE
{
    HelpID = "cui:ModalDialog:RID_SVXDLG_OPT_JAVASCRIPT_DISABLE";
    OutputSize = TRUE;
    Size = MAP_APPFONT( 150, 81 );
    Moveable = TRUE;
    Closeable = TRUE;
    FixedImage IMG_JSCPT_WARNING
    {
        Pos = MAP_APPFONT( 6, 6 );
        Size = MAP_APPFONT( 30, 30 );
    };
    FixedText FT_JSCPT_WARNING
    {
        Pos = MAP_APPFONT( 39, 6 );
        Size = MAP_APPFONT( 195, 36 );
        WordBreak = TRUE;
        Text [ en-US ] = "Please note that with Java\nyou disable Javascript as well.\n\nDo you still want to disable Java?";
    };
    CheckBox CB_JSCPT_DISABLE
    {
        HelpID = "cui:CheckBox:RID_SVXDLG_OPT_JAVASCRIPT_DISABLE:CB_JSCPT_DISABLE";
        Pos = MAP_APPFONT( 39, 45 );
        Size = MAP_APPFONT( 195, 12 );
        Hide = TRUE;
        Text [ en-US ] = "~Don't show warning again";
    };
    OKButton BTN_JSCPT_YES
    {
        Pos = MAP_APPFONT( 41, 61 );
        Size = MAP_APPFONT( 50, 14 );
    };
    CancelButton BTN_JSCPT_NO
    {
        Pos = MAP_APPFONT( 94, 61 );
        Size = MAP_APPFONT( 50, 14 );
        DefButton = TRUE;
    };
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */