13c07ef42SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 33c07ef42SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 43c07ef42SAndrew Rist * or more contributor license agreements. See the NOTICE file 53c07ef42SAndrew Rist * distributed with this work for additional information 63c07ef42SAndrew Rist * regarding copyright ownership. The ASF licenses this file 73c07ef42SAndrew Rist * to you under the Apache License, Version 2.0 (the 83c07ef42SAndrew Rist * "License"); you may not use this file except in compliance 93c07ef42SAndrew Rist * with the License. You may obtain a copy of the License at 103c07ef42SAndrew Rist * 113c07ef42SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 123c07ef42SAndrew Rist * 133c07ef42SAndrew Rist * Unless required by applicable law or agreed to in writing, 143c07ef42SAndrew Rist * software distributed under the License is distributed on an 153c07ef42SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 163c07ef42SAndrew Rist * KIND, either express or implied. See the License for the 173c07ef42SAndrew Rist * specific language governing permissions and limitations 183c07ef42SAndrew Rist * under the License. 193c07ef42SAndrew Rist * 203c07ef42SAndrew Rist *************************************************************/ 213c07ef42SAndrew Rist 223c07ef42SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir // includes ------------------------------------------------------------------ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include <svtools/svtools.hrc> 27cdf0e10cSrcweir#include "fileview.hrc" 28cdf0e10cSrcweir#include <svtools/helpid.hrc> 29cdf0e10cSrcweir 30cdf0e10cSrcweir// strings -------------------------------------------------------------------- 31cdf0e10cSrcweir 32cdf0e10cSrcweirString STR_SVT_FILEVIEW_COLUMN_TITLE 33cdf0e10cSrcweir{ 34394b79b0SAriel Constenla-Haile Text [ en-US ] = "Name"; 35cdf0e10cSrcweir}; 36cdf0e10cSrcweir 37cdf0e10cSrcweirString STR_SVT_FILEVIEW_COLUMN_SIZE 38cdf0e10cSrcweir{ 39cdf0e10cSrcweir Text [ en-US ] = "Size"; 40cdf0e10cSrcweir}; 41cdf0e10cSrcweir 42cdf0e10cSrcweirString STR_SVT_FILEVIEW_COLUMN_DATE 43cdf0e10cSrcweir{ 44cdf0e10cSrcweir Text [ en-US ] = "Date modified"; 45cdf0e10cSrcweir}; 46cdf0e10cSrcweir 47cdf0e10cSrcweirString STR_SVT_FILEVIEW_COLUMN_TYPE 48cdf0e10cSrcweir{ 49cdf0e10cSrcweir Text [ en-US ] = "Type"; 50cdf0e10cSrcweir}; 51cdf0e10cSrcweir 52cdf0e10cSrcweirString STR_SVT_FILEVIEW_ERR_MAKEFOLDER 53cdf0e10cSrcweir{ 54cdf0e10cSrcweir Text [ en-US ] = "Could not create the folder %1."; 55cdf0e10cSrcweir}; 56cdf0e10cSrcweir 57cdf0e10cSrcweirString STR_SVT_BYTES 58cdf0e10cSrcweir{ 59cdf0e10cSrcweir Text [ en-US ] = "Bytes" ; 60cdf0e10cSrcweir}; 61cdf0e10cSrcweir 62cdf0e10cSrcweirString STR_SVT_KB 63cdf0e10cSrcweir{ 64cdf0e10cSrcweir Text [ en-US ] = "KB" ; 65cdf0e10cSrcweir}; 66cdf0e10cSrcweir 67cdf0e10cSrcweirString STR_SVT_MB 68cdf0e10cSrcweir{ 69cdf0e10cSrcweir Text [ en-US ] = "MB" ; 70cdf0e10cSrcweir}; 71cdf0e10cSrcweir 72cdf0e10cSrcweir 73cdf0e10cSrcweirString STR_SVT_GB 74cdf0e10cSrcweir{ 75cdf0e10cSrcweir Text [ en-US ] = "GB" ; 76cdf0e10cSrcweir}; 77cdf0e10cSrcweir 78cdf0e10cSrcweir// Images --------------------------------------------------------------------- 79cdf0e10cSrcweir 80cdf0e10cSrcweirImage IMG_SVT_FOLDER 81cdf0e10cSrcweir{ 82*ca6cfdb2Smseidel ImageBitmap = Bitmap { File = "folder.png" ; }; 83cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; }; 84cdf0e10cSrcweir}; 85cdf0e10cSrcweir 86cdf0e10cSrcweir// Menus ----------------------------------------------------------------- 87cdf0e10cSrcweir 88cdf0e10cSrcweirMenu RID_FILEVIEW_CONTEXTMENU 89cdf0e10cSrcweir{ 90cdf0e10cSrcweir ItemList = 91cdf0e10cSrcweir { 92cdf0e10cSrcweir MenuItem 93cdf0e10cSrcweir { 94cdf0e10cSrcweir Identifier = MID_FILEVIEW_DELETE ; 95cdf0e10cSrcweir HelpId = HID_FILEVIEW_MENU_DELETE ; 96cdf0e10cSrcweir Text [ en-US ] = "~Delete"; 97cdf0e10cSrcweir }; 98cdf0e10cSrcweir MenuItem 99cdf0e10cSrcweir { 100cdf0e10cSrcweir Identifier = MID_FILEVIEW_RENAME ; 101cdf0e10cSrcweir HelpId = HID_FILEVIEW_MENU_RENAME ; 102cdf0e10cSrcweir Text [ en-US ] = "~Rename"; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir}; 106cdf0e10cSrcweir 107cdf0e10cSrcweirModalDialog DLG_SVT_QUERYDELETE 108cdf0e10cSrcweir{ 109cdf0e10cSrcweir HelpID = "svtools:ModalDialog:DLG_SVT_QUERYDELETE"; 110cdf0e10cSrcweir SVLook = TRUE ; 111cdf0e10cSrcweir OutputSize = TRUE ; 112cdf0e10cSrcweir Moveable = TRUE ; 113cdf0e10cSrcweir Size = MAP_APPFONT ( 221 , 67 ) ; 114cdf0e10cSrcweir Text [ en-US ] = "Confirm Delete" ; 115cdf0e10cSrcweir 116cdf0e10cSrcweir FixedText TXT_ENTRY 117cdf0e10cSrcweir { 118cdf0e10cSrcweir NoLabel = TRUE; 119cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 6 ) ; 120cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 10 ) ; 121cdf0e10cSrcweir Text [ en-US ] = "Entry:" ; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir 124cdf0e10cSrcweir FixedText TXT_ENTRYNAME 125cdf0e10cSrcweir { 126cdf0e10cSrcweir Pos = MAP_APPFONT ( 52 , 6 ) ; 127cdf0e10cSrcweir Size = MAP_APPFONT ( 163 , 10 ) ; 128cdf0e10cSrcweir NoLabel = TRUE ; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir 131cdf0e10cSrcweir FixedText TXT_QUERYMSG 132cdf0e10cSrcweir { 133cdf0e10cSrcweir NoLabel = TRUE; 134cdf0e10cSrcweir WordBreak = TRUE; 135cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 19 ) ; 136cdf0e10cSrcweir Size = MAP_APPFONT ( 209 , 22 ) ; 137cdf0e10cSrcweir Text [ en-US ] = "Are you sure you want to delete the selected data?" ; 138cdf0e10cSrcweir }; 139cdf0e10cSrcweir 140cdf0e10cSrcweir PushButton BTN_YES 141cdf0e10cSrcweir { 142cdf0e10cSrcweir HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_YES"; 143cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 47 ) ; 144cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 145cdf0e10cSrcweir TabStop = TRUE ; 146cdf0e10cSrcweir DefButton = TRUE ; 147cdf0e10cSrcweir Text [ en-US ] = "~Delete" ; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir 150cdf0e10cSrcweir PushButton BTN_ALL 151cdf0e10cSrcweir { 152cdf0e10cSrcweir HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_ALL"; 153cdf0e10cSrcweir Pos = MAP_APPFONT ( 59 , 47 ) ; 154cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 155cdf0e10cSrcweir TabStop = TRUE ; 156cdf0e10cSrcweir Disable = TRUE ; 157cdf0e10cSrcweir Text [ en-US ] = "Delete ~All" ; 158cdf0e10cSrcweir }; 159cdf0e10cSrcweir 160cdf0e10cSrcweir PushButton BTN_NO 161cdf0e10cSrcweir { 162cdf0e10cSrcweir HelpID = "svtools:PushButton:DLG_SVT_QUERYDELETE:BTN_NO"; 163cdf0e10cSrcweir Pos = MAP_APPFONT ( 112 , 47 ) ; 164cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 165cdf0e10cSrcweir TabStop = TRUE ; 166cdf0e10cSrcweir Text [ en-US ] = "Do ~Not Delete" ; 167cdf0e10cSrcweir }; 168cdf0e10cSrcweir 169cdf0e10cSrcweir CancelButton BTN_CANCEL 170cdf0e10cSrcweir { 171cdf0e10cSrcweir Pos = MAP_APPFONT ( 165 , 47 ) ; 172cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 173cdf0e10cSrcweir TabStop = TRUE ; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir}; 176cdf0e10cSrcweir 177cdf0e10cSrcweir 178cdf0e10cSrcweir 179cdf0e10cSrcweir 180cdf0e10cSrcweir 181cdf0e10cSrcweir 182cdf0e10cSrcweir 183cdf0e10cSrcweir 184cdf0e10cSrcweir 185cdf0e10cSrcweir 186cdf0e10cSrcweir 187cdf0e10cSrcweir 188cdf0e10cSrcweir 189cdf0e10cSrcweir 190cdf0e10cSrcweir 191cdf0e10cSrcweir 192cdf0e10cSrcweir 193cdf0e10cSrcweir 194cdf0e10cSrcweir 195cdf0e10cSrcweir 196cdf0e10cSrcweir 197