diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-04-26 10:48:48 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-04-26 10:48:48 (GMT) |
commit | 3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68 (patch) | |
tree | 5b1b526ababed94fc83b11349dd828da3bf11882 /src/translator_de.h | |
parent | da2223bed0d63aef0bb6b9e583b90f7319363586 (diff) | |
download | Doxygen-3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68.zip Doxygen-3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68.tar.gz Doxygen-3c0d4d412c7b6c2afa9e76fcfd5ef5ea8586ad68.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 |