summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian M. Heller <christian.heller63@gmail.com>2013-03-03 18:05:04 -0500
committerMuthu Subramanian K <muthusuba@gmail.com>2013-03-04 08:06:07 +0000
commit929baa03c33084eaca51e02a131cc835048543c4 (patch)
tree8315bbf6afa844f7be9a79e8dea11b756b6683c2
parenta32283f452e54f31dab728e8df0822f43f2fce14 (diff)
fdo#39468 translate German comments in vcl
modified: vcl/inc/vcl/fltcall.hxx modified: vcl/inc/vcl/textdata.hxx modified: vcl/inc/vcl/texteng.hxx modified: vcl/source/control/combobox.cxx modified: vcl/source/control/fixed.cxx Change-Id: I8af3fe962ba77d7047eac8d7570c5bc572585363 Reviewed-on: https://gerrit.libreoffice.org/2534 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
-rw-r--r--vcl/inc/vcl/fltcall.hxx22
-rw-r--r--vcl/inc/vcl/textdata.hxx2
-rw-r--r--vcl/inc/vcl/texteng.hxx8
-rw-r--r--vcl/source/control/combobox.cxx23
-rw-r--r--vcl/source/control/fixed.cxx6
5 files changed, 31 insertions, 30 deletions
diff --git a/vcl/inc/vcl/fltcall.hxx b/vcl/inc/vcl/fltcall.hxx
index 91e4d289a6d1..03a634073d95 100644
--- a/vcl/inc/vcl/fltcall.hxx
+++ b/vcl/inc/vcl/fltcall.hxx
@@ -49,19 +49,19 @@ struct FltCallDialogParameter
typedef sal_Bool (*PFilterCall)(SvStream & rStream, Graphic & rGraphic,
FilterConfigItem* pConfigItem, sal_Bool bPrefDialog);
- // Von diesem Typ sind sowohl Export-Filter-Funktionen als auch Import-Filter-Funktionen.
- // rFileName ist der komplette Pfadname der zu importierenden bzw. zu exportierenden Datei.
- // pCallBack darf auch NULL sein. pCallerData wird der Callback-Funktion uebergeben.
- // pOptionsConfig darf NULL sein. Anderenfalls ist die Gruppe des Config schon gesetzt
- // und darf von dem Filter nicht geaendert werden!
- // Wenn bPrefDialog==sal_True gilt, wird ggf. ein Preferences-Dialog durchgefuehrt.
+ // Of this type are both export-filter and import-filter functions
+ // rFileName is the complete path to the file to be imported or exported
+ // pCallBack can be NULL. pCallerData is handed to the callback function
+ // pOptionsConfig can be NULL; if not, the group of the config is already set
+ // and may not be changed by this filter!
+ // If bPrefDialog==sal_True, a Preferences-Dialog might be called
typedef sal_Bool ( *PFilterDlgCall )( FltCallDialogParameter& );
- // Von diesem Typ sind sowohl Export-Filter-Funktionen als auch Import-Filter-Funktionen.
- // Uebergeben wird ein Pointer auf ein Parent-Fenster und auf die Options-Config.
- // pOptions und pWindow duerfen NULL sein, in diesem Fall wird sal_False zurueckgeliefert.
- // Anderenfalls ist die Gruppe der Config schon gesetzt
- // und darf von dem Filter nicht geaendert werden!
+ // Of this type are both export-filter and import-filter functions
+ // hands a pointer to the parent window and to the options config
+ // pOptions and pWindow can be NULL; in this case sal_False is returned,
+ // otherwise the group of the config is already set
+ // and may not be changed by this filter!
#endif
diff --git a/vcl/inc/vcl/textdata.hxx b/vcl/inc/vcl/textdata.hxx
index 4ee0e2f24533..476ba00279df 100644
--- a/vcl/inc/vcl/textdata.hxx
+++ b/vcl/inc/vcl/textdata.hxx
@@ -25,7 +25,7 @@
#include <svl/smplhint.hxx>
#include <tools/string.hxx>
-// Fuer Notify, wenn alle Absaetze geloescht wurden...
+// for Notify, if all paragraphs were deleted
#define TEXT_PARA_ALL 0xFFFFFFFF
class TextPaM
diff --git a/vcl/inc/vcl/texteng.hxx b/vcl/inc/vcl/texteng.hxx
index e5f45822a33c..2fc0314e7abc 100644
--- a/vcl/inc/vcl/texteng.hxx
+++ b/vcl/inc/vcl/texteng.hxx
@@ -122,7 +122,7 @@ private:
TxtAlign meAlign;
- sal_Bool mbIsFormatting : 1; // Semaphore wegen der Hook's
+ sal_Bool mbIsFormatting : 1; // semaphore for the Hook's
sal_Bool mbFormatted : 1;
sal_Bool mbUpdate : 1;
sal_Bool mbModified : 1;
@@ -161,7 +161,7 @@ protected:
SAL_DLLPRIVATE ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XExtendedInputSequenceChecker > GetInputSequenceChecker() const;
SAL_DLLPRIVATE sal_Bool IsInputSequenceCheckingRequired( sal_Unicode c, const TextSelection& rCurSel ) const;
- // Broadcasten bzw. Selektionen anpassen:
+ // broadcast or adjust selections
void ImpParagraphInserted( sal_uLong nPara );
void ImpParagraphRemoved( sal_uLong nPara );
void ImpCharsRemoved( sal_uLong nPara, sal_uInt16 nPos, sal_uInt16 nChars );
@@ -210,12 +210,12 @@ protected:
sal_uLong CalcTextWidth( sal_uLong nPara, sal_uInt16 nPortionStart, sal_uInt16 nPortionLen, const Font* pFont = 0 );
Range GetInvalidYOffsets( sal_uLong nPortion );
- // Fuer Undo/Redo
+ // for Undo/Redo
void InsertContent( TextNode* pNode, sal_uLong nPara );
TextPaM SplitContent( sal_uLong nNode, sal_uInt16 nSepPos );
TextPaM ConnectContents( sal_uLong nLeftNode );
- // Ans API uebergebene PaM's und Selektionen auf einen gueltigen Bereich einstellen
+ // adjust PaM's and selections that were transfered to the API to a valid range
void ValidateSelection( TextSelection& rSel ) const;
void ValidatePaM( TextPaM& rPaM ) const;
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index 8356a525efb9..fd09ccbcbe92 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -381,7 +381,7 @@ IMPL_LINK_NOARG(ComboBox, ImplSelectHdl)
{
aText = mpSubEdit->GetText();
- // Alle Eintraege entfernen, zu denen es einen Entry gibt, der aber nicht selektiert ist.
+ // remove all entries to which there is an selected entry
xub_StrLen nIndex = 0;
while ( nIndex != STRING_NOTFOUND )
{
@@ -403,7 +403,7 @@ IMPL_LINK_NOARG(ComboBox, ImplSelectHdl)
aText = comphelper::string::strip(aText, ' ');
}
- // Fehlende Eintraege anhaengen...
+ // attach missing entries
::std::set< sal_uInt16 > aSelInText;
lcl_GetSelectedEntries( aSelInText, aText, mcMultiSep, mpImplLB->GetEntryList() );
sal_uInt16 nSelectedEntries = mpImplLB->GetEntryList()->GetSelectEntryCount();
@@ -415,7 +415,7 @@ IMPL_LINK_NOARG(ComboBox, ImplSelectHdl)
if ( aText.Len() && (aText.GetChar( aText.Len()-1 ) != mcMultiSep) )
aText += mcMultiSep;
if ( aText.Len() )
- aText += ' '; // etwas auflockern
+ aText += ' '; // slightly loosen
aText += mpImplLB->GetEntryList()->GetEntryText( nP );
aText += mcMultiSep;
}
@@ -611,8 +611,8 @@ void ComboBox::Resize()
ImplUpdateFloatSelection();
}
- // FloatingWindow-Groesse auch im unsichtbare Zustand auf Stand halten,
- // weil KEY_PGUP/DOWN ausgewertet wird...
+ // adjust the size of the FloatingWindow even when invisible
+ // as KEY_PGUP/DOWN is being processed...
if ( mpFloatWin )
mpFloatWin->SetSizePixel( mpFloatWin->CalcFloatSize() );
}
@@ -724,7 +724,8 @@ void ComboBox::DataChanged( const DataChangedEvent& rDCEvt )
ImplInitDropDownButton( mpBtn );
}
Resize();
- mpImplLB->Resize(); // Wird nicht durch ComboBox::Resize() gerufen, wenn sich die ImplLB nicht aendert.
+ mpImplLB->Resize(); // not called by ComboBox::Resize() if ImplLB is unchanged
+
SetBackground(); // due to a hack in Window::UpdateSettings the background must be reset
// otherwise it will overpaint NWF drawn comboboxes
}
@@ -857,7 +858,7 @@ void ComboBox::Modify()
void ComboBox::ImplUpdateFloatSelection()
{
- // Text in der ListBox in den sichtbaren Bereich bringen
+ // move text in the ListBox into the visible region
mpImplLB->SetCallSelectionChangedHdl( sal_False );
if ( !IsMultiSelectionEnabled() )
{
@@ -1112,11 +1113,11 @@ Size ComboBox::CalcAdjustedSize( const Size& rPrefSize ) const
Size ComboBox::CalcSize( sal_uInt16 nColumns, sal_uInt16 nLines ) const
{
- // ggf. werden ScrollBars eingeblendet
+ // show ScrollBars where appropriate
Size aMinSz = CalcMinimumSize();
Size aSz;
- // Hoehe
+ // height
if ( nLines )
{
if ( !IsDropDownBox() )
@@ -1127,7 +1128,7 @@ Size ComboBox::CalcSize( sal_uInt16 nColumns, sal_uInt16 nLines ) const
else
aSz.Height() = aMinSz.Height();
- // Breite
+ // width
if ( nColumns )
aSz.Width() = nColumns * GetTextWidth(rtl::OUString(static_cast<sal_Unicode>('X')));
else
@@ -1203,7 +1204,7 @@ void ComboBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, s
}
}
- // Inhalt
+ // contents
if ( !IsDropDownBox() )
{
long nOnePixel = GetDrawPixel( pDev, 1 );
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index efa5985f20c4..f1d19571e0c3 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -405,7 +405,7 @@ Size FixedText::CalcMinimumTextSize( Control const *pControl, long nMaxWidth )
if ( pControl->GetStyle() & WB_EXTRAOFFSET )
aSize.Width() += 2;
- // GetTextRect verkraftet keinen leeren String:
+ // GetTextRect cannot take and empty string
if ( aSize.Width() < 0 )
aSize.Width() = 0;
if ( aSize.Height() <= 0 )
@@ -892,7 +892,7 @@ void FixedBitmap::ImplDraw( OutputDevice* pDev, sal_uLong /* nDrawFlags */,
}
else
{
- // Haben wir ueberhaupt eine Bitmap
+ // do we have a Bitmap?
if ( !(!(*pBitmap)) )
{
if ( GetStyle() & WB_SCALE )
@@ -1095,7 +1095,7 @@ void FixedImage::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
Image *pImage = &maImage;
- // Haben wir ueberhaupt ein Image
+ // do we have an image?
if ( !(!(*pImage)) )
{
if ( GetStyle() & WB_SCALE )