(domain, new_plan_version)
Reminder rules will be deactivated.
Reminder rules will be deactivated.
Reminder rules will be deactivated .
def response_outbound_sms(domain, new_plan_version):
        """
        Reminder rules will be deactivated.
        """
        num_active = (
            len(_get_active_immediate_broadcasts(domain)) +
            len(_get_active_scheduled_broadcasts(domain)) +
            len(_get_active_scheduling_rules(domain))
        )
        if num_active > 0:
            return _fmt_alert(
                ungettext(
                    "You have %(num_active)d active Reminder Rule or Broadcast. Selecting "
                    "this plan will deactivate it.",
                    "You have %(num_active)d active Reminder Rules and Broadcasts. Selecting "
                    "this plan will deactivate them.",
                    num_active
                ) % {
                    'num_active': num_active,
                }
            )
def response_outbound_sms ( domain , new_plan_version ) : num_active = ( len ( _get_active_immediate_broadcasts ( domain ) ) + len ( _get_active_scheduled_broadcasts ( domain ) ) + len ( _get_active_scheduling_rules ( domain ) ) ) if num_active > 0 : return _fmt_alert ( ungettext ( "You have %(num_active)d active Reminder Rule or Broadcast. Selecting " "this plan will deactivate it." , "You have %(num_active)d active Reminder Rules and Broadcasts. Selecting " "this plan will deactivate them." , num_active ) % { 'num_active' : num_active , } )