xref: /trunk/main/sw/source/ui/misc/glossary.src (revision d8dff77764cb74143fabc617dc8ee25d946bae78)
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 "misc.hrc"
23#include "glossary.hrc"
24#include "cmdid.h"
25#include "helpid.h"
26#include "access.hrc"
27
28// #define DLG_GLOSSARY 256
29ModalDialog DLG_GLOSSARY
30{
31    HelpID = CMD_FN_GLOSSARY_DLG ;
32    OutputSize = TRUE ;
33    SVLook = TRUE ;
34    Size = MAP_APPFONT ( 375, 164 ) ;
35    Text [ en-US ] = "AutoText" ;
36    Moveable = TRUE ;
37    CheckBox CB_INSERT_TIP
38    {
39        HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_INSERT_TIP" ;
40        Pos = MAP_APPFONT ( 12, 12 ) ;
41        Size = MAP_APPFONT ( 200, 12 ) ;
42        TabStop = TRUE ;
43        Text [ en-US ] = "~Display remainder of name as suggestion while typing" ;
44    };
45    FixedText FT_NAME
46    {
47        Pos = MAP_APPFONT ( 12, 31 ) ;
48        Size = MAP_APPFONT ( 40, 8 ) ;
49        Text [ en-US ] = "~Name" ;
50        Left = TRUE ;
51    };
52    Edit ED_NAME
53    {
54        HelpID = "sw:Edit:DLG_GLOSSARY:ED_NAME" ;
55        Border = TRUE ;
56        Pos = MAP_APPFONT ( 55, 29 ) ;
57        Size = MAP_APPFONT ( 85, 12 ) ;
58        TabStop = TRUE ;
59        Left = TRUE ;
60    };
61    FixedText FT_SHORTNAME
62    {
63        Disable = TRUE ;
64        Pos = MAP_APPFONT ( 143, 31 ) ;
65        Size = MAP_APPFONT ( 57, 8 ) ;
66        Text [ en-US ] = "~Shortcut" ;
67        Right = TRUE ;
68    };
69    Edit ED_SHORTNAME
70    {
71        HelpID = "sw:Edit:DLG_GLOSSARY:ED_SHORTNAME" ;
72        Disable = TRUE ;
73        Border = TRUE ;
74        Pos = MAP_APPFONT ( 203, 29 ) ;
75        Size = MAP_APPFONT ( 21, 12 ) ;
76        TabStop = TRUE ;
77        Left = TRUE ;
78    };
79    Control LB_BIB
80    {
81        Border = TRUE ;
82        Pos = MAP_APPFONT ( 12, 44 ) ;
83        Size = MAP_APPFONT ( 212, 84 ) ;
84        TabStop = TRUE ;
85        //      Sort = TRUE ;
86        //      CurPos = 0 ;
87        String ST_READONLY
88        {
89            Text [ en-US ] = "read-only" ;
90        };
91    };
92    FixedLine FL_RELATIVE
93    {
94        Pos = MAP_APPFONT ( 6, 134 ) ;
95        Size = MAP_APPFONT ( 221, 8 ) ;
96        Text [ en-US ] = "Save links relative to" ;
97    };
98    CheckBox CB_FILE_REL
99    {
100        HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_FILE_REL" ;
101        Pos = MAP_APPFONT ( 14, 145 ) ;
102        Size = MAP_APPFONT ( 90, 12 ) ;
103        TabStop = TRUE ;
104        Text [ en-US ] = "~File system" ;
105    };
106    CheckBox CB_NET_REL
107    {
108        HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_NET_REL" ;
109        Pos = MAP_APPFONT ( 109, 145 ) ;
110        Size = MAP_APPFONT ( 90, 12 ) ;
111        Text [ en-US ] = "Inte~rnet" ;
112    };
113    Window WIN_EXAMPLE
114    {
115        Pos = MAP_APPFONT ( 231, 14 ) ;
116        Size = MAP_APPFONT ( 82, 124 ) ;
117    };
118    Window WIN_EXAMPLE_DUMMY
119    {
120        Pos = MAP_APPFONT ( 231, 14 ) ;
121        Size = MAP_APPFONT ( 82, 124 ) ;
122        Border = TRUE ;
123    };
124    CheckBox CB_SHOW_EXAMPLE
125    {
126        HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_SHOW_EXAMPLE" ;
127        Pos = MAP_APPFONT ( 231, 145 ) ;
128        Size = MAP_APPFONT ( 82, 12 ) ;
129        Text [ en-US ] = "Sho~w preview" ;
130    };
131    OKButton PB_INSERT
132    {
133        Pos = MAP_APPFONT ( 319, 6 ) ;
134        Size = MAP_APPFONT ( 50, 14 ) ;
135        Text [ en-US ] = "~Insert" ;
136        TabStop = TRUE ;
137        DefButton = TRUE ;
138    };
139    CancelButton PB_CLOSE
140    {
141        Pos = MAP_APPFONT ( 319, 23 ) ;
142        Size = MAP_APPFONT ( 50, 14 ) ;
143        Text [ en-US ] = "~Close" ;
144        TabStop = TRUE ;
145    };
146    HelpButton PB_HELP
147    {
148        Pos = MAP_APPFONT ( 319, 43 ) ;
149        Size = MAP_APPFONT ( 50, 14 ) ;
150    };
151    MenuButton PB_EDIT
152    {
153        HelpID = "sw:MenuButton:DLG_GLOSSARY:PB_EDIT" ;
154        Pos = MAP_APPFONT ( 319, 60 ) ;
155        Size = MAP_APPFONT ( 50, 14 ) ;
156        Text [ en-US ] = "AutoTe~xt" ;
157        TabStop = TRUE ;
158    };
159    PushButton PB_BIB
160    {
161        HelpID = "sw:PushButton:DLG_GLOSSARY:PB_BIB" ;
162        Pos = MAP_APPFONT ( 319, 77 ) ;
163        Size = MAP_APPFONT ( 50, 14 ) ;
164        Text [ en-US ] = "C~ategories..." ;
165        TabStop = TRUE ;
166    };
167    PushButton PB_PATH
168    {
169        HelpID = "sw:PushButton:DLG_GLOSSARY:PB_PATH" ;
170        Pos = MAP_APPFONT ( 319, 94 ) ;
171        Size = MAP_APPFONT ( 50, 14 ) ;
172        TabStop = TRUE ;
173        Text [ en-US ] = "~Path..." ;
174    };
175    String ST_READONLY_PATH
176    {
177        Text [ en-US ] = "The 'AutoText' directories are read-only. Do you want to call the path settings dialog?" ;
178    };
179    Menu MNU_EDIT
180    {
181        ItemList =
182        {
183            MenuItem
184            {
185                Identifier = FN_GL_DEFINE ;
186                HelpID = HID_MD_GLOS_DEFINE ;
187                Text [ en-US ] = "~New" ;
188            };
189            MenuItem
190            {
191                Identifier = FN_GL_DEFINE_TEXT ;
192                HelpID = HID_MD_GLOS_DEFINE_TEXT ;
193                Text [ en-US ] = "New (text only)" ;
194            };
195            MenuItem
196            {
197                Identifier = FN_GL_COPY_TO_CLIPBOARD ;
198                HelpID = HID_MD_COPY_TO_CLIPBOARD ;
199                Text [ en-US ] = "~Copy" ;
200            };
201            MenuItem
202            {
203                Identifier = FN_GL_REPLACE ;
204                HelpID = HID_MD_GLOS_REPLACE ;
205                Text [ en-US ] = "Replace" ;
206            };
207            MenuItem
208            {
209                Identifier = FN_GL_REPLACE_TEXT ;
210                HelpID = HID_MD_GLOS_REPLACE ;
211                Text [ en-US ] = "Rep~lace (text only)" ;
212            };
213            MenuItem
214            {
215                Identifier = FN_GL_RENAME ;
216                HelpID = HID_MD_GLOS_RENAME ;
217                Text [ en-US ] = "Rename..." ;
218            };
219            MenuItem
220            {
221                Identifier = FN_GL_DELETE ;
222                HelpID = HID_MD_GLOS_DELETE ;
223                Text [ en-US ] = "~Delete" ;
224            };
225            MenuItem
226            {
227                Separator = TRUE ;
228            };
229            MenuItem
230            {
231                Identifier = FN_GL_EDIT ;
232                HelpID = HID_MD_GLOS_EDIT ;
233                Text [ en-US ] = "~Edit" ;
234            };
235            MenuItem
236            {
237                Separator = TRUE ;
238            };
239            MenuItem
240            {
241                Identifier = FN_GL_MACRO ;
242                HelpID = HID_MD_GLOS_MACRO ;
243                Text [ en-US ] = "~Macro..." ;
244            };
245            MenuItem
246            {
247                Separator = TRUE ;
248            };
249            MenuItem
250            {
251                Identifier = FN_GL_IMPORT;
252                HelpID = HID_MD_GLOS_IMPORT ;
253                Text [ en-US ] = "~Import..." ;
254            };
255        };
256    };
257};
258InfoBox MSG_DOUBLE_SHORTNAME
259{
260    Message [ en-US ] = "Shortcut name already exists. Please choose another name." ;
261};
262QueryBox MSG_QUERY_DELETE
263{
264    BUTTONS = WB_YES_NO ;
265    DEFBUTTON = WB_DEF_NO ;
266    Message [ en-US ] = "Delete AutoText?" ;
267};
268String STR_QUERY_DELETE_GROUP1
269{
270    Text [ en-US ] = "Delete the category " ;
271};
272String STR_QUERY_DELETE_GROUP2
273{
274    Text [ en-US ] = "?" ;
275};
276String STR_GLOSSARY
277{
278    Text [ en-US ] = "AutoText :" ;
279};
280String STR_ACCESS_SW_CATEGORY
281{
282    Text [ en-US ] = "Category" ;
283};
284ModalDialog DLG_RENAME_GLOS
285{
286    OutputSize = TRUE ;
287    SVLook = TRUE ;
288    Size = MAP_APPFONT ( 287, 47 ) ;
289    Moveable = TRUE ;
290    HelpID = HID_RENAME_GLOSSARY ;
291    OKButton BT_OKNEW
292    {
293        Disable = TRUE ;
294        Pos = MAP_APPFONT ( 231, 6 ) ;
295        Size = MAP_APPFONT ( 50, 14 ) ;
296        DefButton = TRUE ;
297        TabStop = TRUE ;
298    };
299    CancelButton BT_CANCEL
300    {
301        Pos = MAP_APPFONT ( 231, 23 ) ;
302        Size = MAP_APPFONT ( 50, 14 ) ;
303        TabStop = TRUE ;
304    };
305    FixedText FT_ON
306    {
307        Pos = MAP_APPFONT ( 12, 14 ) ;
308        Size = MAP_APPFONT ( 30, 8 ) ;
309        Text [ en-US ] = "Na~me" ;
310    };
311    Edit ED_ON
312    {
313        HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_ON" ;
314        ReadOnly = TRUE ;
315        Border = TRUE ;
316        Pos = MAP_APPFONT ( 44, 12 ) ;
317        Size = MAP_APPFONT ( 100, 12 ) ;
318        Left = TRUE ;
319    };
320    FixedText FT_OS
321    {
322        Pos = MAP_APPFONT ( 147, 14 ) ;
323        Size = MAP_APPFONT ( 52, 8 ) ;
324        Text [ en-US ] = "Short~cut" ;
325    };
326    Edit ED_OS
327    {
328        HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_OS" ;
329        ReadOnly = TRUE ;
330        Border = TRUE ;
331        Pos = MAP_APPFONT ( 200, 12 ) ;
332        Size = MAP_APPFONT ( 21, 12 ) ;
333        Left = TRUE ;
334    };
335    FixedText FT_NN
336    {
337        Pos = MAP_APPFONT ( 12, 29 ) ;
338        Size = MAP_APPFONT ( 30, 8 ) ;
339        Text [ en-US ] = "~New" ;
340    };
341    Edit ED_NN
342    {
343        HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_NN" ;
344        TabStop = TRUE ;
345        Border = TRUE ;
346        Pos = MAP_APPFONT ( 44, 27 ) ;
347        Size = MAP_APPFONT ( 100, 12 ) ;
348        Left = TRUE ;
349    };
350    FixedText FT_NS
351    {
352        Pos = MAP_APPFONT ( 147, 29 ) ;
353        Size = MAP_APPFONT ( 52, 8 ) ;
354        Text [ en-US ] = "~Shortcut" ;
355    };
356    Edit ED_NS
357    {
358        HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_NS" ;
359        TabStop = TRUE ;
360        Border = TRUE ;
361        Pos = MAP_APPFONT ( 200, 27 ) ;
362        Size = MAP_APPFONT ( 21, 12 ) ;
363        Left = TRUE ;
364    };
365    FixedLine FL_NN
366    {
367        Pos = MAP_APPFONT ( 6, 3 ) ;
368        Size = MAP_APPFONT ( 219, 8 ) ;
369    };
370    Text [ en-US ] = "Rename AutoText" ;
371};
372String STR_SAVE_GLOSSARY
373{
374    Text [ en-US ] = "Save AutoText" ;
375};
376InfoBox MSG_NO_GLOSSARIES
377{
378    Message [ en-US ] = "There is no AutoText in this file." ;
379};
380
381// ********************************************************************** EOF
382