def METHOD_NAME(
    self, msgid: str, symbol: str, old_names: list[tuple[str, str]]
) -> None:
    self.check_msgid_and_symbol(msgid, symbol)
    self.add_msgid_and_symbol(msgid, symbol)
    for old_msgid, old_symbol in old_names:
        self.check_msgid_and_symbol(old_msgid, old_symbol)
        self.add_legacy_msgid_and_symbol(old_msgid, old_symbol, msgid)