def translate_relaxation(quantity: str) -> str:
    """Convert names of dynamic quantities to their relaxations.

    Args:
        quantity: The name of the quantity to convert the name of.

    Returns:
        The translated name.

    """
    translation = {
        "alpha": "max_alpha_time",
        "gamma": "max_gamma_time",
        "com_struct": "tau_F",
        "msd": "diffusion_constant",
        "rot1": "tau_R1",
        "rot2": "tau_R2",
        "struct": "tau_S",
    }
    return translation.get(quantity, quantity)