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