xref: /trunk/main/cui/source/options/optlingu.src (revision 31d35622ee258902b338f9bfdfb2a2ed84b7bb6c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22// include ------------------------------------------------------------------
23
24#include "optlingu.hrc"
25#include "helpid.hrc"
26
27#include <svtools/controldims.hrc>
28#include <sfx2/sfx.hrc>
29#include <cuires.hrc>
30
31// RID_SVXDLG_EDIT_MODULES ---------------------------------------------------
32
33ModalDialog RID_SVXDLG_EDIT_MODULES
34{
35    HelpID = HID_EDIT_MODULES ;
36    SVLook = TRUE ;
37    Moveable = TRUE ;
38    Size = MAP_APPFONT ( 240, 197 ) ;
39    Text [ en-US ] = "Edit Modules" ;
40
41    FixedLine FL_EDIT_MODULES_OPTIONS
42    {
43        Pos = MAP_APPFONT ( RSC_SP_FLGR_INNERBORDER_LEFT, RSC_SP_FLGR_INNERBORDER_TOP ) ;
44        Size = MAP_APPFONT ( 240 - 2 * RSC_SP_FLGR_INNERBORDER_LEFT, RSC_CD_FIXEDLINE_HEIGHT ) ;
45        Text [ en-US ] = "Options" ;
46    };
47    FixedText FT_EDIT_MODULES_LANGUAGE
48    {
49        Left = TRUE ;
50        Pos = MAP_APPFONT ( 12, 16 ) ;
51        Size = MAP_APPFONT ( 68, RSC_CD_FIXEDTEXT_HEIGHT ) ;
52        Text [ en-US ] = "Language" ;
53    };
54    ListBox LB_EDIT_MODULES_LANGUAGE
55    {
56        HelpID = "cui:ListBox:RID_SVXDLG_EDIT_MODULES:LB_EDIT_MODULES_LANGUAGE" ;
57        Border = TRUE ;
58        Pos = MAP_APPFONT ( 83, 14 ) ;
59        Size = MAP_APPFONT ( 95, 80 ) ;
60        DropDown = TRUE ;
61        Sort = TRUE ;
62    };
63    Control CLB_EDIT_MODULES_MODULES
64    {
65        Pos = MAP_APPFONT ( 12, 32 ) ;
66        Size = MAP_APPFONT ( 166, 120 ) ;
67        Border = TRUE ;
68        TabStop = TRUE ;
69    };
70    PushButton PB_EDIT_MODULES_PRIO_UP
71    {
72        HelpID = "cui:PushButton:RID_SVXDLG_EDIT_MODULES:PB_EDIT_MODULES_PRIO_UP" ;
73        Pos = MAP_APPFONT ( 184, 32 ) ;
74        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
75        TabStop = TRUE ;
76        Text [ en-US ] = "Move Up" ;
77    };
78    PushButton PB_EDIT_MODULES_PRIO_DOWN
79    {
80        HelpID = "cui:PushButton:RID_SVXDLG_EDIT_MODULES:PB_EDIT_MODULES_PRIO_DOWN" ;
81        Pos = MAP_APPFONT ( 184, 49 ) ;
82        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
83        TabStop = TRUE ;
84        Text [ en-US ] = "Move Down" ;
85    };
86    PushButton PB_EDIT_MODULES_PRIO_BACK
87    {
88        HelpID = "cui:PushButton:RID_SVXDLG_EDIT_MODULES:PB_EDIT_MODULES_PRIO_BACK" ;
89        Pos = MAP_APPFONT ( 184, 66 ) ;
90        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
91        TabStop = TRUE ;
92        Text [ en-US ] = "~Back" ;
93    };
94    FixedText FT_EDIT_MODULES_NEWDICTSLINK
95    {
96        Left = TRUE ;
97        Pos = MAP_APPFONT ( 12, 155 ) ;
98        Size = MAP_APPFONT ( 169, RSC_CD_FIXEDTEXT_HEIGHT ) ;
99        Text [ en-US ] = "More dictionaries online..." ;
100    };
101    FixedLine FL_EDIT_MODULES_BUTTONS
102    {
103        Pos = MAP_APPFONT ( 0, 166 ) ;
104        Size = MAP_APPFONT ( 240, RSC_CD_FIXEDLINE_HEIGHT ) ;
105    };
106    HelpButton PB_HELP
107    {
108        Pos = MAP_APPFONT ( 12, 177 ) ;
109        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
110    };
111    OKButton PB_OK
112    {
113        Pos = MAP_APPFONT ( 184, 177 ) ;
114        Size = MAP_APPFONT ( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT ) ;
115        Text [ en-US ] = "Close" ;
116    };
117
118    String ST_SPELL
119    {
120        Text [ en-US ] = "Spelling" ;
121    };
122    String ST_HYPH
123    {
124        Text [ en-US ] = "Hyphenation" ;
125    };
126    String ST_THES
127    {
128        Text [ en-US ] = "Thesaurus" ;
129    };
130    String ST_GRAMMAR
131    {
132        Text [ en-US ] = "Grammar" ;
133    };
134};
135
136// RID_SVXDLG_LNG_ED_NUM_PREBREAK -------------------------------------------
137
138ModalDialog RID_SVXDLG_LNG_ED_NUM_PREBREAK
139{
140    HelpID = HID_LNGDLG_NUM_PREBREAK ;
141    SVLook = TRUE ;
142    Moveable = TRUE ;
143    Size = MAP_APPFONT ( 155, 43 ) ;
144    Text [ en-US ] = "Hyphenation" ;
145        FixedLine FL_NUMVAL_PREBREAK
146    {
147        Pos = MAP_APPFONT ( 6, 3 ) ;
148        Size = MAP_APPFONT ( 87, 8 ) ;
149    };
150    OKButton BT_OK_PREBREAK
151    {
152        Pos = MAP_APPFONT ( 99, 6 ) ;
153        Size = MAP_APPFONT ( 50, 14 ) ;
154        TabStop = TRUE ;
155        DefButton = TRUE ;
156    };
157    CancelButton BT_CANCEL_PREBREAK
158    {
159        Pos = MAP_APPFONT ( 99, 23 ) ;
160        Size = MAP_APPFONT ( 50, 14 ) ;
161        TabStop = TRUE ;
162    };
163    NumericField ED_PREBREAK
164    {
165        HelpID = "cui:NumericField:RID_SVXDLG_LNG_ED_NUM_PREBREAK:ED_PREBREAK" ;
166        Border = TRUE ;
167        Pos = MAP_APPFONT ( 56, 14 ) ;
168        Size = MAP_APPFONT ( 31, 12 ) ;
169        Left = TRUE ;
170        Minimum = 2 ;
171        Maximum = 9 ;
172        Last = 9 ;
173        Repeat = TRUE ;
174        Spin = TRUE ;
175        SpinSize = 1 ;
176    };
177    String STR_NUM_PRE_BREAK_DLG
178    {
179        Text [ en-US ] = "Characters before break" ;
180    };
181    String STR_NUM_POST_BREAK_DLG
182    {
183        Text [ en-US ] = "Characters after break" ;
184    };
185    String STR_NUM_MIN_WORDLEN_DLG
186    {
187        Text [ en-US ] = "Minimal word length" ;
188    };
189};
190
191// RID_SFXPAGE_LINGU --------------------------------------------------------
192
193TabPage RID_SFXPAGE_LINGU
194{
195    HelpId = HID_OPTIONS_LINGU ;
196    SVLook = TRUE ;
197    Hide = TRUE ;
198    Size = MAP_APPFONT ( 260, 185 ) ;
199    Text [ en-US ] = "Options" ;
200    FixedLine FL_LINGUISTIC
201    {
202        Pos = MAP_APPFONT ( 6, 3 ) ;
203        Size = MAP_APPFONT ( 248, 8 ) ;
204        Text [ en-US ] = "Writing aids" ;
205    };
206    FixedText FT_LINGU_MODULES
207    {
208        Left = TRUE ;
209        Pos = MAP_APPFONT ( 12, 14 ) ;
210        Size = MAP_APPFONT ( 175, 8 ) ;
211        Text [ en-US ] = "Available language modules" ;
212    };
213    Control CLB_LINGU_MODULES
214    {
215        Pos = MAP_APPFONT ( 12, 25 ) ;
216        Size = MAP_APPFONT ( 182, 30 ) ;
217        Border = TRUE ;
218        TabStop = TRUE ;
219    };
220    PushButton PB_LINGU_MODULES_EDIT
221    {
222        HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_MODULES_EDIT" ;
223        Pos = MAP_APPFONT ( 198, 25 ) ;
224        Size = MAP_APPFONT ( 50, 14 ) ;
225        TabStop = TRUE ;
226        Text [ en-US ] = "~Edit..." ;
227    };
228    FixedText FT_LINGU_DICS
229    {
230        Left = TRUE ;
231        Pos = MAP_APPFONT ( 12, 59 ) ;
232        Size = MAP_APPFONT ( 175, 8 ) ;
233        Text [ en-US ] = "User-defined dictionaries" ;
234    };
235    Control CLB_LINGU_DICS
236    {
237        Pos = MAP_APPFONT ( 12, 70 ) ;
238        Size = MAP_APPFONT ( 182, 48 ) ;
239        Border = TRUE ;
240        TabStop = TRUE ;
241    };
242    PushButton PB_LINGU_DICS_NEW_DIC
243    {
244        HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_DICS_NEW_DIC" ;
245        Pos = MAP_APPFONT ( 198, 70 ) ;
246        Size = MAP_APPFONT ( 50, 14 ) ;
247        TabStop = TRUE ;
248        Text [ en-US ] = "~New..." ;
249    };
250    PushButton PB_LINGU_DICS_EDIT_DIC
251    {
252        HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_DICS_EDIT_DIC" ;
253        Pos = MAP_APPFONT ( 198, 87 ) ;
254        Size = MAP_APPFONT ( 50, 14 ) ;
255        TabStop = TRUE ;
256        Text [ en-US ] = "Ed~it..." ;
257    };
258    PushButton PB_LINGU_DICS_DEL_DIC
259    {
260        HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_DICS_DEL_DIC" ;
261        Pos = MAP_APPFONT ( 198, 104 ) ;
262        Size = MAP_APPFONT ( 50, 14 ) ;
263        TabStop = TRUE ;
264        Text [ en-US ] = "~Delete" ;
265    };
266    FixedText FT_LINGU_OPTIONS
267    {
268        Left = TRUE ;
269        Pos = MAP_APPFONT ( 12, 122 ) ;
270        Size = MAP_APPFONT ( 175, 8 ) ;
271        Text [ en-US ] = "~Options" ;
272    };
273    Control CLB_LINGU_OPTIONS
274    {
275        Pos = MAP_APPFONT ( 12, 133 ) ;
276        Size = MAP_APPFONT ( 182, 46 ) ;
277        Border = TRUE ;
278        TabStop = TRUE ;
279    };
280    PushButton PB_LINGU_OPTIONS_EDIT
281    {
282        HelpID = "cui:PushButton:RID_SFXPAGE_LINGU:PB_LINGU_OPTIONS_EDIT" ;
283        Pos = MAP_APPFONT ( 198, 133 ) ;
284        Size = MAP_APPFONT ( 50, 14 ) ;
285        TabStop = TRUE ;
286        Text [ en-US ] = "Edi~t..." ;
287    };
288    FixedText FT_LINGU_OPTIONS_MOREDICTS
289    {
290        Left = TRUE ;
291        Hide = TRUE ;
292        Pos = MAP_APPFONT ( 12, 182 ) ;
293        Size = MAP_APPFONT ( 182, RSC_CD_FIXEDTEXT_HEIGHT ) ;
294        Text [ en-US ] = "More dictionaries online..." ;
295    };
296
297    String STR_CAPITAL_WORDS
298    {
299        Text [ en-US ] = "Check uppercase words" ;
300    };
301    String STR_WORDS_WITH_DIGITS
302    {
303        Text [ en-US ] = "Check words with numbers " ;
304    };
305    String STR_CAPITALIZATION
306    {
307        Text [ en-US ] = "Check capitalization" ;
308    };
309    String STR_SPELL_SPECIAL
310    {
311        Text [ en-US ] = "Check special regions" ;
312    };
313    String STR_SPELL_AUTO
314    {
315        Text [ en-US ] = "Check spelling as you type" ;
316    };
317    String STR_GRAMMAR_AUTO
318    {
319        Text [ en-US ] = "Check grammar as you type" ;
320    };
321    String STR_NUM_MIN_WORDLEN
322    {
323        Text [ en-US ] = "Minimal number of characters for hyphenation: " ;
324    };
325    String STR_NUM_PRE_BREAK
326    {
327        Text [ en-US ] = "Characters before line break: " ;
328    };
329    String STR_NUM_POST_BREAK
330    {
331        Text [ en-US ] = "Characters after line break: " ;
332    };
333    String STR_HYPH_AUTO
334    {
335        Text [ en-US ] = "Hyphenate without inquiry" ;
336    };
337    String STR_HYPH_SPECIAL
338    {
339        Text [ en-US ] = "Hyphenate special regions" ;
340    };
341    String STR_LINGU_MODULES_EDIT
342    {
343        Text [ en-US ] = "Edit Available language modules" ;
344    };
345    String STR_LINGU_DICS_EDIT_DIC
346    {
347        Text [ en-US ] = "Edit User-defined dictionaries" ;
348    };
349    String STR_LINGU_OPTIONS_EDIT
350    {
351        Text [ en-US ] = "Edit Options" ;
352    };
353};
354// end: TabPage RID_SFXPAGE_LINGU
355
356 // RID_SFXQB_DELDICT --------------------------------------------------------
357QueryBox RID_SFXQB_DELDICT
358{
359    Buttons = WB_YES_NO ;
360    DefButton = WB_DEF_NO ;
361    Message [ en-US ] = "Do you want to delete the dictionary?" ;
362};
363
364 // ******************************************************************* EOF
365