瀏覽代碼

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

pull/275/head
Jérôme Deuchnord 1 年之前
父節點
當前提交
0a8bfc2b8e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      kosmorro/i18n/strings.py

+ 2
- 2
kosmorro/i18n/strings.py 查看文件

@@ -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:


Loading…
取消
儲存