{{ template_content.primary_title }} version {{ localized_template_content.draft_version }}
{% if localized_template_content.published_version == localized_template_content.draft_version %}
{% trans 'published' %}
{% else %}
{% if localized_template_content.published_version %}
{% trans 'unpublished changes' %}
{% else %}
{% trans 'not published' %}
{% endif %}
{% endif %}
{% if app.secondary_languages %}
{% if localized_template_content.published_version == localized_template_content.draft_version %}
{% else %}
{% if localized_template_content.translation_ready %}
{% trans 'ready for translation' %}
{% else %}
{% trans 'not ready for translation' %}
{% endif %}
{% endif %}
{% endif %}
{% if localized_template_content.published_version %}
{% else %}
{% if app.secondary_languages %}
{% if localized_template_content.translation_ready %}
{% trans 'You marked the content in this language as ready for translation' %}
{% trans 'Successfully saved your content as draft.' %}
{% endif %}
{% if tried_publication or tried_translation_ready %}
{% if publication_errors or translation_errors %}
{% if tried_publication %}
{% trans 'Publication failed:' %}
{% for error in publication_errors %}
{{ error }}
{% endfor %}
{% else %}
{% trans 'Could not set this page as ready for translation:' %}
{% for error in translation_errors %}
{{ error }}
{% endfor %}
{% endif %}