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#ifndef _DBA_DBACCESS_HELPID_HRC_ 24#include "dbaccess_helpid.hrc" 25#endif 26#ifndef _DBU_BRW_HRC_ 27#include "dbu_brw.hrc" 28#endif 29#ifndef DBACCESS_UI_BROWSER_ID_HXX 30#include "browserids.hxx" 31#endif 32// #include <sfx2/sfx.hrc> 33#ifndef _GLOBLMN_HRC 34#include <svx/globlmn.hrc> 35#endif 36#include "toolbox.hrc" 37 38QueryBox QUERY_BRW_SAVEMODIFIED 39{ 40 Buttons = WB_YES_NO_CANCEL ; 41 DefButton = WB_DEF_YES ; 42 /* ### ACHTUNG: Neuer Text in Resource? Soll der ge�nderte Datensatz gespeichert werden? : Soll der ge�nderte Datensatz gespeichert werden? */ 43 Message [ en-US ] = "The current record has been changed.\nDo you want to save the changes?" ; 44}; 45 46QueryBox QUERY_BRW_DELETE_ROWS 47{ 48 Buttons = WB_YES_NO ; 49 /* ### ACHTUNG: Neuer Text in Resource? Sollen die selektierten Daten gel�scht werden? : Sollen die selektierten Daten gel�scht werden? */ 50 Message [ en-US ] = "Do you want to delete the selected data?" ; 51}; 52 53String RID_STR_DATABROWSER_FILTERED 54{ 55 Text [ en-US ] = "(filtered)" ; 56}; 57 58String SBA_BROWSER_SETTING_ORDER 59{ 60 Text [ en-US ] = "Error setting the sort criteria"; 61}; 62String SBA_BROWSER_SETTING_FILTER 63{ 64 Text [ en-US ] = "Error setting the filter criteria"; 65}; 66 67String RID_STR_CONNECTION_LOST 68{ 69 Text [ en-US ] = "Connection lost"; 70}; 71 72String RID_STR_QUERIES_CONTAINER 73{ 74 Text [ en-US ] = "Queries"; 75}; 76 77String RID_STR_TABLES_CONTAINER 78{ 79 Text [ en-US ] = "Tables"; 80}; 81 82#define MID_EDIT_DATABASE \ 83 Identifier = ID_TREE_EDIT_DATABASE ; \ 84 HelpId = HID_BROWSER_EDIT_DATABASE; \ 85 Text [ en-US ] = "Edit ~Database File..." ;\ 86 87#define MID_ADMINISTRATE \ 88 Identifier = ID_TREE_ADMINISTRATE ; \ 89 HelpId = HID_BROWSER_ADMINISTRATE; \ 90 Text [ en-US ] = "Registered databases ..." ;\ 91 92#define MID_CLOSECONN \ 93 Identifier = ID_TREE_CLOSE_CONN ; \ 94 HelpId = HID_BROWSER_CLOSECONN ; \ 95 Text [ en-US ] = "Disco~nnect" ; \ 96 97Menu MENU_BROWSER_DEFAULTCONTEXT 98{ 99 ItemList = 100 { 101 MenuItem \ 102 { \ 103 MID_EDIT_DATABASE \ 104 }; \ 105 MenuItem \ 106 { \ 107 MID_CLOSECONN \ 108 }; \ 109 MenuItem \ 110 { \ 111 Separator = TRUE; \ 112 }; \ 113 MenuItem { ITEM_EDIT_COPY }; 114 MenuItem \ 115 { \ 116 Separator = TRUE; \ 117 }; \ 118 MenuItem \ 119 { \ 120 MID_ADMINISTRATE \ 121 }; 122 }; 123}; 124 125String STR_TITLE_CONFIRM_DELETION 126{ 127 Text [ en-US ] = "Confirm Deletion" ; 128}; 129 130String STR_QUERY_DELETE_TABLE 131{ 132 Text [ en-US ] = "Do you want to delete the table '%1'?" ; 133}; 134 135QueryBox QUERY_BRW_DELETE_QUERY_CONFIRM 136{ 137 Buttons = WB_YES_NO ; 138 Message [ en-US ] = "The query already exists. Do you want to delete it?" ; 139 }; 140 141QueryBox QUERY_CONNECTION_LOST 142{ 143 Buttons = WB_YES_NO ; 144 Message [ en-US ] = "The connection to the database has been lost. Do you want to reconnect?" ; 145 }; 146 147String STR_OPENTABLES_WARNINGS 148{ 149 Text [ en-US ] = "Warnings encountered"; 150}; 151 152String STR_OPENTABLES_WARNINGS_DETAILS 153{ 154 Text [ en-US ] = "While retrieving the tables, warnings were reported by the database connection."; 155}; 156 157String STR_CONNECTING_DATASOURCE 158{ 159 Text [ en-US ] = "Connecting to \"$name$\" ..."; 160 }; 161 162String STR_LOADING_QUERY 163{ 164 Text [ en-US ] = "Loading query $name$ ..."; 165 }; 166 167String STR_LOADING_TABLE 168{ 169 Text [ en-US ] = "Loading table $name$ ..."; 170 }; 171 172String STR_NO_TABLE_FORMAT_INSIDE 173{ 174 Text [ en-US ] = "No table format could be found." ; 175 }; 176 177String STR_COULDNOTCONNECT_DATASOURCE 178{ 179 Text [ en-US ] = "The connection to the data source \"$name$\" could not be established."; 180}; 181 182Menu RID_MENU_REFRESH_DATA 183{ 184 ItemList = 185 { 186 MenuItem 187 { 188 MID_SBA_QRY_REFRESH 189 Command = ".uno:Refresh"; 190 }; 191 MenuItem 192 { 193 Identifier = ID_BROWSER_REFRESH_REBUILD; 194 Command = ".uno:DBRebuildData"; 195 Text [ en-US ] = "Rebuild"; 196 }; 197 }; 198}; 199 200