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 28#include "misc.hrc" 29#include "glossary.hrc" 30#include "cmdid.h" 31#include "helpid.h" 32#include "access.hrc" 33 34 // #define DLG_GLOSSARY 256 35ModalDialog DLG_GLOSSARY 36{ 37 HelpID = CMD_FN_GLOSSARY_DLG ; 38 OutputSize = TRUE ; 39 SVLook = TRUE ; 40 Size = MAP_APPFONT ( 375 , 164 ) ; 41 Text [ en-US ] = "AutoText" ; 42 Moveable = TRUE ; 43 CheckBox CB_INSERT_TIP 44 { 45 HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_INSERT_TIP"; 46 Pos = MAP_APPFONT ( 12 , 12 ) ; 47 Size = MAP_APPFONT ( 200 , 12 ) ; 48 TabStop = TRUE ; 49 Text [ en-US ] = "~Display remainder of name as suggestion while typing" ; 50 }; 51 FixedText FT_NAME 52 { 53 Pos = MAP_APPFONT ( 12 , 31 ) ; 54 Size = MAP_APPFONT ( 40 , 8 ) ; 55 Text [ en-US ] = "~Name" ; 56 Left = TRUE ; 57 }; 58 Edit ED_NAME 59 { 60 HelpID = "sw:Edit:DLG_GLOSSARY:ED_NAME"; 61 Border = TRUE ; 62 Pos = MAP_APPFONT ( 55 , 29 ) ; 63 Size = MAP_APPFONT ( 85 , 12 ) ; 64 TabStop = TRUE ; 65 Left = TRUE ; 66 }; 67 FixedText FT_SHORTNAME 68 { 69 Disable = TRUE ; 70 Pos = MAP_APPFONT ( 143 , 31 ) ; 71 Size = MAP_APPFONT ( 57 , 8 ) ; 72 Text [ en-US ] = "~Shortcut" ; 73 Right = TRUE ; 74 }; 75 Edit ED_SHORTNAME 76 { 77 HelpID = "sw:Edit:DLG_GLOSSARY:ED_SHORTNAME"; 78 Disable = TRUE ; 79 Border = TRUE ; 80 Pos = MAP_APPFONT ( 203 , 29 ) ; 81 Size = MAP_APPFONT ( 21 , 12 ) ; 82 TabStop = TRUE ; 83 Left = TRUE ; 84 }; 85 Control LB_BIB 86 { 87 Border = TRUE ; 88 Pos = MAP_APPFONT ( 12 , 44 ) ; 89 Size = MAP_APPFONT ( 212 , 84 ) ; 90 TabStop = TRUE ; 91 // Sort = TRUE ; 92 // CurPos = 0 ; 93 String ST_READONLY 94 { 95 Text [ en-US ] = "read-only"; 96 }; 97 }; 98 FixedLine FL_RELATIVE 99 { 100 Pos = MAP_APPFONT ( 6 , 134 ) ; 101 Size = MAP_APPFONT ( 221 , 8 ) ; 102 Text [ en-US ] = "Save links relative to"; 103 }; 104 CheckBox CB_FILE_REL 105 { 106 HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_FILE_REL"; 107 Pos = MAP_APPFONT ( 14 , 145 ) ; 108 Size = MAP_APPFONT ( 90 , 12 ) ; 109 TabStop = TRUE ; 110 Text [ en-US ] = "~File system" ; 111 }; 112 CheckBox CB_NET_REL 113 { 114 HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_NET_REL"; 115 Pos = MAP_APPFONT ( 109 , 145 ) ; 116 Size = MAP_APPFONT ( 90 , 12 ) ; 117 Text [ en-US ] = "Inte~rnet" ; 118 }; 119 Window WIN_EXAMPLE 120 { 121 Pos = MAP_APPFONT ( 231 , 14 ) ; 122 Size = MAP_APPFONT ( 82 , 124 ) ; 123 }; 124 Window WIN_EXAMPLE_DUMMY 125 { 126 Pos = MAP_APPFONT ( 231 , 14 ) ; 127 Size = MAP_APPFONT ( 82 , 124 ) ; 128 Border = TRUE; 129 }; 130 CheckBox CB_SHOW_EXAMPLE 131 { 132 HelpID = "sw:CheckBox:DLG_GLOSSARY:CB_SHOW_EXAMPLE"; 133 Pos = MAP_APPFONT ( 231 , 145 ) ; 134 Size = MAP_APPFONT ( 82 , 12 ) ; 135 Text [ en-US ] = "Sho~w preview"; 136 }; 137 OKButton PB_INSERT 138 { 139 Pos = MAP_APPFONT ( 319 , 6 ) ; 140 Size = MAP_APPFONT ( 50 , 14 ) ; 141 /* ### ACHTUNG: Neuer Text in Resource? ~Einf�gen : ~Einf�gen */ 142 Text [ en-US ] = "~Insert" ; 143 /* ### ACHTUNG: Neuer Text in Resource? F�gt den aktuellen Textblock ein und schlie�t das Dialogfeld : F�gt den aktuellen Textblock ein und schlie�t das Dialogfeld */ 144 TabStop = TRUE ; 145 DefButton = TRUE ; 146 }; 147 CancelButton PB_CLOSE 148 { 149 Pos = MAP_APPFONT ( 319 , 23 ) ; 150 Size = MAP_APPFONT ( 50 , 14 ) ; 151 /* ### ACHTUNG: Neuer Text in Resource? ~Schlie�en : ~Schlie�en */ 152 Text [ en-US ] = "~Close" ; 153 TabStop = TRUE ; 154 }; 155 HelpButton PB_HELP 156 { 157 Pos = MAP_APPFONT ( 319 , 43 ) ; 158 Size = MAP_APPFONT ( 50 , 14 ) ; 159 }; 160 MenuButton PB_EDIT 161 { 162 HelpID = "sw:MenuButton:DLG_GLOSSARY:PB_EDIT"; 163 Pos = MAP_APPFONT ( 319 , 60 ) ; 164 Size = MAP_APPFONT ( 50 , 14 ) ; 165 Text [ en-US ] = "AutoTe~xt" ; 166 TabStop = TRUE ; 167 }; 168 PushButton PB_BIB 169 { 170 HelpID = "sw:PushButton:DLG_GLOSSARY:PB_BIB"; 171 Pos = MAP_APPFONT ( 319 , 77 ) ; 172 Size = MAP_APPFONT ( 50 , 14 ) ; 173 Text [ en-US ] = "C~ategories..." ; 174 TabStop = TRUE ; 175 }; 176 PushButton PB_PATH 177 { 178 HelpID = "sw:PushButton:DLG_GLOSSARY:PB_PATH"; 179 Pos = MAP_APPFONT ( 319 , 94 ) ; 180 Size = MAP_APPFONT ( 50 , 14 ) ; 181 TabStop = TRUE ; 182 Text [ en-US ] = "~Path..." ; 183 }; 184 String ST_READONLY_PATH 185 { 186 Text [ en-US ] = "The 'AutoText' directories are read-only. Do you want to call the path settings dialog?"; 187 }; 188 Menu MNU_EDIT 189 { 190 ItemList = 191 { 192 MenuItem 193 { 194 Identifier = FN_GL_DEFINE ; 195 HelpID = HID_MD_GLOS_DEFINE ; 196 Text [ en-US ] = "~New" ; 197 }; 198 MenuItem 199 { 200 Identifier = FN_GL_DEFINE_TEXT ; 201 HelpID = HID_MD_GLOS_DEFINE_TEXT ; 202 Text [ en-US ] = "New (text only)" ; 203 }; 204 MenuItem 205 { 206 Identifier = FN_GL_COPY_TO_CLIPBOARD; 207 HelpID = HID_MD_COPY_TO_CLIPBOARD; 208 Text [ en-US ] = "~Copy"; 209 }; 210 MenuItem 211 { 212 Identifier = FN_GL_REPLACE ; 213 HelpID = HID_MD_GLOS_REPLACE ; 214 Text [ en-US ] = "Replace" ; 215 }; 216 MenuItem 217 { 218 Identifier = FN_GL_REPLACE_TEXT; 219 HelpID = HID_MD_GLOS_REPLACE; 220 Text [ en-US ] = "Rep~lace (text only)" ; 221 }; 222 MenuItem 223 { 224 Identifier = FN_GL_RENAME ; 225 HelpID = HID_MD_GLOS_RENAME ; 226 Text [ en-US ] = "Rename..." ; 227 }; 228 MenuItem 229 { 230 Identifier = FN_GL_DELETE ; 231 HelpID = HID_MD_GLOS_DELETE ; 232 /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */ 233 Text [ en-US ] = "~Delete" ; 234 }; 235 MenuItem 236 { 237 Separator = TRUE ; 238 }; 239 MenuItem 240 { 241 Identifier = FN_GL_EDIT ; 242 HelpID = HID_MD_GLOS_EDIT ; 243 Text [ en-US ] = "~Edit" ; 244 }; 245 MenuItem 246 { 247 Separator = TRUE ; 248 }; 249 MenuItem 250 { 251 Identifier = FN_GL_MACRO ; 252 HelpID = HID_MD_GLOS_MACRO ; 253 Text [ en-US ] = "~Macro..." ; 254 }; 255 MenuItem 256 { 257 Separator = TRUE ; 258 }; 259 MenuItem 260 { 261 Identifier = FN_GL_IMPORT; 262 HelpID = HID_MD_GLOS_IMPORT ; 263 Text [ en-US ] = "~Import..."; 264 }; 265 }; 266 }; 267}; 268InfoBox MSG_DOUBLE_SHORTNAME 269{ 270 /* ### ACHTUNG: Neuer Text in Resource? K�rzel wird bereits verwendet. Bitte einen anderen Namen vergeben! : K�rzel wird bereits verwendet. Bitte einen anderen Namen vergeben! */ 271 Message [ en-US ] = "Shortcut name already exists. Please choose another name." ; 272}; 273QueryBox MSG_QUERY_DELETE 274{ 275 BUTTONS = WB_YES_NO ; 276 DEFBUTTON = WB_DEF_NO ; 277 /* ### ACHTUNG: Neuer Text in Resource? Soll der AutoText gel�scht werden? : Soll der AutoText gel�scht werden? */ 278 Message [ en-US ] = "Delete AutoText?" ; 279}; 280String STR_QUERY_DELETE_GROUP1 281{ 282 Text [ en-US ] = "Delete the category " ; 283}; 284String STR_QUERY_DELETE_GROUP2 285{ 286 /* ### ACHTUNG: Neuer Text in Resource? gel�scht werden? : gel�scht werden? */ 287 Text [ en-US ] = "?" ; 288}; 289String STR_GLOSSARY 290{ 291 Text [ en-US ] = "AutoText :" ; 292}; 293/*IAccessibility2 Implementation 2009-----*/ 294String STR_ACCESS_SW_CATEGORY 295{ 296 Text [ en-US ] = "Category" ; 297}; 298/*-----IAccessibility2 Implementation 2009*/ 299ModalDialog DLG_RENAME_GLOS 300{ 301 OutputSize = TRUE ; 302 SVLook = TRUE ; 303 Size = MAP_APPFONT ( 287 , 47 ) ; 304 Moveable = TRUE ; 305 HelpID = HID_RENAME_GLOSSARY ; 306 OKButton BT_OKNEW 307 { 308 Disable = TRUE ; 309 Pos = MAP_APPFONT ( 231 , 6 ) ; 310 Size = MAP_APPFONT ( 50 , 14 ) ; 311 DefButton = TRUE ; 312 TabStop = TRUE ; 313 }; 314 CancelButton BT_CANCEL 315 { 316 Pos = MAP_APPFONT ( 231 , 23 ) ; 317 Size = MAP_APPFONT ( 50 , 14 ) ; 318 TabStop = TRUE ; 319 }; 320 FixedText FT_ON 321 { 322 Pos = MAP_APPFONT ( 12 , 14 ) ; 323 Size = MAP_APPFONT ( 30 , 8 ) ; 324 Text [ en-US ] = "Na~me" ; 325 }; 326 Edit ED_ON 327 { 328 HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_ON"; 329 ReadOnly = TRUE ; 330 Border = TRUE ; 331 Pos = MAP_APPFONT ( 44 , 12 ) ; 332 Size = MAP_APPFONT ( 100 , 12 ) ; 333 Left = TRUE ; 334 }; 335 FixedText FT_OS 336 { 337 Pos = MAP_APPFONT ( 147 , 14 ) ; 338 Size = MAP_APPFONT ( 52 , 8 ) ; 339 Text [ en-US ] = "Short~cut" ; 340 }; 341 Edit ED_OS 342 { 343 HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_OS"; 344 ReadOnly = TRUE ; 345 Border = TRUE ; 346 Pos = MAP_APPFONT ( 200 , 12 ) ; 347 Size = MAP_APPFONT ( 21 , 12 ) ; 348 Left = TRUE ; 349 }; 350 FixedText FT_NN 351 { 352 Pos = MAP_APPFONT ( 12 , 29 ) ; 353 Size = MAP_APPFONT ( 30 , 8 ) ; 354 Text [ en-US ] = "~New" ; 355 }; 356 Edit ED_NN 357 { 358 HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_NN"; 359 TabStop = TRUE ; 360 Border = TRUE ; 361 Pos = MAP_APPFONT ( 44 , 27 ) ; 362 Size = MAP_APPFONT ( 100 , 12 ) ; 363 Left = TRUE ; 364 }; 365 FixedText FT_NS 366 { 367 Pos = MAP_APPFONT ( 147 , 29 ) ; 368 Size = MAP_APPFONT ( 52 , 8 ) ; 369 Text [ en-US ] = "~Shortcut" ; 370 }; 371 Edit ED_NS 372 { 373 HelpID = "sw:Edit:DLG_RENAME_GLOS:ED_NS"; 374 TabStop = TRUE ; 375 Border = TRUE ; 376 Pos = MAP_APPFONT ( 200 , 27 ) ; 377 Size = MAP_APPFONT ( 21 , 12 ) ; 378 Left = TRUE ; 379 }; 380 FixedLine FL_NN 381 { 382 Pos = MAP_APPFONT ( 6 , 3 ) ; 383 Size = MAP_APPFONT ( 219 , 8 ) ; 384 }; 385 Text [ en-US ] = "Rename AutoText" ; 386}; 387String STR_SAVE_GLOSSARY 388{ 389 Text[ en-US ] = "Save AutoText"; 390}; 391InfoBox MSG_NO_GLOSSARIES 392{ 393 Message [ en-US ] = "There is no AutoText in this file."; 394}; 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485