Remove 25 unused/obsolete translation keys (#1131)

* Initial plan

* Remove 25 unused/obsolete translation keys from all message files

Removed keys:
- admin.comment
- api_tokens.added_date
- attachment.external_file
- attachment.table.filename
- datatable.datatable.lengthMenu
- delete.caption
- edit.caption_short
- part.add.caption
- part.add.comment
- part.description.placeholder
- part.edited_flash.invalid
- part.instock.placeholder
- part.mininstock.placeholder
- part.order.price_per
- part.withdraw.btn
- part.withdraw.caption
- part.withdraw.comment:
- project.caption
- r_u2f_two_factor.name
- search.deactivateBarcode
- selectpicker.empty
- supplier.caption
- tfa_u2f.key_added_successful
- tree.root_node.text
- validator.part_lot.location_full.no_increasment (typo of fixed key)

These keys have zero occurrences in the codebase and are safe to remove.

Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jbtronics <5410681+jbtronics@users.noreply.github.com>
This commit is contained in:
Copilot 2025-12-06 22:55:02 +01:00 committed by GitHub
parent 02b1f7aa16
commit 9dc17ad9d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 126 additions and 3119 deletions

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version='1.0' encoding='utf-8'?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="el">
<file id="messages.en">
<unit id="0Md_YOf" name="attachment_type.caption">
@ -339,17 +339,6 @@
<target>Χώροι αποθήκευσης</target>
</segment>
</unit>
<unit id="ykqfBBp" name="supplier.caption">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\SupplierAdmin.html.twig:4</note>
<note priority="1">Part-DB1\templates\AdminPages\SupplierAdmin.html.twig:4</note>
<note priority="1">templates\AdminPages\SupplierAdmin.html.twig:4</note>
</notes>
<segment state="translated">
<source>supplier.caption</source>
<target>Προμηθευτές</target>
</segment>
</unit>
<unit id=".YoS4pi" name="user.edit.caption">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\UserAdmin.html.twig:8</note>
@ -1208,26 +1197,6 @@
<target>Τιμή μονάδας</target>
</segment>
</unit>
<unit id="EKnfKFl" name="edit.caption_short">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\Parts\info\_order_infos.html.twig:71</note>
<note priority="1">Part-DB1\templates\Parts\info\_order_infos.html.twig:71</note>
</notes>
<segment state="translated">
<source>edit.caption_short</source>
<target>Επεξεργασία</target>
</segment>
</unit>
<unit id="qNZM46r" name="delete.caption">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\Parts\info\_order_infos.html.twig:72</note>
<note priority="1">Part-DB1\templates\Parts\info\_order_infos.html.twig:72</note>
</notes>
<segment state="translated">
<source>delete.caption</source>
<target>Διαγραφή</target>
</segment>
</unit>
<unit id="aUihK3c" name="part_lots.description">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\Parts\info\_part_lots.html.twig:7</note>
@ -1521,16 +1490,6 @@
<target>Συνηθισμένος</target>
</segment>
</unit>
<unit id="3Vc5_D2" name="attachment.external_file">
<notes>
<note priority="1">Part-DB1\templates\Parts\info\_attachments_info.html.twig:34</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>attachment.external_file</source>
<target>Εξωτερικό αρχείο</target>
</segment>
</unit>
<unit id="gexfRxf" name="attachment.edit">
<notes>
<note priority="1">Part-DB1\templates\Parts\info\_attachments_info.html.twig:62</note>
@ -1680,4 +1639,4 @@
</segment>
</unit>
</file>
</xliff>
</xliff>