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