xref: /aoo41x/main/cui/source/dialogs/scriptdlg.src (revision cdf0e10c)
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 <cuires.hrc>
29#include "scriptdlg.hrc"
30#include "helpid.hrc"
31
32#define MASKCOLOR  MaskColor = \
33    Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
34
35ModalDialog RID_DLG_SCRIPTORGANIZER
36{
37    OutputSize = TRUE ;
38    Size = MAP_APPFONT ( 210 , 165 ) ;
39    Moveable = TRUE ;
40    Text [ en-US ] = "%MACROLANG Macros";
41    Closeable = TRUE ;
42    HelpId = HID_SCRIPTORG_DIALOG;
43    FixedText SF_TXT_SCRIPTS
44    {
45        Pos = MAP_APPFONT ( 6 , 3 ) ;
46        Size = MAP_APPFONT ( 100 , 10 ) ;
47        Text [ en-US ] = "~Macros" ;
48    };
49
50    Control SF_CTRL_SCRIPTSBOX
51    {
52        HelpId = HID_SCRIPTSBOX ;
53        Border = TRUE ;
54        Pos = MAP_APPFONT ( 6 , 16 ) ;
55        Size = MAP_APPFONT ( 130 , 144 ) ;
56        TabStop = TRUE ;
57        Image IMG_HARDDISK
58        {
59            ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; };
60            MASKCOLOR
61        };
62        Image IMG_HARDDISK_HC
63        {
64            ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; };
65            MASKCOLOR
66        };
67        Image IMG_LIB
68        {
69            ImageBitmap = Bitmap { File = "im30820.png"; };
70            MASKCOLOR
71        };
72        Image IMG_LIB_HC
73        {
74            ImageBitmap = Bitmap { File = "imh30820.png"; };
75            MASKCOLOR
76        };
77        Image IMG_MACRO
78        {
79            ImageBitmap = Bitmap { File = "im30821.png"; };
80            MASKCOLOR
81        };
82        Image IMG_MACRO_HC
83        {
84            ImageBitmap = Bitmap { File = "imh30821.png"; };
85            MASKCOLOR
86        };
87        Image IMG_DOCUMENT
88        {
89            ImageBitmap = Bitmap { File = "im30826.png"; };
90            MASKCOLOR
91        };
92        Image IMG_DOCUMENT_HC
93        {
94            ImageBitmap = Bitmap { File = "imh30826.png"; };
95            MASKCOLOR
96        };
97        String STR_MYMACROS
98        {
99            Text [ en-US ] = "My Macros";
100        };
101        String STR_PRODMACROS
102        {
103            Text [ en-US ] = "%PRODUCTNAME Macros";
104        };
105    };
106
107    PushButton SF_PB_RUN
108    {
109        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_RUN";
110        Pos = MAP_APPFONT ( 144 , 6 ) ;
111        Size = MAP_APPFONT ( 60 , 14 ) ;
112        DefButton = TRUE;
113        Text [ en-US ] = "R~un" ;
114    };
115    CancelButton SF_PB_CLOSE
116    {
117        Pos = MAP_APPFONT ( 144 , 23 ) ;
118        Size = MAP_APPFONT ( 60 , 14 ) ;
119        TabStop = TRUE ;
120        Text [ en-US ] = "Close" ;
121    };
122
123    PushButton SF_PB_CREATE
124    {
125        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_CREATE";
126        Size = MAP_APPFONT ( 60 , 14 ) ;
127        Pos = MAP_APPFONT ( 144 , 60 ) ;
128        Text [ en-US ] = "~Create..." ;
129        TabStop = TRUE ;
130    };
131    PushButton SF_PB_EDIT
132    {
133        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_EDIT";
134        Size = MAP_APPFONT ( 60 , 14 ) ;
135        Pos = MAP_APPFONT ( 144 , 77 ) ;
136        Text [ en-US ] = "~Edit" ;
137        TabStop = TRUE ;
138    };
139    PushButton SF_PB_RENAME
140    {
141        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_RENAME";
142        Pos = MAP_APPFONT ( 144 , 94 ) ;
143        Size = MAP_APPFONT ( 60 , 14 ) ;
144        Text [ en-US ] = "Rename..." ;
145    };
146    PushButton SF_PB_DEL
147    {
148        HelpID = "cui:PushButton:RID_DLG_SCRIPTORGANIZER:SF_PB_DEL";
149        Pos = MAP_APPFONT ( 144 , 114 ) ;
150        Size = MAP_APPFONT ( 60 , 14 ) ;
151        Text [ en-US ] = "~Delete..." ;
152        TabStop = TRUE ;
153    };
154    HelpButton SF_PB_HELP
155    {
156        Pos = MAP_APPFONT ( 144 , 131 ) ;
157        Size = MAP_APPFONT ( 60 , 14 ) ;
158        TabStop = TRUE ;
159    };
160
161};
162ModalDialog RID_DLG_NEWLIB
163{
164    HelpID = "cui:ModalDialog:RID_DLG_NEWLIB";
165    Text [ en-US ] = "Create Library" ;
166    Size = MAP_APPFONT ( 160 , 50 ) ;
167    Moveable = TRUE ;
168    Closeable = TRUE ;
169    OKButton PB_OK
170    {
171        Pos = MAP_APPFONT ( 104 , 6 ) ;
172        Size = MAP_APPFONT ( 50 , 14 ) ;
173        TabStop = TRUE ;
174        DefButton = TRUE ;
175    };
176    CancelButton PB_CANCEL
177    {
178        Pos = MAP_APPFONT ( 104 , 23 ) ;
179        Size = MAP_APPFONT ( 50 , 14 ) ;
180        TabStop = TRUE ;
181    };
182    FixedText FT_NEWLIB
183    {
184        Pos = MAP_APPFONT ( 6 , 6 ) ;
185        Size = MAP_APPFONT ( 100 , 50 ) ;
186        WordBreak = TRUE ;
187        Text [ en-US ] = "Enter the name for the new library." ;
188    };
189    Edit ED_LIBNAME
190    {
191        HelpID = "cui:Edit:RID_DLG_NEWLIB:ED_LIBNAME";
192        Border = TRUE ;
193        Pos = MAP_APPFONT ( 6 , 59 ) ;
194        Size = MAP_APPFONT ( 92 , 12 ) ;
195        TabStop = TRUE ;
196    };
197    String STR_NEWLIB
198    {
199        Text [ en-US ] = "Create Library" ;
200    };
201    String STR_NEWMACRO
202    {
203        Text [ en-US ] = "Create Macro" ;
204    };
205    String STR_FT_NEWMACRO
206    {
207        Text [ en-US ] = "Enter the name for the new macro." ;
208    };
209    String STR_RENAME
210    {
211        Text [ en-US ] = "Rename" ;
212    };
213    String STR_FT_RENAME
214    {
215        Text [ en-US ] = "Enter the new name for the selected object." ;
216    };
217};
218String RID_SVXSTR_DELQUERY
219{
220    Text [ en-US ] = "Do you want to delete the following object?";
221};
222String RID_SVXSTR_DELQUERY_TITLE
223{
224    Text [ en-US ] = "Confirm Deletion";
225};
226String RID_SVXSTR_DELFAILED
227{
228    Text [ en-US ] = "The selected object could not be deleted.";
229};
230String RID_SVXSTR_DELFAILEDPERM
231{
232    Text [ en-US ] = " You do not have permission to delete this object.";
233};
234String RID_SVXSTR_DELFAILED_TITLE
235{
236    Text [ en-US ] = "Error Deleting Object";
237};
238String RID_SVXSTR_CREATEFAILED
239{
240    Text [ en-US ] = "The object could not be created.";
241};
242String RID_SVXSTR_CREATEFAILEDDUP
243{
244    Text [ en-US ] = " Object with the same name already exists.";
245};
246String RID_SVXSTR_CREATEFAILEDPERM
247{
248    Text [ en-US ] = " You do not have permission to create this object.";
249};
250String RID_SVXSTR_CREATEFAILED_TITLE
251{
252    Text [ en-US ] = "Error Creating Object";
253};
254String RID_SVXSTR_RENAMEFAILED
255{
256    Text [ en-US ] = "The object could not be renamed.";
257};
258String RID_SVXSTR_RENAMEFAILEDPERM
259{
260    Text [ en-US ] = " You do not have permission to rename this object.";
261};
262String RID_SVXSTR_RENAMEFAILED_TITLE
263{
264    Text [ en-US ] = "Error Renaming Object";
265};
266
267String RID_SVXSTR_ERROR_TITLE
268{
269    Text [ en-US ] = "%PRODUCTNAME Error";
270};
271
272String RID_SVXSTR_ERROR_LANG_NOT_SUPPORTED
273{
274    Text [ en-US ] = "The scripting language %LANGUAGENAME is not supported.";
275};
276String RID_SVXSTR_ERROR_RUNNING
277{
278    Text [ en-US ] = "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
279};
280
281String RID_SVXSTR_EXCEPTION_RUNNING
282{
283    Text [ en-US ] = "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
284};
285
286String RID_SVXSTR_ERROR_AT_LINE
287{
288    Text [ en-US ] = "An error occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.";
289};
290
291String RID_SVXSTR_EXCEPTION_AT_LINE
292{
293    Text [ en-US ] = "An exception occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.";
294};
295
296String RID_SVXSTR_FRAMEWORK_ERROR_RUNNING
297{
298    Text [ en-US ] = "A Scripting Framework error occurred while running the %LANGUAGENAME script %SCRIPTNAME.";
299};
300
301String RID_SVXSTR_FRAMEWORK_ERROR_AT_LINE
302{
303    Text [ en-US ] = "A Scripting Framework error occurred while running the %LANGUAGENAME script %SCRIPTNAME at line: %LINENUMBER.";
304};
305
306String RID_SVXSTR_ERROR_TYPE_LABEL
307{
308    Text [ en-US ] = "Type:";
309};
310
311String RID_SVXSTR_ERROR_MESSAGE_LABEL
312{
313    Text [ en-US ] = "Message:";
314};
315