add translations

This commit is contained in:
2021-12-06 16:17:30 +01:00
parent 5a61f05faa
commit b120e47786
10 changed files with 89 additions and 16 deletions

View File

@@ -5,6 +5,7 @@
{% block table_entities_thead_tr %}
<th></th>
<th>{{ 'Title'|trans }}</th>
<th>{{ 'docgen.Context'|trans }}</th>
<th>{{ 'Edit'|trans }}</th>
{% endblock %}
@@ -13,6 +14,7 @@
<tr>
<td>{{ entity.id }}</td>
<td>{{ entity.name | localize_translatable_string }}</td>
<td>{{ contextManager.getContextByKey(entity.context).name|trans }}</td>
<td>
<a href="{{ chill_path_add_return_path('chill_crud_docgen_template_edit', { 'id': entity.id }) }}" class="btn btn-edit">
{{ 'Edit'|trans }}

View File

@@ -1,6 +1,6 @@
{% extends '@ChillDocGenerator/Admin/layout.html.twig' %}
{% block title 'Pick template context'|trans %}
{% block title 'docgen.Pick template context'|trans %}
{% block layout_wvm_content %}
<div class="col-md-10 col-xxl">