diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-03-31 05:28:14 +0000 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-31 08:58:48 +0000 |
commit | bb37c73bdc7544f67d1acb98af6248fb43140ca7 (patch) | |
tree | f29e11b22f0b1112f4f03f1b39432a5cefcdf042 /include/svtools | |
parent | 6a59352290a5d05c4236522b56124ac06cd591ad (diff) |
tdf#39468 Translate German comments
Translate German comments in filter/
Change-Id: I2b5856f1d4b894ca64a5b8105ca3f6466b17360b
Reviewed-on: https://gerrit.libreoffice.org/35953
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/parrtf.hxx | 2 | ||||
-rw-r--r-- | include/svtools/ruler.hxx | 2 | ||||
-rw-r--r-- | include/svtools/soerr.hxx | 4 | ||||
-rw-r--r-- | include/svtools/wizdlg.hxx | 80 |
4 files changed, 39 insertions, 49 deletions
diff --git a/include/svtools/parrtf.hxx b/include/svtools/parrtf.hxx index d2539d4f302c..05baf76e57f9 100644 --- a/include/svtools/parrtf.hxx +++ b/include/svtools/parrtf.hxx @@ -49,7 +49,7 @@ protected: void ScanText(); void SkipGroup(); - // scanne das naechste Token, + // scan the next Token virtual int GetNextToken_() override; void ReadUnknownData(); diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index f2611676db40..f88c495992b1 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -265,7 +265,7 @@ it has been dragged. There are the following query methods: - GetDragSize() If Borders are dragged, this can be used to query whether the size resp. which side or the position should be changed. - RulerDragSize::Move oder 0 - Move + RulerDragSize::Move or 0 - Move RulerDragSize::N1 - left/upper border RulerDragSize::N2 - right/bottom border diff --git a/include/svtools/soerr.hxx b/include/svtools/soerr.hxx index d12a6f9e56fa..c44f9e2b4dfb 100644 --- a/include/svtools/soerr.hxx +++ b/include/svtools/soerr.hxx @@ -21,7 +21,7 @@ #include <tools/errcode.hxx> -// Fehler Codes +// error codes #define RID_SO_ERROR_HANDLER 32000 #define SO_ERR() (ERRCODE_AREA_SO | ERRCODE_CLASS_SO) @@ -62,7 +62,7 @@ #define ERRCODE_SO_NOTIMPL (SO_ERR() | 33) #define ERRCODE_SO_MK_CANTOPENFILE (SO_ERR() | 34) -// Fehler Contexte +// error contexts #define RID_SO_ERRCTX 32001 #define ERRCTX_SO_DOVERB 1 diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx index cd21d66c4fb8..f9eb674c71ed 100644 --- a/include/svtools/wizdlg.hxx +++ b/include/svtools/wizdlg.hxx @@ -33,8 +33,8 @@ struct ImplWizButtonData; /************************************************************************* -Beschreibung -============ +Desciption +========== class WizardDialog @@ -57,55 +57,45 @@ if the Finnish-Button is activated. Then the Deactivate-Page-Handler is called by dialog and by the current TabPage. Now the dialog ends (Close() or EndDialog()). -Mit AddPage()/RemovePage()/SetPage() koennen die TabPages dem Wizard -bekannt gemacht werden. Es wird immer die TabPage des aktuellen Levels -angezeigt, wenn fuer den aktuellen Level keine TabPage zugewiesen -ist, wird die TabPages des hoechsten Levels angezeigt. Somit kann auch -immer die aktuelle TabPage ausgetauscht werden, wobei zu -beruecksichtigen ist, das im Activate-Handler die aktuelle TabPage -nicht zerstoert werden darf. - -Mit SetPrevButton()/SetNextButton() werden der Prev-Button und der -Next-Button dem Dialog bekannt gemacht. In dem Fall loest der -Dialog bei Ctr+Tab, Shift+Ctrl+Tab den entsprechenden Click-Handler -am zugewiesenen Button aus. Die Button werden nicht vom WizardDialog -disablte. Eine entsprechende Steuerung muss der Benutzer dieses -Dialoges selber programieren. - -Mit AddButton()/RemoveButton() koennen Buttons dem Wizard bekannt -gemacht werden, die in der Reihenfolge der Hinzufuegung angeordnet -werden. Die Buttons werden unabhengig von ihrem sichtbarkeitsstatus -angeordnet, so das auch spaeter ein entsprechender Button angezeigt/ -gehidet werden kann. Der Offset wird in Pixeln angegeben und bezieht -sich immer auf den nachfolgenden Button. Damit der Abstand zwischen -den Buttons bei allen Dialogen gleich ist, gibt es das Define -WIZARDDIALOG_BUTTON_STDOFFSET_X, welches als Standard-Offset genommen -werden sollte. - -Mit SetViewWindow() und SetViewAlign() kann ein Control gesetzt werden, -welches als Preview-Window oder fuer die Anzeige von schoenen Bitmaps -genutzt werden kann. +AddPage()/RemovePage()/SetPage() TabPages are made known to the Wizard. +The TabPage of the current Level is always shown and if no TabPage is +available at that level then the TabPage of the highest level is used. +Because of that the current TabPage always can be swapped under the +condition that in the Activate-Handler the current TabPage cannot be +destroyed. + +SetPrevButton()/SetNextButton() add the Prev-Button and the +Next-Button to the dialog. In that case the dialog emits the Click-Handler +of the assigned Button when Ctrl+Tab, Shift-Ctrl-Tab are pressed. The Buttons +are not disabled by the WizardDialog and such an action must be +programmed by the user of this Dialog. + +AddButton()/RemoveButton() can add Buttons to the Wizard and they're shown +the order of adding them. The Buttons are ordered independent of their +visibility state, so that also later a Button can be shown/hidden. +The Offset is in Pixels and always refers to the following Button. So that +the distance between the Buttons is the same for all dialogs, there is the +macro WIZARDDIALOG_BUTTON_STDOFFSET_X to be used as the default offset. + +With SetViewWindow() and SetViewAlign() a Control can be set, which can +be used as Preview-Window or for displaying of pretty Bitmaps. -------------------------------------------------------------------------- -Der ActivatePage()-Handler wird gerufen, wenn eine neue TabPages -angezeigt wird. In diesem Handler kann beispielsweise die neue -TabPage erzeugt werden, wenn diese zu diesem Zeitpunkt noch nicht -erzeugt wurde. Der Handler kann auch als Link gesetzt werden. Mit -GetCurLevel() kann die aktuelle ebene abgefragt werden, wobei -Level 0 die erste Seite ist. - -Der DeactivatePage()-Handler wird gerufen, wenn eine neue TabPage -angezeigt werden soll. In diesem Handler kann noch eine Fehler- -ueberprufung stattfinden und das Umschalten gegebenenfalls verhindert -werden, indem sal_False zurueckgegeben wird. Der Handler kann auch als -Link gesetzt werden. Die Defaultimplementierung ruft den Link und -gibt den Rueckgabewert des Links zurueck und wenn kein Link gesetzt -ist, wird sal_True zurueckgegeben. +The ActivatePage()-Handler is called, if a new TabPage is shown. In that +handler a new TabPage can be created if it was not created before; the +handler can be set as a Link. GetCurLevel() returns the current level and +Level 0 is the first page. + +The DeactivatePage()-Handler is called if a new TabPage should be shown. +In that handler has a optional error check and returns sal_False, if the +switch should not be done. Also the Handler can be set as a Link. The +default implementation calls the Link and returns the Links value or returns +sal_True if no Link is set. -------------------------------------------------------------------------- -Beispiel: +Example: MyWizardDlg-Ctor ---------------- |