Translate german code comments in writer/sw/source/ui/lingu to english! This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+ triple license. --- sw/source/ui/lingu/hhcwrp.cxx | 13 ++++++------- sw/source/ui/lingu/hyp.cxx | 6 +++--- sw/source/ui/lingu/olmenu.cxx | 2 +- sw/source/ui/lingu/sdrhhcwrap.cxx | 3 +-- 4 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx index 8739fe3..4e82474 100644 --- a/sw/source/ui/lingu/hhcwrp.cxx +++ b/sw/source/ui/lingu/hhcwrp.cxx @@ -36,7 +36,7 @@ #include <hintids.hxx> #include <view.hxx> #include <wrtsh.hxx> -#include <swundo.hxx> // fuer Undo-Ids +#include <swundo.hxx> // for Undo-Ids #include <globals.hrc> #include <splargs.hxx> @@ -77,7 +77,7 @@ using namespace ::com::sun::star::i18n; #define CHAR_PAR_BRK ((sal_Char) 0x0D) ////////////////////////////////////////////////////////////////////// -// Beschreibung: Ggf. Rahmen/Objektshell abschalten +// Description: Turn off frame/object shell if applicable static void lcl_ActivateTextShell( SwWrtShell & rWrtSh ) { @@ -418,7 +418,7 @@ void SwHHCWrapper::ReplaceUnit( lcl_ActivateTextShell( rWrtShell ); - // Das aktuelle Wort austauschen + // replace the current word rWrtShell.StartAllAction(); // select current unit @@ -672,14 +672,13 @@ sal_Bool SwHHCWrapper::ConvNext_impl( ) { //! modified version of SvxSpellWrapper::SpellNext - // Keine Richtungsaenderung, also ist der gewuenschte Bereich ( bStartChk ) - // vollstaendig abgearbeitet. + // no change of direction so the desired region is fully processed if( bStartChk ) bStartDone = sal_True; else bEndDone = sal_True; - if( bIsOtherCntnt && bStartDone && bEndDone ) // Dokument komplett geprueft? + if( bIsOtherCntnt && bStartDone && bEndDone ) // document completely checked? { bInfoBox = sal_True; return sal_False; @@ -695,7 +694,7 @@ sal_Bool SwHHCWrapper::ConvNext_impl( ) } else if ( bStartDone && bEndDone ) { - // Bodybereich erledigt, Frage nach Sonderbereich + // body region done, ask about special region if( bIsConvSpecial && HasOtherCnt_impl() ) { ConvStart_impl( pConvArgs, SVX_SPELL_OTHER ); diff --git a/sw/source/ui/lingu/hyp.cxx b/sw/source/ui/lingu/hyp.cxx index ea0d7e1..cc19ed2 100644 --- a/sw/source/ui/lingu/hyp.cxx +++ b/sw/source/ui/lingu/hyp.cxx @@ -56,7 +56,7 @@ using namespace ::com::sun::star; using ::rtl::OUString; /*-------------------------------------------------------------------- - Beschreibung: Interaktive Trennung + Description: interactive separation --------------------------------------------------------------------*/ SwHyphWrapper::SwHyphWrapper( SwView* pVw, @@ -94,7 +94,7 @@ void SwHyphWrapper::SpellStart( SvxSpellArea eSpell ) sal_Bool SwHyphWrapper::SpellContinue() { - // Fuer autom. Trennung Aktionen erst am Ende sichtbar machen + // for automatic separation, make actions visible only at the end SwWait *pWait = 0; if( bAutomatic ) { @@ -107,7 +107,7 @@ sal_Bool SwHyphWrapper::SpellContinue() PSH->HyphContinue( &nPageCount, &nPageStart ); SetLast( xHyphWord ); - // Fuer autom. Trennung Aktionen erst am Ende sichtbar machen + // for automatic separation, make actions visible only at the end if( bAutomatic ) { PSH->EndAllAction(); diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx index d64ecf9..069e79b 100644 --- a/sw/source/ui/lingu/olmenu.cxx +++ b/sw/source/ui/lingu/olmenu.cxx @@ -744,7 +744,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId ) of temporary auto correction is now undoable two and must reside in the same undo group.*/ - // nur aufnehmen, wenn es NICHT schon in der Autokorrektur vorhanden ist + // record only if it's NOT already present in autocorrection SvxAutoCorrect* pACorr = SvxAutoCorrCfg::Get()->GetAutoCorrect(); String aOrigWord( bGrammarResults ? OUString() : xSpellAlt->getWord() ) ; diff --git a/sw/source/ui/lingu/sdrhhcwrap.cxx b/sw/source/ui/lingu/sdrhhcwrap.cxx index 52c451d..3e70fcc 100644 --- a/sw/source/ui/lingu/sdrhhcwrap.cxx +++ b/sw/source/ui/lingu/sdrhhcwrap.cxx @@ -87,8 +87,7 @@ SdrHHCWrapper::SdrHHCWrapper( SwView* pVw, pOutlView = new OutlinerView( this, &(pView->GetEditWin()) ); pOutlView->GetOutliner()->SetRefDevice(pView->GetWrtShell().getIDocumentDeviceAccess()->getPrinter( false )); - // Hack: Es sollten alle SdrTextObj-Attribute an die EditEngine - // uebertragen werden. + // Hack: all SdrTextObj attributes should be transferred to EditEngine pOutlView->SetBackgroundColor( Color( COL_WHITE ) ); -- 1.7.1 _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice