diff options
Diffstat (limited to 'src/translator_de.h')
-rw-r--r-- | src/translator_de.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/translator_de.h b/src/translator_de.h index c28385c..e6b7a4a 100644 --- a/src/translator_de.h +++ b/src/translator_de.h @@ -1176,7 +1176,7 @@ class TranslatorGerman : public TranslatorAdapter_1_8_15 "Die Pfeile bedeuten:\n" "</p>\n" "<ul>\n" - "<li>Ein dunkelblauer Pfeil stellt eine öffentliche Vererbungsbeziehung " + "<li>Ein blauer Pfeil stellt eine öffentliche Vererbungsbeziehung " "zwischen zwei Klassen dar.</li>\n" "<li>Ein dunkelgrüner Pfeil stellt geschützte Vererbung dar.</li>\n" "<li>Ein dunkelroter Pfeil stellt private Vererbung dar.</li>\n" @@ -1952,6 +1952,25 @@ class TranslatorGerman : public TranslatorAdapter_1_8_15 } return sdate; } + virtual QCString trDayOfWeek(int dayOfWeek, bool, bool full) + { + static const char *days_short[] = { "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So" }; + static const char *days_full[] = { "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag" }; + QCString text = full? days_full[dayOfWeek-1] : days_short[dayOfWeek-1]; + return text; + } + virtual QCString trMonth(int month, bool, bool full) + { + static const char *months_short[] = { "Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez" }; + static const char *months_full[] = { "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember" }; + QCString text = full? months_full[month-1] : months_short[month-1]; + return text; + } + virtual QCString trDayPeriod(int period) + { + static const char *dayPeriod[] = { "AM", "PM" }; + return dayPeriod[period]; + } ////////////////////////////////////////////////////////////////////////// // new since 1.7.5 |