# Support for the German language.
# This file is part of REMIND.
# REMIND is Copyright (C) 1992-2026 by Dianne Skoll
# This file is derived from a translation by Wolfgang Thronicke

TRANSLATE "LANGID" "de"

# Day names
SET $Sunday "Sonntag"
SET $Monday "Montag"
SET $Tuesday "Dienstag"
SET $Wednesday "Mittwoch"
SET $Thursday "Donnerstag"
SET $Friday "Freitag"
SET $Saturday "Samstag"

# Month names
SET $January "Januar"
SET $February "Februar"
SET $March "März"
SET $April "April"
SET $May "Mai"
SET $June "Juni"
SET $July "Juli"
SET $August "August"
SET $September "September"
SET $October "Oktober"
SET $November "November"
SET $December "Dezember"

SET $Today "heute"
SET $Tomorrow "morgen"

TRANSLATE "yesterday" "gestern"
TRANSLATE "are" "sind"
TRANSLATE "were" "waren"
TRANSLATE "done" "abgeschlossen"

# Banner
BANNER Termine für %w, den %d. %m %y%o:

SET $Am "am"
SET $Pm "pm"
SET $On "am"
SET $Hplu "n"
SET $Mplu "n"
SET $Now "jetzt"
SET $At "um"
SET $Minute "Minute"
SET $Hour "Stunde"
SET $Is "ist"
SET $Was "war"
SET $And "und"
SET $Ago "vorher"
SET $Fromnow "von heute"

FSET - subst_ampm(h)      iif(h<5, " nachts", h<12, " vormittags", h<=17, " nachmittags", " abends")
FSET - subst_ordinal(d)   "."
FSET - ordx(n) n + "."

FSET - subst_a_alt(d)     wkday(d) + ", den " + day(d) + ". " + mon(d) + " " + year(d)
FSET - subst_ax(alt, d, t) iif(alt, subst_a_alt(d), $On + " " + subst_a_alt(d))

FSET - subst_bx(a, d, t)   iif(d >= $U, "in " + (d-$U) + " Tagen", "vor " + ($U-d) + " Tagen")

FSET - subst_g_alt(d)     wkday(d) + ", den " + day(d) + ". " + mon(d)
FSET - subst_gx(alt, d, t) iif(alt, subst_g_alt(d), $On + " " + subst_g_alt(d))

FSET - subst_ux(alt, d, t) subst_ax(alt, d, t)
FSET - subst_vx(alt, d, t) subst_gx(alt, d, t)
FSET - subst_p(alt, d, t) iif(d == $U+1, "", "en")

# Localization of various astronomical events

TRANSLATE "Perihelion" "Perihel"
TRANSLATE "Aphelion" "Aphel"
TRANSLATE "Daylight Saving Time Starts" "Beginn Sommerzeit"
TRANSLATE "Daylight Saving Time Ends" "Ende Sommerzeit"

TRANSLATE "No reminders." "Keine Termine."
