0
Я просто собирался сделать следующие строки кода в болтовой теме CMS по умолчанию.contenttypes.generic.recent whrere это происходит из in record.twig
{% for ct in app.config.get('contenttypes') if not ct.viewless|default(false) %}
{% setcontent records = ct.slug ~ "/latest/3" %}
<h5>{{ __('contenttypes.generic.recent', {'%contenttypes%': ct.slug}) }}</h5>
<ul>
{% for record in records %}
<li><a href="{{ record.link }}">{{ record.title }}</a></li>
{% else %}
<li>{{ __('contenttypes.generic.no-recent', {'%contenttype%': ct.slug}) }}</li>
{% endfor %}
</ul>
<p><a href="{{ paths.root }}{{ct.slug}}">{{ __('contenttypes.generic.overview',{'%contenttypes%': ct.slug}) }} »</a></p>
{% endfor %}
Теперь ниже строки кода:
<h5>{{ __('contenttypes.generic.recent', {'%contenttypes%': ct.slug}) }}</h5>
генерирует текст follownng в передней части:
Recent Pages
Recent Entries
Recent Showcases
Но где именно contenttypes.generic.recent
наступающем от ??
спасибо.