Tag: cws_src680_dba30 User: fs Date: 05/12/22 04:50:15 Modified: /dba/dbaccess/source/core/api/ RowSet.cxx /dba/dbaccess/source/core/inc/ core_resource.hrc /dba/dbaccess/source/core/resource/ strings.src
Log: localize the error message telling about a non-existent table. Encountered during investigating issue #i59594# File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: RowSet.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSet.cxx?r1=1.133.12.4&r2=1.133.12.5 Delta lines: +6 -7 ------------------- --- RowSet.cxx 13 Oct 2005 14:49:01 -0000 1.133.12.4 +++ RowSet.cxx 22 Dec 2005 12:50:11 -0000 1.133.12.5 @@ -4,9 +4,9 @@ * * $RCSfile: RowSet.cxx,v $ * - * $Revision: 1.133.12.4 $ + * $Revision: 1.133.12.5 $ * - * last change: $Author: fs $ $Date: 2005/10/13 14:49:01 $ + * last change: $Author: fs $ $Date: 2005/12/22 12:50:11 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -2169,10 +2169,9 @@ } else { - ::rtl::OUString sError(RTL_CONSTASCII_USTRINGPARAM("There exists no table with given name: \"")); - sError += m_aCommand; - sError += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\"!")); - throwGenericSQLException(sError,*this); + String sMessage( DBACORE_RESSTRING( RID_STR_TABLE_DOES_NOT_EXIST ) ); + sMessage.SearchAndReplaceAscii( "$table$", m_aCommand ); + throwGenericSQLException(sMessage,*this); } } break; Directory: /dba/dbaccess/source/core/inc/ ========================================= File [changed]: core_resource.hrc Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/inc/core_resource.hrc?r1=1.11&r2=1.11.14.1 Delta lines: +4 -3 ------------------- --- core_resource.hrc 8 Sep 2005 13:35:51 -0000 1.11 +++ core_resource.hrc 22 Dec 2005 12:50:12 -0000 1.11.14.1 @@ -4,9 +4,9 @@ * * $RCSfile: core_resource.hrc,v $ * - * $Revision: 1.11 $ + * $Revision: 1.11.14.1 $ * - * last change: $Author: rt $ $Date: 2005/09/08 13:35:51 $ + * last change: $Author: fs $ $Date: 2005/12/22 12:50:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -81,6 +81,7 @@ #define RID_STR_REPORT ( RID_CORE_STRINGS_START + 33 ) #define RID_STR_DATASOURCE_NOT_STORED ( RID_CORE_STRINGS_START + 34 ) #define RID_STR_FILE_DOES_NOT_EXIST ( RID_CORE_STRINGS_START + 35 ) +#define RID_STR_TABLE_DOES_NOT_EXIST ( RID_CORE_STRINGS_START + 36 ) #endif // _DBA_CORE_RESOURCE_HRC_ Directory: /dba/dbaccess/source/core/resource/ ============================================== File [changed]: strings.src Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/resource/strings.src?r1=1.48&r2=1.48.16.1 Delta lines: +8 -3 ------------------- --- strings.src 23 Sep 2005 14:09:22 -0000 1.48 +++ strings.src 22 Dec 2005 12:50:12 -0000 1.48.16.1 @@ -4,9 +4,9 @@ * * $RCSfile: strings.src,v $ * - * $Revision: 1.48 $ + * $Revision: 1.48.16.1 $ * - * last change: $Author: hr $ $Date: 2005/09/23 14:09:22 $ + * last change: $Author: fs $ $Date: 2005/12/22 12:50:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -223,4 +223,9 @@ { Text [ de ] ="Die Datei \"$file$\" existiert nicht."; Text[ en-US ] = "The file \"$file$\" does not exist."; +}; +String RID_STR_TABLE_DOES_NOT_EXIST +{ + Text [ de ] = "Es existiert keine Tabelle \"$table$\"."; + Text [ en-US ] = "There exists no table named \"$table$\"."; }; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
