1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#include "svtools/sores.hxx" 29*cdf0e10cSrcweir#define __RSC 30*cdf0e10cSrcweir#include <svtools/soerr.hxx> 31*cdf0e10cSrcweir#define S_MAX 0x7fff 32*cdf0e10cSrcweir 33*cdf0e10cSrcweirResource RID_SO_ERROR_HANDLER 34*cdf0e10cSrcweir{ 35*cdf0e10cSrcweir String ERRCODE_SO_GENERALERROR&S_MAX 36*cdf0e10cSrcweir { 37*cdf0e10cSrcweir Text [ en-US ] = "General OLE error." ; 38*cdf0e10cSrcweir }; 39*cdf0e10cSrcweir String ERRCODE_SO_CANT_BINDTOSOURCE&S_MAX 40*cdf0e10cSrcweir { 41*cdf0e10cSrcweir // ### ACHTUNG: Neuer Text in Resource? Die Verbindung zum Objekt kann nicht hergestellt werden : Die Verbindung zum Objekt kann nicht hergestellt werden. 42*cdf0e10cSrcweir Text [ en-US ] = "The connection to the object cannot be established." ; 43*cdf0e10cSrcweir }; 44*cdf0e10cSrcweir String ERRCODE_SO_NOCACHE_UPDATED&S_MAX 45*cdf0e10cSrcweir { 46*cdf0e10cSrcweir Text [ en-US ] = "No cache files were updated." ; 47*cdf0e10cSrcweir }; 48*cdf0e10cSrcweir String ERRCODE_SO_SOMECACHES_NOTUPDATED&S_MAX 49*cdf0e10cSrcweir { 50*cdf0e10cSrcweir Text [ en-US ] = "Some cache files were not updated." ; 51*cdf0e10cSrcweir }; 52*cdf0e10cSrcweir String ERRCODE_SO_MK_UNAVAILABLE&S_MAX 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir Text [ en-US ] = "Status of object cannot be determined in a timely manner." ; 55*cdf0e10cSrcweir }; 56*cdf0e10cSrcweir String ERRCODE_SO_E_CLASSDIFF&S_MAX 57*cdf0e10cSrcweir { 58*cdf0e10cSrcweir Text [ en-US ] = "Source of the OLE link has been converted." ; 59*cdf0e10cSrcweir }; 60*cdf0e10cSrcweir String ERRCODE_SO_MK_NO_OBJECT&S_MAX 61*cdf0e10cSrcweir { 62*cdf0e10cSrcweir Text [ en-US ] = "The object could not be found." ; 63*cdf0e10cSrcweir }; 64*cdf0e10cSrcweir String ERRCODE_SO_MK_EXCEEDED_DEADLINE&S_MAX 65*cdf0e10cSrcweir { 66*cdf0e10cSrcweir Text [ en-US ] = "The process could not be completed within the specified time period." ; 67*cdf0e10cSrcweir }; 68*cdf0e10cSrcweir String ERRCODE_SO_MK_CONNECT_MANUALLY&S_MAX 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir Text [ en-US ] = "OLE could not connect to a network device (server)." ; 71*cdf0e10cSrcweir }; 72*cdf0e10cSrcweir String ERRCODE_SO_MK_INTERMEDIATE_INTERFACE_NOT_SUPPORTED&S_MAX 73*cdf0e10cSrcweir { 74*cdf0e10cSrcweir Text [ en-US ] = "The object found does not support the interface required for the desired operation." ; 75*cdf0e10cSrcweir }; 76*cdf0e10cSrcweir String ERRCODE_SO_NO_INTERFACE&S_MAX 77*cdf0e10cSrcweir { 78*cdf0e10cSrcweir Text [ en-US ] = "Interface not supported." ; 79*cdf0e10cSrcweir }; 80*cdf0e10cSrcweir String ERRCODE_SO_OUT_OF_MEMORY&S_MAX 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir Text [ en-US ] = "Insufficient memory." ; 83*cdf0e10cSrcweir }; 84*cdf0e10cSrcweir String ERRCODE_SO_MK_SYNTAX&S_MAX 85*cdf0e10cSrcweir { 86*cdf0e10cSrcweir Text [ en-US ] = "The connection name could not be processed." ; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir String ERRCODE_SO_MK_REDUCED_TO_SELF&S_MAX 89*cdf0e10cSrcweir { 90*cdf0e10cSrcweir Text [ en-US ] = "The connection name could not be reduced further." ; 91*cdf0e10cSrcweir }; 92*cdf0e10cSrcweir String ERRCODE_SO_MK_NO_INVERSE&S_MAX 93*cdf0e10cSrcweir { 94*cdf0e10cSrcweir Text [ en-US ] = "The connection name has no inverse." ; 95*cdf0e10cSrcweir }; 96*cdf0e10cSrcweir String ERRCODE_SO_MK_NO_PREFIX&S_MAX 97*cdf0e10cSrcweir { 98*cdf0e10cSrcweir Text [ en-US ] = "No common prefix exists." ; 99*cdf0e10cSrcweir }; 100*cdf0e10cSrcweir String ERRCODE_SO_MK_HIM&S_MAX 101*cdf0e10cSrcweir { 102*cdf0e10cSrcweir Text [ en-US ] = "The connection name is contained in the other one." ; 103*cdf0e10cSrcweir }; 104*cdf0e10cSrcweir String ERRCODE_SO_MK_US&S_MAX 105*cdf0e10cSrcweir { 106*cdf0e10cSrcweir Text [ en-US ] = "The connection names (the receiver and the other moniker) are identical." ; 107*cdf0e10cSrcweir }; 108*cdf0e10cSrcweir String ERRCODE_SO_MK_ME&S_MAX 109*cdf0e10cSrcweir { 110*cdf0e10cSrcweir Text [ en-US ] = "The connection name is contained in the other one." ; 111*cdf0e10cSrcweir }; 112*cdf0e10cSrcweir String ERRCODE_SO_MK_NOT_BINDABLE&S_MAX 113*cdf0e10cSrcweir { 114*cdf0e10cSrcweir // ### ACHTUNG: Neuer Text in Resource? Der Verbindungsname kann nicht verbunden werden Es handelt sich um einen relativen Namen : Der Verbindungsname kann nicht verbunden werden. Es handelt sich um einen relativen Namen 115*cdf0e10cSrcweir Text [ en-US ] = "The connection name cannot be connected. This is a relative name." ; 116*cdf0e10cSrcweir }; 117*cdf0e10cSrcweir String ERRCODE_SO_NOT_IMPLEMENTED&S_MAX 118*cdf0e10cSrcweir { 119*cdf0e10cSrcweir Text [ en-US ] = "Operation not implemented." ; 120*cdf0e10cSrcweir }; 121*cdf0e10cSrcweir String ERRCODE_SO_MK_NO_STORAGE&S_MAX 122*cdf0e10cSrcweir { 123*cdf0e10cSrcweir Text [ en-US ] = "No storage." ; 124*cdf0e10cSrcweir }; 125*cdf0e10cSrcweir String ERRCODE_SO_FALSE&S_MAX 126*cdf0e10cSrcweir { 127*cdf0e10cSrcweir Text [ en-US ] = "False." ; 128*cdf0e10cSrcweir }; 129*cdf0e10cSrcweir String ERRCODE_SO_MK_NEED_GENERIC&S_MAX 130*cdf0e10cSrcweir { 131*cdf0e10cSrcweir Text [ en-US ] = "Monikers must be composed generically." ; 132*cdf0e10cSrcweir }; 133*cdf0e10cSrcweir String ERRCODE_SO_PENDING&S_MAX 134*cdf0e10cSrcweir { 135*cdf0e10cSrcweir Text [ en-US ] = "Data not available at this time." ; 136*cdf0e10cSrcweir }; 137*cdf0e10cSrcweir String ERRCODE_SO_NOT_INPLACEACTIVE & S_MAX 138*cdf0e10cSrcweir { 139*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Objekt wurde nicht InPlace aktiviert : Objetkt wurde nicht InPlace aktiviert */ 140*cdf0e10cSrcweir Text [ en-US ] = "Object could not be activated InPlace." ; 141*cdf0e10cSrcweir }; 142*cdf0e10cSrcweir String ERRCODE_SO_LINDEX & S_MAX 143*cdf0e10cSrcweir { 144*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Ung�ltiger Index : Ung�ltiger Index */ 145*cdf0e10cSrcweir Text [ en-US ] = "Invalid index." ; 146*cdf0e10cSrcweir }; 147*cdf0e10cSrcweir String ERRCODE_SO_CANNOT_DOVERB_NOW & S_MAX 148*cdf0e10cSrcweir { 149*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Das Objekt kann die Aktion im momentanen Zustand nicht ausf�hren : Das Objekt kann die Aktion im momentanen Zustand nicht ausf�hren */ 150*cdf0e10cSrcweir Text [ en-US ] = "The action cannot be executed in the object's current state." ; 151*cdf0e10cSrcweir }; 152*cdf0e10cSrcweir String ERRCODE_SO_OLEOBJ_INVALIDHWND & S_MAX 153*cdf0e10cSrcweir { 154*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Bei der Aktivierung wurde ein ung�ltiges Fenster ist �bergeben : Bei der Aktivierung wurde ein ung�ltiges Fenster ist �bergeben */ 155*cdf0e10cSrcweir Text [ en-US ] = "An invalid window was passed when activated." ; 156*cdf0e10cSrcweir }; 157*cdf0e10cSrcweir String ERRCODE_SO_NOVERBS & S_MAX 158*cdf0e10cSrcweir { 159*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Das Objekt unterst�tzt keine Aktionen : Das Objekt unterst�tzt keine Aktionen */ 160*cdf0e10cSrcweir Text [ en-US ] = "The object does not support any actions." ; 161*cdf0e10cSrcweir }; 162*cdf0e10cSrcweir String ERRCODE_SO_INVALIDVERB & S_MAX 163*cdf0e10cSrcweir { 164*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Die Aktion ist nicht definiert. Es wird die Default Aktion ausgel�st : Die Aktion ist nicht definiert. Es wird die Default Aktion ausgel�st */ 165*cdf0e10cSrcweir Text [ en-US ] = "The action is not defined. The default action will be executed." ; 166*cdf0e10cSrcweir }; 167*cdf0e10cSrcweir String ERRCODE_SO_MK_CONNECT & S_MAX 168*cdf0e10cSrcweir { 169*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Eine Verkn�pfung auf das Netzwerk konnte nicht wieder hergestellt werden : Eine Verkn�pfung auf das Netzwerk, die nicht wieder hergestellt werden konnte */ 170*cdf0e10cSrcweir Text [ en-US ] = "A link to the network could not be re-established." ; 171*cdf0e10cSrcweir }; 172*cdf0e10cSrcweir String ERRCODE_SO_NOTIMPL & S_MAX 173*cdf0e10cSrcweir { 174*cdf0e10cSrcweir /* ### ACHTUNG: Neuer Text in Resource? Das Objekt unterst�tzt diese Aktion nicht : Das Objekt unterst�tzt diese Aktion nicht */ 175*cdf0e10cSrcweir Text [ en-US ] = "Object does not support this action." ; 176*cdf0e10cSrcweir }; 177*cdf0e10cSrcweir String ERRCODE_SO_MK_CANTOPENFILE & S_MAX 178*cdf0e10cSrcweir { 179*cdf0e10cSrcweir Text [ en-US ] = "The specified file could not be opened." ; 180*cdf0e10cSrcweir }; 181*cdf0e10cSrcweir /* 182*cdf0e10cSrcweir String & S_MAX 183*cdf0e10cSrcweir { 184*cdf0e10cSrcweir Text = ""; 185*cdf0e10cSrcweir }; 186*cdf0e10cSrcweir*/ 187*cdf0e10cSrcweir}; 188*cdf0e10cSrcweirResource RID_SO_ERRCTX 189*cdf0e10cSrcweir{ 190*cdf0e10cSrcweir String ERRCTX_SO_DOVERB 191*cdf0e10cSrcweir { 192*cdf0e10cSrcweir Text [ en-US ] = "$(ERR) activating object" ; 193*cdf0e10cSrcweir }; 194*cdf0e10cSrcweir}; 195*cdf0e10cSrcweirString STR_INS_OBJECT 196*cdf0e10cSrcweir{ 197*cdf0e10cSrcweir Text [ en-US ] = "Inserts a new %1-Object into your document." ; 198*cdf0e10cSrcweir}; 199*cdf0e10cSrcweirString STR_INS_OBJECT_ICON 200*cdf0e10cSrcweir{ 201*cdf0e10cSrcweir Text [ en-US ] = "Inserts a new %1-Object into your document as a symbol." ; 202*cdf0e10cSrcweir}; 203*cdf0e10cSrcweirString STR_INS_FILE 204*cdf0e10cSrcweir{ 205*cdf0e10cSrcweir Text [ en-US ] = "Inserts the contents of the file into your document to enable later editing in the original application." ; 206*cdf0e10cSrcweir}; 207*cdf0e10cSrcweirString STR_INS_PLUGIN 208*cdf0e10cSrcweir{ 209*cdf0e10cSrcweir Text [ en-US ] = "Inserts a plug-in object into your document with a reference to the plug-in data. When the object is activated, the plug-in is automatically executed." ; 210*cdf0e10cSrcweir}; 211*cdf0e10cSrcweirString STR_INS_APPLET 212*cdf0e10cSrcweir{ 213*cdf0e10cSrcweir Text [ en-US ] = "Inserts an applet object into your document. When the object is activated, the applet is automatically executed." ; 214*cdf0e10cSrcweir}; 215*cdf0e10cSrcweirString STR_INS_FILE_ICON 216*cdf0e10cSrcweir{ 217*cdf0e10cSrcweir Text [ en-US ] = "Inserts the contents of the file as an icon into your document." ; 218*cdf0e10cSrcweir}; 219*cdf0e10cSrcweirString STR_INS_FILE_LINK 220*cdf0e10cSrcweir{ 221*cdf0e10cSrcweir Text [ en-US ] = "Inserts the contents of the file into your document and creates a link to the source file. Changes made to the source file will be reflected in your document." ; 222*cdf0e10cSrcweir}; 223*cdf0e10cSrcweirString STR_INS_FILE_ICON_LINK 224*cdf0e10cSrcweir{ 225*cdf0e10cSrcweir Text [ en-US ] = "Inserts an icon into your document representing the file. Changes made to the source file will be reflected in your document." ; 226*cdf0e10cSrcweir}; 227*cdf0e10cSrcweirString STR_PASTE 228*cdf0e10cSrcweir{ 229*cdf0e10cSrcweir Text [ en-US ] = "Pastes the contents of the clipboard as %1 in your document." ; 230*cdf0e10cSrcweir}; 231*cdf0e10cSrcweirString STR_CONVERT_TO 232*cdf0e10cSrcweir{ 233*cdf0e10cSrcweir Text [ en-US ] = "Converts the selected %1object to the object type %2." ; 234*cdf0e10cSrcweir}; 235*cdf0e10cSrcweirString STR_ACTIVATE_AS 236*cdf0e10cSrcweir{ 237*cdf0e10cSrcweir Text [ en-US ] = "All objects of type %1 are activated as %2, but not converted" ; 238*cdf0e10cSrcweir}; 239*cdf0e10cSrcweirString STR_VERB_OPEN 240*cdf0e10cSrcweir{ 241*cdf0e10cSrcweir Text [ en-US ] = "~Open" ; 242*cdf0e10cSrcweir}; 243*cdf0e10cSrcweirString STR_VERB_PROPS 244*cdf0e10cSrcweir{ 245*cdf0e10cSrcweir Text [ en-US ] = "~Properties" ; 246*cdf0e10cSrcweir}; 247*cdf0e10cSrcweirString STR_PLUGIN_CANT_SHOW 248*cdf0e10cSrcweir{ 249*cdf0e10cSrcweir Text [ en-US ] = "Plug-in % cannot be displayed." ; 250*cdf0e10cSrcweir}; 251*cdf0e10cSrcweirString STR_ERROR_DDE 252*cdf0e10cSrcweir{ 253*cdf0e10cSrcweir Text [ en-US ] = "DDE link to % for % area % are not available." ; 254*cdf0e10cSrcweir}; 255*cdf0e10cSrcweirString STR_ERROR_OBJNOCREATE 256*cdf0e10cSrcweir{ 257*cdf0e10cSrcweir Text [ en-US ] = "Object % could not be inserted." ; 258*cdf0e10cSrcweir}; 259*cdf0e10cSrcweirString STR_ERROR_OBJNOCREATE_FROM_FILE 260*cdf0e10cSrcweir{ 261*cdf0e10cSrcweir Text [ en-US ] = "Object from file % could not be inserted." ; 262*cdf0e10cSrcweir}; 263*cdf0e10cSrcweirString STR_ERROR_OBJNOCREATE_PLUGIN 264*cdf0e10cSrcweir{ 265*cdf0e10cSrcweir Text [ en-US ] = "Plug-in from document % could not be inserted." ; 266*cdf0e10cSrcweir}; 267*cdf0e10cSrcweirString STR_QUERYUPDATELINKS 268*cdf0e10cSrcweir{ 269*cdf0e10cSrcweir Text [ en-US ] = "Update all links?" ; 270*cdf0e10cSrcweir}; 271*cdf0e10cSrcweirString STR_FURTHER_OBJECT 272*cdf0e10cSrcweir{ 273*cdf0e10cSrcweir Text [ en-US ] = "Further objects" ; 274*cdf0e10cSrcweir}; 275*cdf0e10cSrcweirString STR_EDIT_APPLET 276*cdf0e10cSrcweir{ 277*cdf0e10cSrcweir Text [ en-US ] = "Edit Applet" ; 278*cdf0e10cSrcweir}; 279*cdf0e10cSrcweir 280*cdf0e10cSrcweirBitmap BMP_PLUGIN 281*cdf0e10cSrcweir{ 282*cdf0e10cSrcweir File = "plugin.png" ; 283*cdf0e10cSrcweir}; 284*cdf0e10cSrcweirBitmap BMP_OLEOBJ 285*cdf0e10cSrcweir{ 286*cdf0e10cSrcweir File = "oleobj.png" ; 287*cdf0e10cSrcweir}; 288*cdf0e10cSrcweirMenu MB_PLUGIN 289*cdf0e10cSrcweir{ 290*cdf0e10cSrcweir ItemList = 291*cdf0e10cSrcweir { 292*cdf0e10cSrcweir MenuItem MI_PLUGIN ; 293*cdf0e10cSrcweir }; 294*cdf0e10cSrcweir ExtraData = { 1 ; 0 ; 0 ; }; //Um InPlace Menu zu bentzen 295*cdf0e10cSrcweir}; 296*cdf0e10cSrcweirMenuItem MI_PLUGIN 297*cdf0e10cSrcweir{ 298*cdf0e10cSrcweir Identifier = MI_PLUGIN ; 299*cdf0e10cSrcweir SubMenu = Menu 300*cdf0e10cSrcweir { 301*cdf0e10cSrcweir ItemList = 302*cdf0e10cSrcweir { 303*cdf0e10cSrcweir MenuItem 304*cdf0e10cSrcweir { 305*cdf0e10cSrcweir Identifier = MI_PLUGIN_DEACTIVATE ; 306*cdf0e10cSrcweir Text [ en-US ] = "Deactivate" ; 307*cdf0e10cSrcweir }; 308*cdf0e10cSrcweir }; 309*cdf0e10cSrcweir }; 310*cdf0e10cSrcweir}; 311*cdf0e10cSrcweirString STR_UNKNOWN_SOURCE 312*cdf0e10cSrcweir{ 313*cdf0e10cSrcweir Text [ en-US ] = "Unknown source" ; 314*cdf0e10cSrcweir}; 315*cdf0e10cSrcweir 316*cdf0e10cSrcweir 317