From b05dc2e3910d22bb919ada64a0cb21c67c0f3623 Mon Sep 17 00:00:00 2001 From: Markus Maier Date: Sun, 25 Nov 2012 01:10:10 +0100 Subject: German comment translations Change-Id: I0d169b7cd0f47b6986063d0cc0b6697b1d575e6a --- dbaccess/source/ui/misc/HtmlReader.cxx | 40 +++++++++++++++---------------- dbaccess/source/ui/misc/RtfReader.cxx | 28 +++++++++++----------- dbaccess/source/ui/misc/TokenWriter.cxx | 20 ++++++++-------- dbaccess/source/ui/misc/WColumnSelect.cxx | 4 ++-- dbaccess/source/ui/misc/WCopyTable.cxx | 10 ++++---- dbaccess/source/ui/misc/WTypeSelect.cxx | 4 ++-- 6 files changed, 53 insertions(+), 53 deletions(-) (limited to 'dbaccess/source/ui/misc') diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx index 99cc8eb3af4f..97a3e5bef485 100644 --- a/dbaccess/source/ui/misc/HtmlReader.cxx +++ b/dbaccess/source/ui/misc/HtmlReader.cxx @@ -64,7 +64,7 @@ using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdbcx; using namespace ::com::sun::star::awt; -#define DBAUI_HTML_FONTSIZES 8 // wie Export, HTML-Options +#define DBAUI_HTML_FONTSIZES 8 // like export, HTML-Options #define HTML_META_NONE 0 #define HTML_META_AUTHOR 1 #define HTML_META_DESCRIPTION 2 @@ -145,18 +145,18 @@ void OHTMLReader::NextToken( int nToken ) { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "misc", "Ocke.Janssen@sun.com", "OHTMLReader::NextToken" ); DBG_CHKTHIS(OHTMLReader,NULL); - if(m_bError || !m_nRows) // falls Fehler oder keine Rows mehr zur "Uberpr"ufung dann gleich zur"uck + if(m_bError || !m_nRows) // if there is an error or no more rows to check, return immediatelly return; if ( nToken == HTML_META ) setTextEncoding(); - if(m_xConnection.is()) // gibt an welcher CTOR gerufen wurde und damit, ob eine Tabelle erstellt werden soll + if(m_xConnection.is()) // names, which CTOR was called and hence, if a table should be created { switch(nToken) { case HTML_TABLE_ON: ++m_nTableCount; - { // es kann auch TD oder TH sein, wenn es vorher kein TABLE gab + { // can also be TD or TH, if there was no TABLE before const HTMLOptions& rHtmlOptions = GetOptions(); for (size_t i = 0, n = rHtmlOptions.size(); i < n; ++i) { @@ -164,7 +164,7 @@ void OHTMLReader::NextToken( int nToken ) switch( rOption.GetToken() ) { case HTML_O_WIDTH: - { // Prozent: von Dokumentbreite bzw. aeusserer Zelle + { // percentage: of document width respectively outer cell m_nColumnWidth = GetWidthPixel( rOption ); } break; @@ -174,9 +174,9 @@ void OHTMLReader::NextToken( int nToken ) case HTML_THEAD_ON: case HTML_TBODY_ON: { - sal_uInt32 nTell = rInput.Tell(); // ver�ndert vielleicht die Position des Streams + sal_uInt32 nTell = rInput.Tell(); // perhaps alters position of the stream if ( !m_xTable.is() ) - {// erste Zeile als Header verwenden + {// use first line as header m_bError = !CreateTable(nToken); if ( m_bAppendFirstLine ) rInput.Seek(nTell); @@ -194,10 +194,10 @@ void OHTMLReader::NextToken( int nToken ) { try { - m_pUpdateHelper->moveToInsertRow(); // sonst neue Zeile anh"angen + m_pUpdateHelper->moveToInsertRow(); // otherwise append new line } catch(SQLException& e) - // UpdateFehlerbehandlung + // handling update failure { showErrorDialog(e); } @@ -207,7 +207,7 @@ void OHTMLReader::NextToken( int nToken ) break; case HTML_TEXTTOKEN: case HTML_SINGLECHAR: - if ( m_bInTbl ) //&& !m_bSDNum ) // wichtig, da wir sonst auch die Namen der Fonts bekommen + if ( m_bInTbl ) //&& !m_bSDNum ) // important, as otherwise we also get the names of the fonts m_sTextToken += aToken; break; case HTML_PARABREAK_OFF: @@ -228,7 +228,7 @@ void OHTMLReader::NextToken( int nToken ) insertValueIntoColumn(); } catch(SQLException& e) - // UpdateFehlerbehandlung + // handling update failure { showErrorDialog(e); } @@ -253,7 +253,7 @@ void OHTMLReader::NextToken( int nToken ) } catch(SQLException& e) ////////////////////////////////////////////////////////////////////// - // UpdateFehlerbehandlung + // handling update failure { showErrorDialog(e); } @@ -261,13 +261,13 @@ void OHTMLReader::NextToken( int nToken ) break; } } - else // Zweig nur f"ur Typpr"ufung g"ultig + else // branch only valid for type checking { switch(nToken) { case HTML_THEAD_ON: case HTML_TBODY_ON: - // Der Spalten Kopf z"ahlt nicht mit + // The head of the column is not included if(m_bHead) { do @@ -282,7 +282,7 @@ void OHTMLReader::NextToken( int nToken ) break; case HTML_TEXTTOKEN: case HTML_SINGLECHAR: - if ( m_bInTbl ) // && !m_bSDNum ) // wichtig, da wir sonst auch die Namen der Fonts bekommen + if ( m_bInTbl ) // && !m_bSDNum ) // important, as otherwise we also get the names of the fonts m_sTextToken += aToken; break; case HTML_PARABREAK_OFF: @@ -389,7 +389,7 @@ void OHTMLReader::TableFontOn(FontDescriptor& _rFont,sal_Int32 &_rTextColor) xub_StrLen nPos = 0; while( nPos != STRING_NOTFOUND ) { - // Fontliste, VCL: Semikolon als Separator, HTML: Komma + // list fo fonts, VCL: semicolon as separator, HTML: comma String aFName = rFace.GetToken( 0, ',', nPos ); aFName = comphelper::string::strip(aFName, ' '); if( aFontName.Len() ) @@ -421,19 +421,19 @@ sal_Int16 OHTMLReader::GetWidthPixel( const HTMLOption& rOption ) DBG_CHKTHIS(OHTMLReader,NULL); const String& rOptVal = rOption.GetString(); if ( rOptVal.Search('%') != STRING_NOTFOUND ) - { // Prozent + { // percentage OSL_ENSURE( m_nColumnWidth, "WIDTH Option: m_nColumnWidth==0 und Width%" ); return (sal_Int16)((rOption.GetNumber() * m_nColumnWidth) / 100); } else { if ( rOptVal.Search('*') != STRING_NOTFOUND ) - { // relativ zu was?!? -//TODO: ColArray aller relativen Werte sammeln und dann MakeCol + { // relativ to what?!? +//TODO: collect ColArray of all relevant values and then MakeCol return 0; } else - return (sal_Int16)rOption.GetNumber(); // Pixel + return (sal_Int16)rOption.GetNumber(); // pixel } } // --------------------------------------------------------------------------- diff --git a/dbaccess/source/ui/misc/RtfReader.cxx b/dbaccess/source/ui/misc/RtfReader.cxx index 977f12cce68c..3502b4897698 100644 --- a/dbaccess/source/ui/misc/RtfReader.cxx +++ b/dbaccess/source/ui/misc/RtfReader.cxx @@ -109,10 +109,10 @@ void ORTFReader::NextToken( int nToken ) { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "misc", "Ocke.Janssen@sun.com", "ORTFReader::NextToken" ); DBG_CHKTHIS(ORTFReader,NULL); - if(m_bError || !m_nRows) // falls Fehler oder keine Rows mehr zur "Uberpr"ufung dann gleich zur"uck + if(m_bError || !m_nRows) // if there is an error or no more rows to check, return immediatelly return; - if(m_xConnection.is()) // gibt an welcher CTOR gerufen wurde und damit, ob eine Tabelle erstellt werden soll + if(m_xConnection.is()) // names, which CTOR was called and hence, if a table should be created { switch(nToken) { @@ -144,15 +144,15 @@ void ORTFReader::NextToken( int nToken ) break; case RTF_DEFLANG: - case RTF_LANG: // Sprache abfragen + case RTF_LANG: // inquire language m_nDefToken = (rtl_TextEncoding)nTokenValue; break; case RTF_TROWD: { bool bInsertRow = true; - if ( !m_xTable.is() ) // erste Zeile als Header verwenden + if ( !m_xTable.is() ) // use first line as header { - sal_uInt32 nTell = rInput.Tell(); // ver�ndert vielleicht die Position des Streams + sal_uInt32 nTell = rInput.Tell(); // perhaps alters position of the stream m_bError = !CreateTable(nToken); bInsertRow = m_bAppendFirstLine; @@ -166,10 +166,10 @@ void ORTFReader::NextToken( int nToken ) { try { - m_pUpdateHelper->moveToInsertRow(); // sonst neue Zeile anh"angen + m_pUpdateHelper->moveToInsertRow(); // otherwise append new line } catch(SQLException& e) - // UpdateFehlerbehandlung + // handling update failure { showErrorDialog(e); } @@ -182,11 +182,11 @@ void ORTFReader::NextToken( int nToken ) eraseTokens(); } - m_bInTbl = sal_True; // jetzt befinden wir uns in einer Tabellenbeschreibung + m_bInTbl = sal_True; // Now we are in a table description break; case RTF_TEXTTOKEN: case RTF_SINGLECHAR: - if(m_bInTbl) // wichtig, da wir sonst auch die Namen der Fonts bekommen + if(m_bInTbl) // important, as otherwise we also get the names of the fonts m_sTextToken += aToken; break; case RTF_CELL: @@ -196,7 +196,7 @@ void ORTFReader::NextToken( int nToken ) insertValueIntoColumn(); } catch(SQLException& e) - // UpdateFehlerbehandlung + // handling update failure { showErrorDialog(e); } @@ -205,7 +205,7 @@ void ORTFReader::NextToken( int nToken ) } break; case RTF_ROW: - // es kann vorkommen, da� die letzte Celle nicht mit \cell abgeschlossen ist + // it can happen that the last cell is not concluded with \cell try { insertValueIntoColumn(); @@ -216,7 +216,7 @@ void ORTFReader::NextToken( int nToken ) } catch(SQLException& e) ////////////////////////////////////////////////////////////////////// - // UpdateFehlerbehandlung + // handling update failure { showErrorDialog(e); } @@ -224,12 +224,12 @@ void ORTFReader::NextToken( int nToken ) break; } } - else // Zweig nur f"ur Typpr"ufung g"ultig + else // branch only valid for type checking { switch(nToken) { case RTF_TROWD: - // Der Spalten Kopf z"ahlt nicht mit + // The head of the column is not included if(m_bHead) { do diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index ab1db7fae207..eff93309a0ef 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -465,7 +465,7 @@ sal_Bool ORTFImportExport::Write() (*m_pStream) << ODatabaseImportExport::sNewLine; } - // Spaltenbeschreibung + // column description (*m_pStream) << '{' << ODatabaseImportExport::sNewLine; (*m_pStream) << aTRRH; @@ -496,7 +496,7 @@ sal_Bool ORTFImportExport::Write() default:pChar = OOO_STRING_SVTOOLS_RTF_QL; break; } - pHorzChar[i-1] = pChar; // um sp"ater nicht immer im ITEMSET zuw"uhlen + pHorzChar[i-1] = pChar; // to avoid to always rummage in the ITEMSET later on (*m_pStream) << ODatabaseImportExport::sNewLine; (*m_pStream) << '{'; @@ -858,7 +858,7 @@ void OHTMLImportExport::WriteTables() sal_Int32 nHeight = 0; m_xObject->getPropertyValue(PROPERTY_ROW_HEIGHT) >>= nHeight; - // 1. die Spaltenbeschreibung rauspusten + // 1. writing the column description const ::rtl::OUString* pIter = aNames.getConstArray(); const ::rtl::OUString* pEnd = pIter + aNames.getLength(); @@ -887,7 +887,7 @@ void OHTMLImportExport::WriteTables() IncIndent(-1); WriteCell(pFormat[i],pColWidth[i],nHeight,pHorJustify[i],*pIter,OOO_STRING_SVTOOLS_HTML_tableheader); - } + }libreOffice SetModifyHdl IncIndent(-1); TAG_OFF_LF( OOO_STRING_SVTOOLS_HTML_tablerow ); @@ -896,7 +896,7 @@ void OHTMLImportExport::WriteTables() IncIndent(1); TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_tbody ); - // 2. und jetzt die Daten + // 2. and now the data ::comphelper::ComponentContext aContext(m_xFactory); Reference< XRowSet > xRowSet(m_xRow,UNO_QUERY); sal_Int32 j=1; @@ -964,14 +964,14 @@ void OHTMLImportExport::WriteCell( sal_Int32 nFormat,sal_Int32 nWidthPixel,sal_I nWidthPixel = nWidthPixel ? nWidthPixel : 86; nHeightPixel = nHeightPixel ? nHeightPixel : 17; - // trotz der und Angaben noetig, - // da die nicht von Netscape beachtet werden.. - // Spaltenbreite + // despite the
and designation necessary, + // as Netscape is not paying attention to them. + // column width aStrTD = aStrTD + " "; aStrTD = aStrTD + OOO_STRING_SVTOOLS_HTML_O_width; aStrTD = aStrTD + "="; aStrTD = aStrTD + ::rtl::OString::valueOf((sal_Int32)nWidthPixel); - // Zeilenhoehe + // line height aStrTD = aStrTD + " "; aStrTD = aStrTD + OOO_STRING_SVTOOLS_HTML_O_height; aStrTD = aStrTD + "="; @@ -1015,7 +1015,7 @@ void OHTMLImportExport::WriteCell( sal_Int32 nFormat,sal_Int32 nWidthPixel,sal_I if ( bStrikeout ) TAG_ON( OOO_STRING_SVTOOLS_HTML_strike ); if ( !rValue.Len() ) - TAG_ON( OOO_STRING_SVTOOLS_HTML_linebreak ); // keine komplett leere Zelle + TAG_ON( OOO_STRING_SVTOOLS_HTML_linebreak ); // no completely empty cell else HTMLOutFuncs::Out_String( (*m_pStream), rValue ,m_eDestEnc); diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx index cdaf0050e681..24c5061ae695 100644 --- a/dbaccess/source/ui/misc/WColumnSelect.cxx +++ b/dbaccess/source/ui/misc/WColumnSelect.cxx @@ -97,7 +97,7 @@ OWizColumnSelect::~OWizColumnSelect() // ----------------------------------------------------------------------- void OWizColumnSelect::Reset() { - // urspr"unglichen zustand wiederherstellen + // restore original state DBG_CHKTHIS(OWizColumnSelect,NULL); clearListBox(m_lbOrgColumnNames); @@ -248,7 +248,7 @@ IMPL_LINK( OWizColumnSelect, ListDoubleClickHdl, MultiListBox *, pListBox ) } ////////////////////////////////////////////////////////////////////// - // Wenn Datenbank PrimaryKeys verarbeiten kann, PrimaryKey anlegen + // If database is able to process PrimaryKeys, set PrimaryKey Reference< XDatabaseMetaData > xMetaData( m_pParent->m_xDestConnection->getMetaData() ); ::rtl::OUString sExtraChars = xMetaData->getExtraNameCharacters(); sal_Int32 nMaxNameLen = m_pParent->getMaxColumnNameLength(); diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index bf3c9d35e7d4..b468478b5d50 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -80,7 +80,7 @@ using namespace dbtools; namespace CopyTableOperation = ::com::sun::star::sdb::application::CopyTableOperation; -#define MAX_PAGES 4 // max. Pages die angezeigt werden +#define MAX_PAGES 4 // max. number of pages, which are shown DBG_NAME(OCopyTableWizard) namespace @@ -804,7 +804,7 @@ sal_Bool OCopyTableWizard::CheckColumns(sal_Int32& _rnBreakPos) OSL_ENSURE( m_xDestConnection.is(), "OCopyTableWizard::CheckColumns: No connection!" ); ////////////////////////////////////////////////////////////////////// - // Wenn Datenbank PrimaryKeys verarbeiten kann, PrimaryKey anlegen + // If database is able to process PrimaryKeys, set PrimaryKey if ( m_xDestConnection.is() ) { sal_Bool bPKeyAllowed = supportsPrimaryKey(); @@ -1118,9 +1118,9 @@ void OCopyTableWizard::loadData( const ICopyTableSourceObject& _rSourceObject, ::rtl::OUString sCreateParam(RTL_CONSTASCII_USTRINGPARAM("x")); ////////////////////////////////////////////////////////////////////// // ReadOnly-Flag - // Bei Drop darf keine Zeile editierbar sein. - // Bei Add duerfen nur die leeren Zeilen editierbar sein. - // Bei Add und Drop koennen alle Zeilen editiert werden. + // On drop no line must be editable. + // On add only empty lines must be editable. + // On Add and Drop all lines can be edited. Sequence< ::rtl::OUString > aColumns( _rSourceObject.getColumnNames() ); const ::rtl::OUString* pColumn = aColumns.getConstArray(); const ::rtl::OUString* pColumnEnd = pColumn + aColumns.getLength(); diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index 0a40d8e22c0c..a55ee7ba7fe7 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -290,7 +290,7 @@ IMPL_LINK( OWizTypeSelect, ColumnSelectHdl, MultiListBox *, /*pListBox*/ ) // ----------------------------------------------------------------------- void OWizTypeSelect::Reset() { - // urspr"unglichen zustand wiederherstellen + // restore original state DBG_CHKTHIS(OWizTypeSelect,NULL); while(m_lbColumnNames.GetEntryCount()) @@ -412,7 +412,7 @@ long OWizTypeSelectList::PreNotify( NotifyEvent& rEvt ) const CommandEvent* pComEvt = rEvt.GetCommandEvent(); if(pComEvt->GetCommand() != COMMAND_CONTEXTMENU) break; - // die Stelle, an der geklickt wurde + // the place, at which was clicked Point ptWhere(0,0); if (pComEvt->IsMouseEvent()) ptWhere = pComEvt->GetMousePosPixel(); -- cgit