ソースを参照

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

pull/275/head
コミット
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"), _("Elongation of %s is maximal"),
lambda e: "{:.3n}°".format(e.details["deg"]), 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)) }.get(event.event_type, (None, None))


if string is None: if string is None:


読み込み中…
キャンセル
保存