Kaydet (Commit) 0413cc28 authored tarafından Philipp Weissenbacher's avatar Philipp Weissenbacher Kaydeden (comit) David Tardon

Translate German comments to English

üst 842523e4
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
************************************************************************/ ************************************************************************/
#include <string.h> // fuer strchr() #include <string.h> // for strchr()
#include <com/sun/star/i18n/UnicodeType.hdl> #include <com/sun/star/i18n/UnicodeType.hdl>
#include <com/sun/star/i18n/WordType.hdl> #include <com/sun/star/i18n/WordType.hdl>
...@@ -38,12 +38,12 @@ ...@@ -38,12 +38,12 @@
#include <doc.hxx> #include <doc.hxx>
#include <IDocumentUndoRedo.hxx> #include <IDocumentUndoRedo.hxx>
#include <docary.hxx> #include <docary.hxx>
#include <mvsave.hxx> // Strukturen zum Sichern beim Move/Delete #include <mvsave.hxx> // structures for Saving by Move/Delete
#include <ndtxt.hxx> #include <ndtxt.hxx>
#include <txatbase.hxx> #include <txatbase.hxx>
#include <rubylist.hxx> #include <rubylist.hxx>
#include <pam.hxx> #include <pam.hxx>
#include <swundo.hxx> // fuer die UndoIds #include <swundo.hxx> // for the UndoIds
#include <breakit.hxx> #include <breakit.hxx>
#include <crsskip.hxx> #include <crsskip.hxx>
......
This diff is collapsed.
This diff is collapsed.
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
SV_IMPL_PTRARR(SwSortKeys, SwSortKey*) SV_IMPL_PTRARR(SwSortKeys, SwSortKey*)
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Sortier-Schluessel Description: Sort Key
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
SwSortKey::SwSortKey() : SwSortKey::SwSortKey() :
eSortOrder( SRT_ASCENDING ), eSortOrder( SRT_ASCENDING ),
...@@ -59,7 +59,7 @@ SwSortKey::SwSortKey(const SwSortKey& rOld) : ...@@ -59,7 +59,7 @@ SwSortKey::SwSortKey(const SwSortKey& rOld) :
} }
/*-------------------------------------------------------------------- /*--------------------------------------------------------------------
Beschreibung: Sortieroptionen fuers Sortieren Description: Sorting options for Sorting
--------------------------------------------------------------------*/ --------------------------------------------------------------------*/
SwSortOptions::SwSortOptions() SwSortOptions::SwSortOptions()
: eDirection( SRT_ROWS ), : eDirection( SRT_ROWS ),
......
...@@ -55,14 +55,14 @@ void SwURLStateChanged::Notify( SfxBroadcaster& , const SfxHint& rHint ) ...@@ -55,14 +55,14 @@ void SwURLStateChanged::Notify( SfxBroadcaster& , const SfxHint& rHint )
{ {
if( rHint.ISA( INetURLHistoryHint ) && pDoc->GetCurrentViewShell() ) //swmod 071108//swmod 071225 if( rHint.ISA( INetURLHistoryHint ) && pDoc->GetCurrentViewShell() ) //swmod 071108//swmod 071225
{ {
// diese URL wurde veraendert: // This URL has been changed:
const INetURLObject* pIURL = ((INetURLHistoryHint&)rHint).GetObject(); const INetURLObject* pIURL = ((INetURLHistoryHint&)rHint).GetObject();
String sURL( pIURL->GetMainURL( INetURLObject::NO_DECODE ) ), sBkmk; String sURL( pIURL->GetMainURL( INetURLObject::NO_DECODE ) ), sBkmk;
SwEditShell* pESh = pDoc->GetEditShell(); SwEditShell* pESh = pDoc->GetEditShell();
if( pDoc->GetDocShell() && pDoc->GetDocShell()->GetMedium() && if( pDoc->GetDocShell() && pDoc->GetDocShell()->GetMedium() &&
// falls das unser Doc ist, kann es auch lokale Spruenge geben! // If this is our Doc, we can also have local jumps!
sURL == pDoc->GetDocShell()->GetMedium()->GetName() ) sURL == pDoc->GetDocShell()->GetMedium()->GetName() )
(sBkmk = pIURL->GetMark()).Insert( INET_MARK_TOKEN, 0 ); (sBkmk = pIURL->GetMark()).Insert( INET_MARK_TOKEN, 0 );
...@@ -101,8 +101,8 @@ void SwURLStateChanged::Notify( SfxBroadcaster& , const SfxHint& rHint ) ...@@ -101,8 +101,8 @@ void SwURLStateChanged::Notify( SfxBroadcaster& , const SfxHint& rHint )
} }
} }
// erfrage ob die URL besucht war. Uebers Doc, falls nur ein Bookmark // Check if the URL has been visited before. Via the Doc, if only one Bookmark is set
// angegeben ist. Dann muss der Doc. Name davor gesetzt werden! // We need to put the Doc's name before it!
sal_Bool SwDoc::IsVisitedURL( const String& rURL ) const sal_Bool SwDoc::IsVisitedURL( const String& rURL ) const
{ {
sal_Bool bRet = sal_False; sal_Bool bRet = sal_False;
...@@ -118,8 +118,7 @@ sal_Bool SwDoc::IsVisitedURL( const String& rURL ) const ...@@ -118,8 +118,7 @@ sal_Bool SwDoc::IsVisitedURL( const String& rURL ) const
else else
bRet = pHist->QueryUrl( rURL ); bRet = pHist->QueryUrl( rURL );
// dann wollen wird auch ueber Statusaenderungen in der History // We also want to be informed about status updates in the History
// informiert werden!
if( !pURLStateChgd ) if( !pURLStateChgd )
{ {
SwDoc* pD = (SwDoc*)this; SwDoc* pD = (SwDoc*)this;
...@@ -129,6 +128,4 @@ sal_Bool SwDoc::IsVisitedURL( const String& rURL ) const ...@@ -129,6 +128,4 @@ sal_Bool SwDoc::IsVisitedURL( const String& rURL ) const
return bRet; return bRet;
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment