custom.py 582 B

12345678910111213141516171819202122232425
  1. """
  2. en-us custom locale file.
  3. """
  4. from __future__ import annotations
  5. translations = {
  6. "units": {"few_second": "a few seconds"},
  7. # Relative time
  8. "ago": "{} ago",
  9. "from_now": "in {}",
  10. "after": "{0} after",
  11. "before": "{0} before",
  12. # Ordinals
  13. "ordinal": {"one": "st", "two": "nd", "few": "rd", "other": "th"},
  14. # Date formats
  15. "date_formats": {
  16. "LTS": "h:mm:ss A",
  17. "LT": "h:mm A",
  18. "L": "MM/DD/YYYY",
  19. "LL": "MMMM D, YYYY",
  20. "LLL": "MMMM D, YYYY h:mm A",
  21. "LLLL": "dddd, MMMM D, YYYY h:mm A",
  22. },
  23. }