{% load translations %} {% load i18n %} {% if object.locked %} {% trans "This translation is currently locked for updates." as msg %} {% show_message "warning" msg %} {% endif %}