Made buttons translatable

This commit is contained in:
Jan Böhmer 2024-12-31 13:03:59 +01:00
parent 033f7b3116
commit 62778f7ce6
2 changed files with 14 additions and 2 deletions

View file

@ -114,7 +114,7 @@
they sometimes stack#} they sometimes stack#}
{% if localPart is not null %} {% if localPart is not null %}
<a class="btn btn-primary" href="{{ path('app_part_show', {'id': localPart.id}) }}" <a class="btn btn-primary" href="{{ path('app_part_show', {'id': localPart.id}) }}"
target="_blank" title="Show Existing Part"> {# TODO: Needs translation #} target="_blank" title="{% trans %}info_providers.search.show_existing_part{% endtrans %}">
<i class="fa-solid fa-search"></i> <i class="fa-solid fa-search"></i>
</a> </a>
{% endif %} {% endif %}
@ -122,7 +122,7 @@
<td> <td>
{% if localPart is not null %} {% if localPart is not null %}
<a class="btn btn-primary" href="{{ path('part_edit', {'id': localPart.id}) }}" <a class="btn btn-primary" href="{{ path('part_edit', {'id': localPart.id}) }}"
target="_blank" title="Edit Existing Part"> {# TODO: Needs translation #} target="_blank" title="{% trans %}info_providers.search.edit_existing_part{% endtrans %}">
<i class="fa-solid fa-pencil"></i> <i class="fa-solid fa-pencil"></i>
</a> </a>
{% endif %} {% endif %}

View file

@ -12227,5 +12227,17 @@ Please note, that you can not impersonate a disabled user. If you try you will g
<target>Generated code</target> <target>Generated code</target>
</segment> </segment>
</unit> </unit>
<unit id="5fgkpRc" name="info_providers.search.show_existing_part">
<segment>
<source>info_providers.search.show_existing_part</source>
<target>Show existing part</target>
</segment>
</unit>
<unit id="iPO8lit" name="info_providers.search.edit_existing_part">
<segment>
<source>info_providers.search.edit_existing_part</source>
<target>Edit existing part</target>
</segment>
</unit>
</file> </file>
</xliff> </xliff>