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