Pārlūkot izejas kodu

fix: use more generic terms "apoapsis" and "periapsis"

pull/275/head
Jérôme Deuchnord pirms 1 gada
vecāks
revīzija
0a8bfc2b8e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      kosmorro/i18n/strings.py

+ 2
- 2
kosmorro/i18n/strings.py Parādīt failu

@@ -15,8 +15,8 @@ def from_event(event: Event, with_description: bool = True) -> Union[None, str]:
_("Elongation of %s is maximal"),
lambda e: "{:.3n}°".format(e.details["deg"]),
),
EventType.PERIGEE: (_("%s is at its perigee"), None),
EventType.APOGEE: (_("%s is at its apogee"), None),
EventType.PERIGEE: (_("%s is at its periapsis"), None),
EventType.APOGEE: (_("%s is at its apoapsis"), None),
}.get(event.event_type, (None, None))

if string is None:


Notiek ielāde…
Atcelt
Saglabāt