1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#ifndef _DBU_APP_HRC_ 28#include "dbu_app.hrc" 29#endif 30#ifndef _GLOBLMN_HRC 31#include <svx/globlmn.hrc> 32#endif 33#ifndef _CNTIDS_HRC 34#include <sfx2/cntids.hrc> 35#endif 36#ifndef DBACCESS_UI_BROWSER_ID_HXX 37#include "browserids.hxx" 38#endif 39#ifndef _DBA_DBACCESS_HELPID_HRC_ 40#include "dbaccess_helpid.hrc" 41#endif 42#ifndef DBAUI_TOOLBOX_HXX 43#include "toolbox.hrc" 44#endif 45 46#define MN_PROPS 25 47 48 49String RID_STR_NEW_FORM 50{ 51 Text [ en-US ] = "Create Form in Design View..." ; 52}; 53 54String RID_STR_NEW_FORM_AUTO 55{ 56 Text [ en-US ] = "Use Wizard to Create Form..." ; 57}; 58 59String RID_STR_NEW_REPORT_AUTO 60{ 61 Text [ en-US ] = "Use Wizard to Create Report..." ; 62}; 63 64String RID_STR_NEW_REPORT 65{ 66 Text [ en-US ] = "Create Report in Design View..." ; 67}; 68 69String RID_STR_NEW_QUERY 70{ 71 Text [ en-US ] = "Create Query in Design View..." ; 72}; 73 74String RID_STR_NEW_QUERY_SQL 75{ 76 Text [ en-US ] = "Create Query in SQL View..." ; 77}; 78 79String RID_STR_NEW_QUERY_AUTO 80{ 81 Text [ en-US ] = "Use Wizard to Create Query..." ; 82}; 83String RID_STR_NEW_TABLE 84{ 85 Text [ en-US ] = "Create Table in Design View..." ; 86}; 87 88String RID_STR_NEW_TABLE_AUTO 89{ 90 Text [ en-US ] = "Use Wizard to Create Table..." ; 91}; 92String RID_STR_NEW_VIEW 93{ 94 Text [ en-US ] = "Create View..." ; 95}; 96 97String RID_STR_FORMS_CONTAINER 98{ 99 Text [ en-US ] = "Forms" ; 100}; 101 102String RID_STR_REPORTS_CONTAINER 103{ 104 Text [ en-US ] = "Reports" ; 105}; 106 107Menu RID_MENU_APP_NEW 108{ 109 ItemList = 110 { 111 MenuItem 112 { 113 Identifier = SID_APP_NEW_FORM; 114 Command = ".uno:DBNewForm"; 115 Text [ en-US ] = "Form..." ; 116 }; 117 MenuItem 118 { 119 Identifier = SID_APP_NEW_REPORT; 120 Command = ".uno:DBNewReport"; 121 Text [ en-US ] = "Report..." ; 122 }; 123 MenuItem 124 { 125 MID_DOCUMENT_CREATE_REPWIZ 126 Command = ".uno:DBNewReportAutoPilot"; 127 }; 128 MenuItem 129 { 130 MID_QUERY_NEW_DESIGN 131 Command = ".uno:DBNewQuery"; 132 }; 133 MenuItem 134 { 135 MID_QUERY_NEW_SQL 136 Command = ".uno:DBNewQuerySql"; 137 }; 138 MenuItem 139 { 140 Separator = TRUE; 141 }; 142 MenuItem 143 { 144 MID_NEW_TABLE_DESIGN 145 Command = ".uno:DBNewTable"; 146 }; 147 MenuItem 148 { 149 MID_NEW_VIEW_DESIGN 150 Command = ".uno:DBNewView"; 151 }; 152 MenuItem 153 { 154 Identifier = SID_DB_NEW_VIEW_SQL; 155 Command = ".uno:DBNewViewSQL"; 156 Text [ en-US ] = "View (Simple)..." ; 157 }; 158 159 }; 160}; 161 162Menu RID_MENU_APP_EDIT 163{ 164 ItemList = 165 { 166 MenuItem 167 { 168 ITEM_EDIT_COPY 169 }; 170 MenuItem 171 { 172 ITEM_EDIT_PASTE 173 }; 174 MenuItem 175 { 176 Identifier = SID_DB_APP_PASTE_SPECIAL; 177 Text[ en-US ] = "Paste Special..."; 178 Command = ".uno:PasteSpecial"; 179 }; 180 MenuItem 181 { 182 Separator = TRUE ; 183 }; 184 MenuItem 185 { 186 Identifier = SID_DB_APP_DELETE; 187 Text[ en-US ] = "Delete"; 188 Command = ".uno:DBDelete"; 189 }; 190 MenuItem 191 { 192 Identifier = SID_DB_APP_RENAME; 193 Text[ en-US ] = "Rename"; 194 Command = ".uno:DBRename"; 195 }; 196 MenuItem 197 { 198 Identifier = SID_DB_APP_EDIT; 199 Text[ en-US ] = "Edit"; 200 Command = ".uno:DBEdit"; 201 }; 202 MenuItem 203 { 204 Identifier = SID_DB_APP_EDIT_SQL_VIEW; 205 Text [ en-US ] = "Edit in SQL View..."; 206 Command = ".uno:DBEditSqlView"; 207 }; 208 MenuItem 209 { 210 Identifier = SID_DB_APP_OPEN; 211 Text[ en-US ] = "Open"; 212 Command = ".uno:DBOpen"; 213 }; 214 MenuItem 215 { 216 Identifier = SID_DB_APP_CONVERTTOVIEW; 217 Text[ en-US ] = "Create as View"; 218 Command = ".uno:DBConvertToView"; 219 }; 220 MenuItem 221 { 222 Identifier = SID_FORM_CREATE_REPWIZ_PRE_SEL; 223 Text [ en-US ] = "Form Wizard..."; 224 Command = ".uno:DBNewFormAutoPilotWithPreSelection"; 225 }; 226 MenuItem 227 { 228 Identifier = SID_APP_NEW_REPORT_PRE_SEL; 229 Command = ".uno:DBNewReportWithPreSelection"; 230 Text [ en-US ] = "Report..." ; 231 }; 232 MenuItem 233 { 234 Identifier = SID_REPORT_CREATE_REPWIZ_PRE_SEL ; 235 Text[ en-US ] = "Report Wizard..."; 236 237 Command = ".uno:DBNewReportAutoPilotWithPreSelection"; 238 }; 239 MenuItem 240 { 241 Separator = TRUE ; 242 }; 243 MenuItem 244 { 245 Identifier = SID_SELECTALL; 246 Text[ en-US ] = "Select All"; 247 Command = ".uno:SelectAll"; 248 }; 249 MenuItem 250 { 251 Separator = TRUE ; 252 }; 253 MenuItem 254 { 255 Identifier = MN_PROPS; 256 Text[ en-US ] = "~Database"; 257 SubMenu = Menu 258 { 259 ItemList = 260 { 261 MenuItem 262 { 263 Identifier = SID_DB_APP_DSPROPS; 264 Text[ en-US ] = "Properties..."; 265 Command = ".uno:DBDSProperties"; 266 }; 267 MenuItem 268 { 269 Identifier = SID_DB_APP_DSCONNECTION_TYPE; 270 Text[ en-US ] = "Connection Type..."; 271 Command = ".uno:DBDSConnectionType"; 272 }; 273 MenuItem 274 { 275 Identifier = SID_DB_APP_DSADVANCED_SETTINGS; 276 Text[ en-US ] = "Advanced Settings..."; 277 Command = ".uno:DBDSAdvancedSettings"; 278 }; 279 }; 280 }; 281 }; 282 }; 283}; 284 285String STR_QUERY_DELETE_DATASOURCE 286{ 287 Text [ en-US ] = "Do you want to delete the data source '%1'?" ; 288}; 289 290String STR_APP_TITLE 291{ 292 Text [ en-US ] = " - %PRODUCTNAME Base" ; 293}; 294 295String RID_STR_REPORTS_HELP_TEXT_WIZARD 296{ 297 Text [ en-US ] = "The wizard will guide you through the steps necessary to create a report." ; 298}; 299String RID_STR_FORMS_HELP_TEXT 300{ 301 Text [ en-US ] = "Create a form by specifying the record source, controls, and control properties." ; 302}; 303String RID_STR_REPORT_HELP_TEXT 304{ 305 Text [ de ] ="Erstellen Sie einen Bericht, indem Sie die Datensatzquelle, Steuerelemente und Steuerelementeigenschaften angeben." ; 306 Text [ en-US ] = "Create a report by specifying the record source, controls, and control properties." ; 307}; 308String RID_STR_FORMS_HELP_TEXT_WIZARD 309{ 310 Text [ en-US ] = "The wizard will guide you through the steps necessary to create a form." ; 311}; 312String RID_STR_QUERIES_HELP_TEXT 313{ 314 Text [ en-US ] = "Create a query by specifying the filters, input tables, field names, and properties for sorting or grouping." ; 315}; 316String RID_STR_QUERIES_HELP_TEXT_SQL 317{ 318 Text [ en-US ] = "Create a query entering an SQL statement directly." ; 319}; 320String RID_STR_QUERIES_HELP_TEXT_WIZARD 321{ 322 Text [ en-US ] = "The wizard will guide you through the steps necessary to create a query." ; 323}; 324String RID_STR_TABLES_HELP_TEXT_DESIGN 325{ 326 Text [ en-US ] = "Create a table by specifying the field names and properties, as well as the data types." ; 327}; 328String RID_STR_TABLES_HELP_TEXT_WIZARD 329{ 330 Text [ en-US ] = "Choose from a selection of business and personal table samples, which you customize to create a table." ; 331}; 332String RID_STR_VIEWS_HELP_TEXT_DESIGN 333{ 334 Text [ en-US ] = "Create a view by specifying the tables and field names you would like to have visible." ; 335}; 336String RID_STR_VIEWS_HELP_TEXT_WIZARD 337{ 338 Text [ en-US ] = "Opens the view wizard" ; 339}; 340 341String STR_DATABASE 342{ 343 Text [ en-US ] = "Database" ; 344}; 345String STR_TASKS 346{ 347 Text [ en-US ] = "Tasks" ; 348}; 349String STR_DESCRIPTION 350{ 351 Text [ en-US ] = "Description" ; 352}; 353String STR_PREVIEW 354{ 355 Text [ en-US ] = "Preview" ; 356}; 357String STR_DISABLEPREVIEW 358{ 359 Text [ en-US ] = "Disable Preview" ; 360}; 361QueryBox APP_SAVEMODIFIED 362{ 363 Buttons = WB_YES_NO_CANCEL ; 364 DefButton = WB_DEF_YES ; 365 Message [ en-US ] = "The database has been modified.\nDo you want to save the changes?" ; 366}; 367QueryBox APP_CLOSEDOCUMENTS 368{ 369 Buttons = WB_YES_NO ; 370 DefButton = WB_DEF_YES ; 371 Message [ en-US ] = "The connection type has been altered.\nFor the changes to take effect, all forms, reports, queries and tables must be closed.\n\nDo you want to close all documents now?" ; 372}; 373 374Menu RID_MENU_APP_PREVIEW 375{ 376 ItemList = 377 { 378 MenuItem 379 { 380 Identifier = SID_DB_APP_DISABLE_PREVIEW; 381 Text[ en-US ] = "None"; 382 Command = ".uno:DBDisablePreview"; 383 Checkable = TRUE; 384 RadioCheck = TRUE; 385 AutoCheck = TRUE; 386 }; 387 MenuItem 388 { 389 Identifier = SID_DB_APP_VIEW_DOCINFO_PREVIEW; 390 Text[ en-US ] = "Document Information"; 391 Command = ".uno:DBShowDocInfoPreview"; 392 Checkable = TRUE; 393 RadioCheck = TRUE; 394 AutoCheck = TRUE; 395 }; 396 MenuItem 397 { 398 Identifier = SID_DB_APP_VIEW_DOC_PREVIEW; 399 Text[ en-US ] = "Document"; 400 Command = ".uno:DBShowDocPreview"; 401 Checkable = TRUE; 402 RadioCheck = TRUE; 403 AutoCheck = TRUE; 404 }; 405 }; 406}; 407String RID_STR_FORM 408{ 409 Text [ en-US ] = "Form"; 410}; 411 412String RID_STR_REPORT 413{ 414 Text [ en-US ] = "Report"; 415}; 416String STR_FRM_LABEL 417{ 418 Text [ en-US ] = "F~orm name" ; 419}; 420String STR_RPT_LABEL 421{ 422 Text [ en-US ] = "~Report name" ; 423}; 424 425String STR_FOLDER_LABEL 426{ 427 Text [ en-US ] = "F~older name" ; 428}; 429 430String STR_SUB_DOCS_WITH_SCRIPTS 431{ 432 Text [ en-US ] = "The document contains forms or reports with embedded macros."; 433}; 434 435String STR_SUB_DOCS_WITH_SCRIPTS_DETAIL 436{ 437 Text [ en-US ] = "Macros should be embedded into the database document itself.\n\n" 438 439 "You can continue to use your document as before, however, you are encouraged to migrate " 440 "your macros. The menu item 'Tools / Migrate Macros ...' will assist you with this.\n\n" 441 442 "Note that you won't be able to embed macros into the database document itself until " 443 "this migration is done. "; 444}; 445 446String RID_STR_EMBEDDED_DATABASE 447{ 448 Text [ en-US ] = "Embedded database"; 449}; 450String RID_STR_NO_DIFF_CAT 451{ 452 Text [ en-US ] = "You cannot select different categories."; 453}; 454String RID_STR_UNSUPPORTED_OBJECT_TYPE 455{ 456 Text [ en-US ] = "Unsupported object type found ($type$)."; 457}; 458