diff options
-rw-r--r-- | doc/install.doc | 2 | ||||
-rw-r--r-- | src/translator_de.h | 69 |
2 files changed, 49 insertions, 22 deletions
diff --git a/doc/install.doc b/doc/install.doc index 22d6e7c..6db8102 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -61,7 +61,7 @@ tools should be installed. freetype support (which requires the freetype library and header files), otherwise the graphs will not render proper text labels. <li>For formulas in the HTML output (when MathJax is not used) - or in case you do not wish to use `pdflatex, + or in case you do not wish to use `pdflatex`, the ghostscript interpreter is needed. You can find it at <a href="https://www.ghostscript.com/">www.ghostscript.com</a>. </ul> diff --git a/src/translator_de.h b/src/translator_de.h index 8817ea8..d63bdcf 100644 --- a/src/translator_de.h +++ b/src/translator_de.h @@ -130,13 +130,20 @@ // 2016/03/15 Carsten Schumann (carsten at familie-schumann dot info) // - Updated for "new since 1.8.4" version // +// 2017/10/12 Arnd Weber (arnd dot weber at bafg dot de) +// Beatrix Konz +// - Updated for 1.8.13 +// - Resynced trMemberDataDocumentation() and trFileMembers() to include the +// boolean switch OPTIMIZE_OUTPUT_FOR_C +// - Replaced "\t" by " " +// // Todo: // - see FIXME #ifndef TRANSLATOR_DE_H #define TRANSLATOR_DE_H -class TranslatorGerman : public TranslatorAdapter_1_8_4 +class TranslatorGerman : public Translator { public: @@ -187,8 +194,15 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! header that is put before the list of member attributes. */ virtual QCString trMemberDataDocumentation() - { /* No difference if "OPTIMIZE_OUTPUT_FOR_C" is set! */ - return "Dokumentation der Datenelemente"; + { + if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) + { + return "Dokumentation der Felder"; + } + else + { + return "Dokumentation der Datenelemente"; + } } /*! this is the text of a link put after brief descriptions. */ @@ -277,8 +291,16 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! This is put above each page as a link to all members of files. */ virtual QCString trFileMembers() - /* No difference if "OPTIMIZE_OUTPUT_FOR_C" is set! */ - { return "Datei-Elemente"; } + { + if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) + { + return "Globale Elemente"; + } + else + { + return "Datei-Elemente"; + } + } /*! This is put above each page as a link to all related pages. */ virtual QCString trRelatedPages() @@ -312,13 +334,13 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) { - return "Hier folgt die Aufzählung aller Datenstrukturen " - "mit einer Kurzbeschreibung:"; + return "Hier folgt die Aufzählung aller Datenstrukturen " + "mit einer Kurzbeschreibung:"; } else { - return "Hier folgt die Aufzählung aller Klassen, Strukturen, " - "Varianten und Schnittstellen mit einer Kurzbeschreibung:"; + return "Hier folgt die Aufzählung aller Klassen, Strukturen, " + "Varianten und Schnittstellen mit einer Kurzbeschreibung:"; } } @@ -421,7 +443,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 virtual QCString trCompoundIndex() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) - return "Datenstruktur-Verzeichnis"; + return "Datenstruktur-Verzeichnis"; else return "Klassen-Verzeichnis"; } @@ -608,7 +630,6 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! this text is used in the title page of a LaTeX document. */ virtual QCString trGeneratedBy() { return "Erzeugt von"; } - ////////////////////////////////////////////////////////////////////////// // new since 0.49-990307 @@ -1200,9 +1221,13 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 virtual QCString trClasses() { if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C)) + { return "Datenstrukturen"; + } else + { return "Klassen"; + } } /*! Used as the title of a Java package */ @@ -1535,7 +1560,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 else { return "Es wurden <b>$num</b> Dokumente zu Ihrer Suchanfrage " - "gefunden. Die besten Treffer werden zuerst angezeigt."; + "gefunden. Die besten Treffer werden zuerst angezeigt."; } } /*! This string is put before the list of matched words, for each search @@ -1584,7 +1609,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 */ virtual QCString trDirDescription() { return "Diese Verzeichnishierarchie ist -mit Einschränkungen- " - "alphabetisch sortiert:"; + "alphabetisch sortiert:"; } /*! This returns the title of a directory page. The name of the @@ -1651,7 +1676,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! This is an introduction to the annotated compound list (Fortran). */ virtual QCString trCompoundListDescriptionFortran() - { return "Hier folgen die Datentypen mit Kurzbeschreibungen:"; } + { return "Hier folgen die Datentypen mit Kurzbeschreibungen:"; } /*! This is an introduction to the page with all data types (Fortran). */ virtual QCString trCompoundMembersDescriptionFortran(bool extractAll) @@ -1957,10 +1982,10 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 /*! Used file list for a Java enum */ virtual QCString trEnumGeneratedFromFiles(bool single) { QCString result = "Die Dokumentation für diesen enum wurde aus "; - if (single) - result += "der folgenden Datei"; - else - result += "den folgenden Dateien"; + if (single) + result += "der folgenden Datei"; + else + result += "den folgenden Dateien"; result+=" generiert:"; return result; } @@ -2041,9 +2066,11 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 { return "Übersicht"; } + ////////////////////////////////////////////////////////////////////////// // new since 1.8.4 ////////////////////////////////////////////////////////////////////////// + /** old style UNO IDL services: implemented interfaces */ virtual QCString trInterfaces() { return "Exportierte Interfaces"; } @@ -2071,6 +2098,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 result+=" Dienstreferenz"; return result; } + /** UNO IDL singleton page title */ virtual QCString trSingletonReference(const char *sName) { @@ -2078,6 +2106,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 result+=" Singleton-Referenz"; return result; } + /** UNO IDL service page */ virtual QCString trServiceGeneratedFromFiles(bool single) { @@ -2086,17 +2115,15 @@ class TranslatorGerman : public TranslatorAdapter_1_8_4 if (single) result+="folgender Datei: "; else result+="folgenden Dateien: "; return result; } + /** UNO IDL singleton page */ virtual QCString trSingletonGeneratedFromFiles(bool single) { QCString result=(QCString)"Die Dokumentation für diesen Singleton wurde generiert aus "; - if (single) result+="folgender Datei:"; else result+="folgenden Dateien:"; return result; } - - ////////////////////////////////////////////////////////////////////////// }; |