summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/fileview.src
blob: b50d6482443936baf11f4cc2d0798ee36f31a6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include <svtools/svtools.hrc>
#include "fileview.hrc"
#include <svtools/helpid.hrc>

// strings --------------------------------------------------------------------

String STR_SVT_FILEVIEW_COLUMN_TITLE
{
    Text [ en-US ] = "Title";
};

String STR_SVT_FILEVIEW_COLUMN_SIZE
{
    Text [ en-US ] = "Size";
};

String STR_SVT_FILEVIEW_COLUMN_DATE
{
    Text [ en-US ] = "Date modified";
};

String STR_SVT_FILEVIEW_COLUMN_TYPE
{
    Text [ en-US ] = "Type";
};

String STR_SVT_FILEVIEW_ERR_MAKEFOLDER
{
    Text [ en-US ] = "Could not create the folder %1.";
};

String STR_SVT_BYTES
{
    Text [ en-US ] = "Bytes" ;
};

String STR_SVT_KB
{
    Text [ en-US ] = "KB" ;
};

String STR_SVT_MB
{
    Text [ en-US ] = "MB" ;
};


String STR_SVT_GB
{
    Text [ en-US ] = "GB" ;
};

// Images ---------------------------------------------------------------------

Image IMG_SVT_FOLDER
{
    ImageBitmap = Bitmap { File = "folder.png" ; };
    MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
};

// Menus -----------------------------------------------------------------

Menu RID_FILEVIEW_CONTEXTMENU
{
    ItemList =
    {
        MenuItem
        {
            Identifier = MID_FILEVIEW_DELETE ;
            HelpId = HID_FILEVIEW_MENU_DELETE ;
            Text [ en-US ] = "~Delete";
        };
        MenuItem
        {
            Identifier = MID_FILEVIEW_RENAME ;
            HelpId = HID_FILEVIEW_MENU_RENAME ;
            Text [ en-US ] = "~Rename";
        };
    };
};

ModalDialog DLG_SVT_QUERYDELETE
{
    HelpID = "svtools:ModalDialog:DLG_SVT_QUERYDELETE";
    SVLook = TRUE ;
    OutputSize = TRUE ;
    Moveable = TRUE ;
    Size = MAP_APPFONT ( 221 , 67 ) ;
    Text [ en-US ] = "Confirm Delete" ;

    FixedText TXT_ENTRY
    {
        NoLabel = TRUE;
        Pos = MAP_APPFONT ( 6 , 6 ) ;
        Size = MAP_APPFONT ( 40 , 10 ) ;
        Text [ en-US ] = "Entry:" ;
    };

    FixedText TXT_ENTRYNAME
    {
        Pos = MAP_APPFONT ( 52 , 6 ) ;
        Size = MAP_APPFONT ( 163 , 10 ) ;
        NoLabel = TRUE ;
    };

    FixedText TXT_QUERYMSG
    {
        NoLabel = TRUE;
        WordBreak = TRUE;
        Pos = MAP_APPFONT ( 6 , 19 ) ;
        Size = MAP_APPFONT ( 209 , 22 ) ;
        Text [ en-US ] = "Are you sure you want to delete the selected data?" ;
    };

    PushButton BTN_YES
    {
        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_YES";
        Pos = MAP_APPFONT ( 6 , 47 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
        DefButton = TRUE ;
        Text [ en-US ] = "~Delete" ;
    };

    PushButton BTN_ALL
    {
        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_ALL";
        Pos = MAP_APPFONT ( 59 , 47 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
        Disable = TRUE ;
        Text [ en-US ] = "Delete ~All" ;
    };

    PushButton BTN_NO
    {
        HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_NO";
        Pos = MAP_APPFONT ( 112 , 47 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
        Text [ en-US ] = "Do ~Not Delete" ;
    };

    CancelButton BTN_CANCEL
    {
        Pos = MAP_APPFONT ( 165 , 47 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        TabStop = TRUE ;
    };
};