{% if not block.isDecrypted %}
{% i18n "This message is encrypted." %}
{% i18n "Decrypt Message" %}
{% else %}
{% if block.inProgress %} {% i18n "Please wait while the message is being decrypted..." %} {% elif block.isDecryptable %} {% if block.detailHeader %}
{% i18n "The message is encrypted for the following keys:" %} {% if not block.isPrinting %} {% i18n "Hide Details" %} {% endif %} {% if block.compliance %} {% i18nc "Compliance: status/type of compliance" "Compliance: %1" block.compliance %} {% endif %}
{% else %}
{% if block.compliance %} {% i18nc "Encrypted message (status/type of compliance)" "Encrypted message (%1)" block.compliance %} {% else %} {% i18n "Encrypted message" %} {% endif %} {% if not block.isPrinting %} {% i18n "Show Details" %} {% endif %}
{% endif %} {% else %} {% i18n "Encrypted message (decryption not possible)" %} {% if block.errorText %}
{% i18n "Reason: " %}{{block.errorText|safe}} {% endif %} {% endif %}
{% if block.isDecryptable %} {% callback content %} {% else %}
{% if block.noSecKey %} {% i18n "No secret key found to decrypt the message. The message is encrypted for the following keys:" %} {% elif not block.inProgress %} {% i18n "Could not decrypt the data." %} {% endif %}
{% endif %}
{% i18n "End of encrypted message" %}
{% endif %}