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