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#include "baside2.hrc" 25#include <helpid.hrc> 26#ifndef _GLOBLMN_HRC 27#include <svx/globlmn.hrc> 28#endif 29#include "dlgresid.hrc" 30#include <sfx2/sfxcommands.h> 31#include <svx/svxcommands.h> 32 33#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; } ; 34 35String RID_STR_IDENAME 36{ 37 Text = "BasicIDE" ; 38}; 39String RID_STR_FILTER_ALLFILES 40{ 41 Text [ en-US ] = "<All>" ; 42}; 43String RID_STR_NOMODULE 44{ 45 Text [ en-US ] = "< No Module >" ; 46}; 47String RID_STR_WRONGPASSWORD 48{ 49 Text [ en-US ] = "Incorrect Password" ; 50}; 51String RID_STR_OPEN 52{ 53 Text [ en-US ] = "Load" ; 54}; 55String RID_STR_SAVE 56{ 57 Text [ en-US ] = "Save" ; 58}; 59String RID_STR_SOURCETOBIG 60{ 61 Text [ en-US ] = "The source text is too large and can be neither compiled nor saved.\nDelete some of the comments or transfer some methods into another module." ; 62}; 63String RID_STR_ERROROPENSTORAGE 64{ 65 Text [ en-US ] = "Error opening file" ; 66}; 67String RID_STR_ERROROPENLIB 68{ 69 Text [ en-US ] = "Error loading library" ; 70}; 71String RID_STR_NOLIBINSTORAGE 72{ 73 Text [ en-US ] = "The file does not contain any BASIC libraries" ; 74}; 75String RID_STR_BADSBXNAME 76{ 77 Text [ en-US ] = "Invalid Name" ; 78}; 79String RID_STR_LIBNAMETOLONG 80{ 81 Text [ en-US ] = "A library name can have up to 30 characters." ; 82}; 83String RID_STR_ERRORCHOOSEMACRO 84{ 85 Text [ en-US ] = "Macros from other documents are not accessible." ; 86}; 87String RID_STR_LIBISREADONLY 88{ 89 Text [ en-US ] = "This library is read-only." ; 90}; 91String RID_STR_REPLACELIB 92{ 93 Text [ en-US ] = "'XX' cannot be replaced." ; 94}; 95String RID_STR_IMPORTNOTPOSSIBLE 96{ 97 Text [ en-US ] = "'XX' cannot be added." ; 98}; 99String RID_STR_NOIMPORT 100{ 101 Text [ en-US ] = "'XX' was not added." ; 102}; 103String RID_STR_ENTERPASSWORD 104{ 105 Text [ en-US ] = "Enter password for 'XX'" ; 106}; 107String RID_STR_SBXNAMEALLREADYUSED 108{ 109 Text [ en-US ] = "Name already exists" ; 110}; 111String RID_STR_SIGNED 112{ 113 Text [ en-US ] = "(Signed)" ; 114}; 115String RID_STR_SBXNAMEALLREADYUSED2 116{ 117 Text [ en-US ] = "Object with same name already exists" ; 118}; 119String RID_STR_FILEEXISTS 120{ 121 Text [ en-US ] = "The 'XX' file already exists" ; 122}; 123String RID_STR_CANNOTRUNMACRO 124{ 125 Text [ en-US ] = "For security reasons, you cannot run this macro.\n\nFor more information, check the security settings." ; 126}; 127String RID_STR_COMPILEERROR 128{ 129 Text [ en-US ] = "Compile Error: " ; 130}; 131String RID_STR_RUNTIMEERROR 132{ 133 Text [ en-US ] = "Runtime Error: #" ; 134}; 135String RID_STR_SEARCHNOTFOUND 136{ 137 Text [ en-US ] = "Search key not found" ; 138}; 139String RID_STR_SEARCHFROMSTART 140{ 141 Text [ en-US ] = "Search to last module complete. Continue at first module?" ; 142}; 143String RID_STR_SEARCHREPLACES 144{ 145 Text [ en-US ] = "Search key replaced XX times" ; 146}; 147String RID_STR_COULDNTREAD 148{ 149 Text [ en-US ] = "The file could not be read" ; 150}; 151String RID_STR_COULDNTWRITE 152{ 153 Text [ en-US ] = "The file could not be saved" ; 154}; 155String RID_STR_CANNOTCHANGENAMESTDLIB 156{ 157 Text [ en-US ] = "The name of the default library cannot be changed." ; 158}; 159String RID_STR_CANNOTCHANGENAMEREFLIB 160{ 161 Text [ en-US ] = "The name of a referenced library cannot be changed." ; 162}; 163String RID_STR_CANNOTUNLOADSTDLIB 164{ 165 Text [ en-US ] = "The default library cannot be deactivated" ; 166}; 167String RID_STR_GENERATESOURCE 168{ 169 Text [ en-US ] = "Generating source" ; 170}; 171String RID_STR_FILENAME 172{ 173 Text [ en-US ] = "File name:" ; 174}; 175String RID_STR_APPENDLIBS 176{ 177 Text [ en-US ] = "Import Libraries" ; 178}; 179String RID_STR_QUERYDELMACRO 180{ 181 Text [ en-US ] = "Do you want to delete the macro XX?" ; 182}; 183String RID_STR_QUERYDELDIALOG 184{ 185 Text [ en-US ] = "Do you want to delete the XX dialog?" ; 186}; 187String RID_STR_QUERYDELLIB 188{ 189 Text [ en-US ] = "Do you want to delete the XX library?" ; 190}; 191String RID_STR_QUERYDELLIBREF 192{ 193 Text [ en-US ] = "Do you want to delete the reference to the XX library?" ; 194}; 195String RID_STR_QUERYDELMODULE 196{ 197 Text [ en-US ] = "Do you want to delete the XX module?" ; 198}; 199String RID_STR_OBJNOTFOUND 200{ 201 Text [ en-US ] = "Object or method not found" ; 202}; 203String RID_STR_BASIC 204{ 205 Text [ en-US ] = "BASIC" ; 206}; 207String RID_STR_LINE 208{ 209 // Abbreviation for 'Line' 210 Text [ en-US ] = "Ln" ; 211}; 212String RID_STR_COLUMN 213{ 214 // Abbreviation for 'Column' 215 Text [ en-US ] = "Col" ; 216}; 217String RID_STR_DOC 218{ 219 Text [ en-US ] = "Document" ; 220}; 221String RID_BASICIDE_OBJECTBAR 222{ 223 Text [ en-US ] = "Macro Bar" ; 224}; 225String RID_STR_CANNOTCLOSE 226{ 227 Text [ en-US ] = "The window cannot be closed while BASIC is running." ; 228}; 229String RID_STR_REPLACESTDLIB 230{ 231 Text [ en-US ] = "The default library cannot be replaced." ; 232}; 233String RID_STR_REFNOTPOSSIBLE 234{ 235 Text [ en-US ] = "Reference to 'XX' not possible." ; 236}; 237String RID_STR_WATCHNAME 238{ 239 Text [ en-US ] = "Watch" ; 240}; 241String RID_STR_WATCHVARIABLE 242{ 243 Text [ en-US ] = "Variable" ; 244}; 245String RID_STR_WATCHVALUE 246{ 247 Text [ en-US ] = "Value" ; 248}; 249String RID_STR_WATCHTYPE 250{ 251 Text [ en-US ] = "Type" ; 252}; 253String RID_STR_STACKNAME 254{ 255 Text [ en-US ] = "Call Stack" ; 256}; 257String RID_STR_INITIDE 258{ 259 Text [ en-US ] = "BASIC Initialization" ; 260}; 261String RID_STR_STDMODULENAME 262{ 263 Text [ en-US ] = "Module" ; 264}; 265String RID_STR_STDDIALOGNAME 266{ 267 Text [ en-US ] = "Dialog" ; 268}; 269String RID_STR_STDLIBNAME 270{ 271 Text [ en-US ] = "Library" ; 272}; 273String RID_STR_NEWLIB 274{ 275 Text [ en-US ] = "New Library" ; 276}; 277String RID_STR_NEWMOD 278{ 279 Text [ en-US ] = "New Module" ; 280}; 281String RID_STR_NEWDLG 282{ 283 Text [ en-US ] = "New Dialog" ; 284}; 285String RID_STR_ALL 286{ 287 Text [ en-US ] = "All" ; 288}; 289String RID_STR_PAGE 290{ 291 Text [ en-US ] = "Page" ; 292}; 293String RID_STR_MACRONAMEREQ 294{ 295 Text [ en-US ] = "A name must be entered." ; 296}; 297String RID_STR_WILLSTOPPRG 298{ 299 Text [ en-US ] = "You will have to restart the program after this edit.\nContinue?" ; 300}; 301String RID_STR_SEARCHALLMODULES 302{ 303 Text [ en-US ] = "Do you want to replace the text in all active modules?" ; 304}; 305Edit RID_EDT_WATCHEDIT 306{ 307 HelpId = HID_BASICIDE_WATCHWINDOW_EDIT ; 308 Border = TRUE ; 309 SvLook = TRUE ; 310 Size = MAP_APPFONT ( 80, 12 ) ; 311}; 312ImageButton RID_IMGBTN_REMOVEWATCH 313{ 314 HelpId = HID_BASICIDE_REMOVEWATCH ; 315 SmallStyle = TRUE ; 316 ButtonImage = Image 317 { 318 ImageBitmap = Bitmap {File = "baswatr.png" ;} ; 319 }; 320 QuickHelpText [ en-US ] = "Remove Watch" ; 321}; 322Image RID_IMG_REMOVEWATCH_HC 323{ 324 ImageBitmap = Bitmap {File = "baswatr_h.png" ;} ; 325}; 326ImageButton RID_IMGBTN_GOTOCALL 327{ 328 HelpId = HID_BASICIDE_GOTOALL ; 329 SmallStyle = TRUE ; 330 ButtonImage = Image 331 { 332 ImageBitmap = Bitmap {File = "basgocl.png" ;} ; 333 }; 334}; 335String RID_STR_REMOVEWATCH 336{ 337 Text [ en-US ] = "Watch:" ; 338}; 339String RID_STR_STACK 340{ 341 Text [ en-US ] = "Calls: " ; 342}; 343String RID_STR_USERMACROS 344{ 345 Text [ en-US ] = "My Macros" ; 346}; 347String RID_STR_USERDIALOGS 348{ 349 Text [ en-US ] = "My Dialogs" ; 350}; 351String RID_STR_USERMACROSDIALOGS 352{ 353 Text [ en-US ] = "My Macros & Dialogs" ; 354}; 355String RID_STR_SHAREMACROS 356{ 357 Text [ en-US ] = "%PRODUCTNAME Macros" ; 358}; 359String RID_STR_SHAREDIALOGS 360{ 361 Text [ en-US ] = "%PRODUCTNAME Dialogs" ; 362}; 363String RID_STR_SHAREMACROSDIALOGS 364{ 365 Text [ en-US ] = "%PRODUCTNAME Macros & Dialogs" ; 366}; 367Menu RID_POPUP_BRKPROPS 368{ 369 Text [ en-US ] = "Properties" ; 370 DefaultItemId = RID_BRKPROPS ; 371 ItemList = 372 { 373 MenuItem 374 { 375 Identifier = RID_ACTIV ; 376 HelpId = HID_BASICIDE_ACTIV ; 377 Text [ en-US ] = "Active" ; 378 }; 379 MenuItem 380 { 381 Separator = TRUE ; 382 }; 383 MenuItem 384 { 385 Identifier = RID_BRKPROPS ; 386 HelpId = HID_BASICIDE_BRKPROPS ; 387 Text [ en-US ] = "Properties..." ; 388 }; 389 }; 390}; 391Menu RID_POPUP_BRKDLG 392{ 393 Text [ en-US ] = "Manage Breakpoints" ; 394 ItemList = 395 { 396 MenuItem 397 { 398 Identifier = RID_BRKDLG ; 399 HelpId = HID_BASICIDE_BRKDLG ; 400 Text [ en-US ] = "Manage Breakpoints..." ; 401 }; 402 }; 403}; 404Menu RID_POPUP_TABBAR 405{ 406 DefaultItemId = SID_BASICIDE_HIDECURPAGE ; 407 ItemList = 408 { 409 MenuItem 410 { 411 Identifier = RID_INSERT ; 412 Text [ en-US ] = "Insert" ; 413 Submenu = Menu 414 { 415 ItemList = 416 { 417 MenuItem 418 { 419 Identifier = SID_BASICIDE_NEWMODULE ; 420 HelpId = CMD_SID_BASICIDE_NEWMODULE ; 421 Text [ en-US ] = "BASIC Module" ; 422 }; 423 MenuItem 424 { 425 Identifier = SID_BASICIDE_NEWDIALOG ; 426 HelpId = CMD_SID_BASICIDE_NEWDIALOG ; 427 Text [ en-US ] = "BASIC Dialog" ; 428 }; 429 }; 430 }; 431 }; 432 MenuItem 433 { 434 Identifier = SID_BASICIDE_DELETECURRENT ; 435 HelpId = CMD_SID_BASICIDE_DELETECURRENT ; 436 Text [ en-US ] = "Delete" ; 437 }; 438 MenuItem 439 { 440 Identifier = SID_BASICIDE_RENAMECURRENT ; 441 HelpId = CMD_SID_BASICIDE_RENAMECURRENT ; 442 Text [ en-US ] = "Rename" ; 443 }; 444 MenuItem 445 { 446 Identifier = SID_BASICIDE_HIDECURPAGE ; 447 HelpId = CMD_SID_BASICIDE_HIDECURPAGE ; 448 Text [ en-US ] = "Hide" ; 449 }; 450 MenuItem 451 { 452 Separator = TRUE ; 453 }; 454 MenuItem 455 { 456 Identifier = SID_BASICIDE_MODULEDLG ; 457 HelpId = CMD_SID_BASICIDE_MODULEDLG ; 458 Text [ en-US ] = "Modules..." ; 459 }; 460 }; 461}; 462Menu RID_POPUP_DLGED 463{ 464 DefaultItemId = SID_SHOW_PROPERTYBROWSER ; 465 ItemList = 466 { 467 MenuItem 468 { 469 Identifier = SID_SHOW_PROPERTYBROWSER ; 470 HelpId = CMD_SID_SHOW_PROPERTYBROWSER ; 471 Text [ en-US ] = "Properties..." ; 472 }; 473 }; 474}; 475ImageList RID_IMGLST_LAYOUT 476{ 477 Prefix = "im" ; 478 MASKCOLOR 479 IdList = 480 { 481 IMGID_BRKENABLED ; 482 IMGID_BRKDISABLED ; 483 IMGID_STEPMARKER ; 484 IMGID_ERRORMARKER ; 485 }; 486}; 487ImageList RID_IMGLST_LAYOUT_HC 488{ 489 Prefix = "imh" ; 490 MASKCOLOR 491 IdList = 492 { 493 IMGID_BRKENABLED ; 494 IMGID_BRKDISABLED ; 495 IMGID_STEPMARKER ; 496 IMGID_ERRORMARKER ; 497 }; 498}; 499Image RID_IMG_LOCKED 500{ 501 ImageBitmap = Bitmap {File = "locked.png" ;} ; 502}; 503Image RID_IMG_LOCKED_HC 504{ 505 ImageBitmap = Bitmap {File = "locked_h.png" ;} ; 506}; 507Image RID_IMG_INSTALLATION 508{ 509 ImageBitmap = Bitmap {File = "harddisk_16.png" ;} ; 510}; 511Image RID_IMG_INSTALLATION_HC 512{ 513 ImageBitmap = Bitmap {File = "harddisk_16_h.png" ;} ; 514}; 515Image RID_IMG_DOCUMENT 516{ 517 ImageBitmap = Bitmap {File = "im30826.png" ;} ; 518}; 519Image RID_IMG_DOCUMENT_HC 520{ 521 ImageBitmap = Bitmap {File = "imh30826.png" ;} ; 522}; 523Image RID_IMG_MODLIB 524{ 525 ImageBitmap = Bitmap {File = "im30820.png" ;} ; 526}; 527Image RID_IMG_MODLIB_HC 528{ 529 ImageBitmap = Bitmap {File = "imh30820.png" ;} ; 530}; 531Image RID_IMG_MODLIBNOTLOADED 532{ 533 ImageBitmap = Bitmap {File = "im30827.png" ;} ; 534}; 535Image RID_IMG_MODLIBNOTLOADED_HC 536{ 537 ImageBitmap = Bitmap {File = "imh30827.png" ;} ; 538}; 539Image RID_IMG_MODULE 540{ 541 ImageBitmap = Bitmap {File = "im30821.png" ;} ; 542}; 543Image RID_IMG_MODULE_HC 544{ 545 ImageBitmap = Bitmap {File = "imh30821.png" ;} ; 546}; 547Image RID_IMG_MACRO 548{ 549 ImageBitmap = Bitmap {File = "im30822.png" ;} ; 550}; 551Image RID_IMG_MACRO_HC 552{ 553 ImageBitmap = Bitmap {File = "imh30822.png" ;} ; 554}; 555Image RID_IMG_DLGLIB 556{ 557 ImageBitmap = Bitmap {File = "dialogfolder_16.png" ;} ; 558}; 559Image RID_IMG_DLGLIB_HC 560{ 561 ImageBitmap = Bitmap {File = "dialogfolder_16_h.png" ;} ; 562}; 563Image RID_IMG_DLGLIBNOTLOADED 564{ 565 ImageBitmap = Bitmap {File = "dialogfoldernot_16.png" ;} ; 566}; 567Image RID_IMG_DLGLIBNOTLOADED_HC 568{ 569 ImageBitmap = Bitmap {File = "dialogfoldernot_16_h.png" ;} ; 570}; 571Image RID_IMG_DIALOG 572{ 573 ImageBitmap = Bitmap {File = "im30823.png" ;} ; 574}; 575Image RID_IMG_DIALOG_HC 576{ 577 ImageBitmap = Bitmap {File = "imh30823.png" ;} ; 578}; 579String RID_STR_QUERYREPLACEMACRO 580{ 581 Text [ en-US ] = "Do you want to overwrite the XX macro?" ; 582}; 583String RID_STR_TRANSLATION_NOTLOCALIZED 584{ 585 Text [ en-US ] = "<Not localized>" ; 586}; 587String RID_STR_TRANSLATION_DEFAULT 588{ 589 Text [ en-US ] = "[Default Language]" ; 590}; 591String RID_STR_DOCUMENT_OBJECTS 592{ 593 Text [ en-US ] = "Document Objects" ; 594}; 595String RID_STR_USERFORMS 596{ 597 Text [ en-US ] = "Forms" ; 598}; 599String RID_STR_NORMAL_MODULES 600{ 601 Text [ en-US ] = "Modules" ; 602}; 603String RID_STR_CLASS_MODULES 604{ 605 Text [ en-US ] = "Class Modules" ; 606}; 607 608 609String RID_STR_DLGIMP_CLASH_RENAME 610{ 611 Text [ en-US ] = "Rename" ; 612}; 613 614String RID_STR_DLGIMP_CLASH_REPLACE 615{ 616 Text [ en-US ] = "Replace" ; 617}; 618 619String RID_STR_DLGIMP_CLASH_TITLE 620{ 621 Text [ en-US ] = "Dialog Import - Name already used" ; 622}; 623 624String RID_STR_DLGIMP_CLASH_TEXT 625{ 626 Text [ en-US ] = "The library already contains a dialog with the name:\n\n$(ARG1)\n\nRename dialog to keep current dialog or replace existing dialog.\n " ; 627}; 628 629String RID_STR_DLGIMP_MISMATCH_ADD 630{ 631 Text [ en-US ] = "Add" ; 632}; 633 634String RID_STR_DLGIMP_MISMATCH_OMIT 635{ 636 Text [ en-US ] = "Omit" ; 637}; 638 639String RID_STR_DLGIMP_MISMATCH_TITLE 640{ 641 Text [ en-US ] = "Dialog Import - Language Mismatch" ; 642}; 643 644String RID_STR_DLGIMP_MISMATCH_TEXT 645{ 646 Text [ en-US ] = "The dialog to be imported supports other languages than the target library.\n\nAdd these languages to the library to keep additional language resources provided by the dialog or omit them to stay with the current library languages.\n\nNote: For languages not supported by the dialog the resources of the dialog's default language will be used.\n " ; 647}; 648 649 650#define MN_EDIT 20 651#define MN_VIEW 21 652#define MN_EXTRA 22 653#define MN_WIN 30 654#define MN_HELP 31 655#define MN_TEMPLATES 11 656 657#define MN_PLEDIT 20 658#define MN_PLVIEW 21 659#define MN_PLEXTRA 22 660#define MN_PLWIN 30 661#define MN_PLHELP 31 662#define MN_PLTEMPLATES 11 663 664 665/* 666The application menu bar resource has become obsolete. You can now find the menu bar definition at: 667<project>/basicide/menubar/menubar.xml. 668*/ 669 670// ********************************************************************** EOF 671