Clean up blocktrans template tags (i18n)

This commit is contained in:
Jeremy Stretch
2023-09-11 16:17:02 -04:00
parent 5eae35c875
commit 7dc67a29e8
31 changed files with 76 additions and 46 deletions

View File

@@ -41,7 +41,7 @@
{% if not module.scripts %}
<div class="alert alert-warning d-flex align-items-center" role="alert">
<i class="mdi mdi-alert"></i>
{% blocktrans with file_path=module.full_path %}
{% blocktrans trimmed with file_path=module.full_path %}
Script file at <code>{{ file_path }}</code> could not be loaded.
{% endblocktrans %}
</div>
@@ -91,7 +91,7 @@
<h4 class="alert-heading">{% trans "No Scripts Found" %}</h4>
{% if perms.extras.add_scriptmodule %}
{% url 'extras:scriptmodule_add' as create_script_url %}
{% blocktrans %}
{% blocktrans trimmed %}
Get started by <a href="{{ create_script_url }}">creating a script</a> from an uploaded file or data source.
{% endblocktrans %}
{% endif %}