diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2011-04-26 10:48:48 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2011-04-26 10:48:48 (GMT) |
commit | c604d141eb8b0708022a3e4b48b0b1871b692aa6 (patch) | |
tree | 5b1b526ababed94fc83b11349dd828da3bf11882 /src/translator_de.h | |
parent | 145b564516f82be1bb4cc5a82277e7c9d10ca5ca (diff) | |
download | Doxygen-c604d141eb8b0708022a3e4b48b0b1871b692aa6.zip Doxygen-c604d141eb8b0708022a3e4b48b0b1871b692aa6.tar.gz Doxygen-c604d141eb8b0708022a3e4b48b0b1871b692aa6.tar.bz2 |
Release-1.7.4-20110426
Diffstat (limited to 'src/translator_de.h')
-rw-r--r-- | src/translator_de.h | 57 |
1 files changed, 56 insertions, 1 deletions
diff --git a/src/translator_de.h b/src/translator_de.h index ca92c2b..8a9ca21 100644 --- a/src/translator_de.h +++ b/src/translator_de.h @@ -129,7 +129,7 @@ #ifndef TRANSLATOR_DE_H #define TRANSLATOR_DE_H -class TranslatorGerman : public TranslatorAdapter_1_6_3 +class TranslatorGerman : public Translator { public: @@ -1910,6 +1910,61 @@ class TranslatorGerman : public TranslatorAdapter_1_6_3 return "Keine Treffer"; } +////////////////////////////////////////////////////////////////////////// +// new since 1.6.3 (missing items for the directory pages) +////////////////////////////////////////////////////////////////////////// + + /*! introduction text for the directory dependency graph */ + virtual QCString trDirDependency(const char *name) + { + return (QCString)"Verzeichnis-Abhängigkeitsgraph für "+name; + } + + /*! when clicking a directory dependency label, a page with a + * table is shown. The heading for the first column mentions the + * source file that has a relation to another file. + */ + virtual QCString trFileIn(const char *name) + { + return (QCString)"Datei in "+name; + } + + /*! when clicking a directory dependency label, a page with a + * table is shown. The heading for the second column mentions the + * destination file that is included. + */ + virtual QCString trIncludesFileIn(const char *name) + { + return (QCString)"Include-Dateien in "+name; + } + + /** Compiles a date string. + * @param year Year in 4 digits + * @param month Month of the year: 1=January + * @param day Day of the Month: 1..31 + * @param dayOfWeek Day of the week: 1=Monday..7=Sunday + * @param hour Hour of the day: 0..23 + * @param minutes Minutes in the hour: 0..59 + * @param seconds Seconds within the minute: 0..59 + * @param includeTime Include time in the result string? + */ + virtual QCString trDateTime(int year,int month,int day,int dayOfWeek, + int hour,int minutes,int seconds, + bool includeTime) + { + static const char *days[] = { "Mon","Die","Mit","Don","Fre","Sam","Son" }; + static const char *months[] = { "Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez" }; + QCString sdate; + sdate.sprintf("%s %s %d %d",days[dayOfWeek-1],months[month-1],day,year); + if (includeTime) + { + QCString stime; + stime.sprintf(" %.2d:%.2d:%.2d",hour,minutes,seconds); + sdate+=stime; + } + return sdate; + } + }; #endif |