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}; 84 85// Menus ----------------------------------------------------------------- 86 87Menu RID_FILEVIEW_CONTEXTMENU 88{ 89 ItemList = 90 { 91 MenuItem 92 { 93 Identifier = MID_FILEVIEW_DELETE ; 94 HelpId = HID_FILEVIEW_MENU_DELETE ; 95 Text [ en-US ] = "~Delete" ; 96 }; 97 MenuItem 98 { 99 Identifier = MID_FILEVIEW_RENAME ; 100 HelpId = HID_FILEVIEW_MENU_RENAME ; 101 Text [ en-US ] = "~Rename" ; 102 }; 103 }; 104}; 105 106ModalDialog DLG_SVT_QUERYDELETE 107{ 108 HelpID = "svtools:ModalDialog:DLG_SVT_QUERYDELETE" ; 109 SVLook = TRUE ; 110 OutputSize = TRUE ; 111 Moveable = TRUE ; 112 Size = MAP_APPFONT ( 221, 67 ) ; 113 Text [ en-US ] = "Confirm Delete" ; 114 115 FixedText TXT_ENTRY 116 { 117 NoLabel = TRUE ; 118 Pos = MAP_APPFONT ( 6, 6 ) ; 119 Size = MAP_APPFONT ( 40, 10 ) ; 120 Text [ en-US ] = "Entry:" ; 121 }; 122 123 FixedText TXT_ENTRYNAME 124 { 125 Pos = MAP_APPFONT ( 52, 6 ) ; 126 Size = MAP_APPFONT ( 163, 10 ) ; 127 NoLabel = TRUE ; 128 }; 129 130 FixedText TXT_QUERYMSG 131 { 132 NoLabel = TRUE ; 133 WordBreak = TRUE ; 134 Pos = MAP_APPFONT ( 6, 19 ) ; 135 Size = MAP_APPFONT ( 209, 22 ) ; 136 Text [ en-US ] = "Are you sure you want to delete the selected data?" ; 137 }; 138 139 PushButton BTN_YES 140 { 141 HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_YES" ; 142 Pos = MAP_APPFONT ( 6, 47 ) ; 143 Size = MAP_APPFONT ( 50, 14 ) ; 144 TabStop = TRUE ; 145 DefButton = TRUE ; 146 Text [ en-US ] = "~Delete" ; 147 }; 148 149 PushButton BTN_ALL 150 { 151 HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_ALL" ; 152 Pos = MAP_APPFONT ( 59, 47 ) ; 153 Size = MAP_APPFONT ( 50, 14 ) ; 154 TabStop = TRUE ; 155 Disable = TRUE ; 156 Text [ en-US ] = "Delete ~All" ; 157 }; 158 159 PushButton BTN_NO 160 { 161 HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_NO" ; 162 Pos = MAP_APPFONT ( 112, 47 ) ; 163 Size = MAP_APPFONT ( 50, 14 ) ; 164 TabStop = TRUE ; 165 Text [ en-US ] = "Do ~Not Delete" ; 166 }; 167 168 CancelButton BTN_CANCEL 169 { 170 Pos = MAP_APPFONT ( 165, 47 ) ; 171 Size = MAP_APPFONT ( 50, 14 ) ; 172 TabStop = TRUE ; 173 }; 174}; 175 176// ********************************************************************** EOF 177