Skip to content

Commit

Permalink
i18n: mark files integrity report for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Samk13 committed Oct 21, 2024
1 parent c43b8bd commit a20ecb7
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,31 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2022 CERN.
# Copyright (C) 2024 KTH Royal Institute of Technology.
#
# Invenio App RDM is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
-#}

{% set BASE_URL = config.SITE_UI_URL %}

The following files were flagged as 'unhealthy'. This means that the checksum check failed or timed out. Please take any action if needed.
{{ _("The following files were flagged as 'unhealthy'. This means that the checksum check failed or timed out. Please take any action if needed.") }}

{% for entry in entries -%}
{{ "ID: %s" | format(entry.file.id) }}
{{ "URI: %s" | format(entry.file.uri) }}
{{ _("ID: %s") | format(entry.file.id) }}
{{ _("URI: %s") | format(entry.file.uri) }}
{%- if 'filename' in entry %}
{{ "Name: %s" | format(entry.filename) }}
{{ _("Name: %s") | format(entry.filename) }}
{%- endif %}
{{ "Created: %s" | format(entry.file.created) }}
{{ "Checksum: %s" | format(entry.file.checksum) }}
{{ "Last check date: %s" | format(entry.file.last_check_at) }}
{{ "Last check FAILED with result: %s" | format(entry.file.last_check) }}
{{ _("Created: %s") | format(entry.file.created) }}
{{ _("Checksum: %s") | format(entry.file.checksum) }}
{{ _("Last check date: %s") | format(entry.file.last_check_at) }}
{{ _("Last check FAILED with result: %s") | format(entry.file.last_check) }}
{%- if 'record' in entry %}
{{ "Record: %s/records/%s" | format(BASE_URL, entry.record.id) }}
{{ _("Record: %s/records/%s") | format(BASE_URL, entry.record.id) }}
{%- endif %}
{%- if 'draft' in entry %}
{{ "Draft: %s/uploads/%s" | format(BASE_URL, entry.draft.id) }}
{{ _("Draft: %s/uploads/%s") | format(BASE_URL, entry.draft.id) }}
{%- endif %}
{{ "-" * 80 }}
{% endfor %}

0 comments on commit a20ecb7

Please sign in to comment.