xref: /trunk/main/svtools/source/contnr/fileview.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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 // includes ------------------------------------------------------------------
29
30#include <svtools/svtools.hrc>
31#include "fileview.hrc"
32#include <svtools/helpid.hrc>
33
34// strings --------------------------------------------------------------------
35
36String STR_SVT_FILEVIEW_COLUMN_TITLE
37{
38    Text [ en-US ] = "Title";
39};
40
41String STR_SVT_FILEVIEW_COLUMN_SIZE
42{
43    Text [ en-US ] = "Size";
44};
45
46String STR_SVT_FILEVIEW_COLUMN_DATE
47{
48    Text [ en-US ] = "Date modified";
49};
50
51String STR_SVT_FILEVIEW_COLUMN_TYPE
52{
53    Text [ en-US ] = "Type";
54};
55
56String STR_SVT_FILEVIEW_ERR_MAKEFOLDER
57{
58    Text [ en-US ] = "Could not create the folder %1.";
59};
60
61String STR_SVT_BYTES
62{
63    Text [ en-US ] = "Bytes" ;
64};
65
66String STR_SVT_KB
67{
68    Text [ en-US ] = "KB" ;
69};
70
71String STR_SVT_MB
72{
73    Text [ en-US ] = "MB" ;
74};
75
76
77String STR_SVT_GB
78{
79    Text [ en-US ] = "GB" ;
80};
81
82// Images ---------------------------------------------------------------------
83
84Image IMG_SVT_FOLDER
85{
86    ImageBitmap = Bitmap { File = "folder.bmp" ; };
87    MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
88};
89
90// Menus -----------------------------------------------------------------
91
92Menu RID_FILEVIEW_CONTEXTMENU
93{
94    ItemList =
95    {
96        MenuItem
97        {
98            Identifier = MID_FILEVIEW_DELETE ;
99            HelpId = HID_FILEVIEW_MENU_DELETE ;
100            Text [ en-US ] = "~Delete";
101        };
102        MenuItem
103        {
104            Identifier = MID_FILEVIEW_RENAME ;
105            HelpId = HID_FILEVIEW_MENU_RENAME ;
106            Text [ en-US ] = "~Rename";
107        };
108    };
109};
110
111ModalDialog DLG_SVT_QUERYDELETE
112{
113    HelpID = "svtools:ModalDialog:DLG_SVT_QUERYDELETE";
114    SVLook = TRUE ;
115    OutputSize = TRUE ;
116    Moveable = TRUE ;
117    Size = MAP_APPFONT ( 221 , 67 ) ;
118    Text [ en-US ] = "Confirm Delete" ;
119
120    FixedText TXT_ENTRY
121    {
122        NoLabel = TRUE;
123        Pos = MAP_APPFONT ( 6 , 6 ) ;
124        Size = MAP_APPFONT ( 40 , 10 ) ;
125        Text [ en-US ] = "Entry:" ;
126    };
127
128    FixedText TXT_ENTRYNAME
129    {
130        Pos = MAP_APPFONT ( 52 , 6 ) ;
131        Size = MAP_APPFONT ( 163 , 10 ) ;
132        NoLabel = TRUE ;
133    };
134
135    FixedText TXT_QUERYMSG
136    {
137        NoLabel = TRUE;
138        WordBreak = TRUE;
139        Pos = MAP_APPFONT ( 6 , 19 ) ;
140        Size = MAP_APPFONT ( 209 , 22 ) ;
141        Text [ en-US ] = "Are you sure you want to delete the selected data?" ;
142    };
143
144    PushButton BTN_YES
145    {
146        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_YES";
147        Pos = MAP_APPFONT ( 6 , 47 ) ;
148        Size = MAP_APPFONT ( 50 , 14 ) ;
149        TabStop = TRUE ;
150        DefButton = TRUE ;
151        Text [ en-US ] = "~Delete" ;
152    };
153
154    PushButton BTN_ALL
155    {
156        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_ALL";
157        Pos = MAP_APPFONT ( 59 , 47 ) ;
158        Size = MAP_APPFONT ( 50 , 14 ) ;
159        TabStop = TRUE ;
160        Disable = TRUE ;
161        Text [ en-US ] = "Delete ~All" ;
162    };
163
164    PushButton BTN_NO
165    {
166        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_NO";
167        Pos = MAP_APPFONT ( 112 , 47 ) ;
168        Size = MAP_APPFONT ( 50 , 14 ) ;
169        TabStop = TRUE ;
170        Text [ en-US ] = "Do ~Not Delete" ;
171    };
172
173    CancelButton BTN_CANCEL
174    {
175        Pos = MAP_APPFONT ( 165 , 47 ) ;
176        Size = MAP_APPFONT ( 50 , 14 ) ;
177        TabStop = TRUE ;
178    };
179};
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201