mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-20 09:09:33 +00:00
Made buttons translatable
This commit is contained in:
parent
033f7b3116
commit
62778f7ce6
2 changed files with 14 additions and 2 deletions
|
|
@ -114,7 +114,7 @@
|
|||
they sometimes stack#}
|
||||
{% if localPart is not null %}
|
||||
<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>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
<td>
|
||||
{% if localPart is not null %}
|
||||
<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>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
|
|
|||
|
|
@ -12227,5 +12227,17 @@ Please note, that you can not impersonate a disabled user. If you try you will g
|
|||
<target>Generated code</target>
|
||||
</segment>
|
||||
</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>
|
||||
</xliff>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue