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