custom.py 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. """
  2. de custom locale file.
  3. """
  4. from __future__ import annotations
  5. translations = {
  6. # Relative time
  7. "after": "{0} später",
  8. "before": "{0} zuvor",
  9. "units_relative": {
  10. "year": {
  11. "future": {"one": "{0} Jahr", "other": "{0} Jahren"},
  12. "past": {"one": "{0} Jahr", "other": "{0} Jahren"},
  13. },
  14. "month": {
  15. "future": {"one": "{0} Monat", "other": "{0} Monaten"},
  16. "past": {"one": "{0} Monat", "other": "{0} Monaten"},
  17. },
  18. "week": {
  19. "future": {"one": "{0} Woche", "other": "{0} Wochen"},
  20. "past": {"one": "{0} Woche", "other": "{0} Wochen"},
  21. },
  22. "day": {
  23. "future": {"one": "{0} Tag", "other": "{0} Tagen"},
  24. "past": {"one": "{0} Tag", "other": "{0} Tagen"},
  25. },
  26. },
  27. # Date formats
  28. "date_formats": {
  29. "LTS": "HH:mm:ss",
  30. "LT": "HH:mm",
  31. "LLLL": "dddd, D. MMMM YYYY HH:mm",
  32. "LLL": "D. MMMM YYYY HH:mm",
  33. "LL": "D. MMMM YYYY",
  34. "L": "DD.MM.YYYY",
  35. },
  36. }