Skip to content

Commit

Permalink
fix: use admin translation domain instead of messages for brick `…
Browse files Browse the repository at this point in the history
…name` and `description` (#41)

Co-authored-by: Jacob Dreesen <[email protected]>
  • Loading branch information
mike4git and jdreesen authored Jan 23, 2025
1 parent 7cd62f9 commit eaf2c61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/bricks/overview.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<tbody>
{% for brick in bricks %}
<tr>
<td>{{ brick.name|trans }}</td>
<td>{{ brick.name|trans(domain='admin') }}</td>
<td>{{ brick.id }}</td>
{% if hasVersions %}
<td>{{ brick.version }}</td>
{% endif %}
{% if hasDescriptions %}
<td>{{ brick.description|trans }}</td>
<td>{{ brick.description|trans(domain='admin') }}</td>
{% endif %}
<td>{{ brick.template }}</td>
<td>
Expand Down

0 comments on commit eaf2c61

Please sign in to comment.