Remove 25 unused/obsolete translation keys from all message files
Some checks failed
Docker Image Build / docker (push) Has been cancelled
Docker Image Build (FrankenPHP) / docker (push) Has been cancelled

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>
This commit is contained in:
copilot-swe-agent[bot] 2025-12-05 10:52:19 +00:00
parent 1674bc356a
commit 337cf28e9f
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="fr">
<file id="messages.en">
<unit id="0Md_YOf" name="attachment_type.caption">
@ -558,17 +558,6 @@
<target>Nouvel emplacement de stockage</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>Fournisseurs</target>
</segment>
</unit>
<unit id="DpVIJeK" name="supplier.edit">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\SupplierAdmin.html.twig:16</note>
@ -2409,26 +2398,6 @@ Show/Hide sidebar</target>
<target>Prix unitaire</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>Éditer</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>Supprimer</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>
@ -3041,16 +3010,6 @@ Show/Hide sidebar</target>
<target>Pour garantir l'accès même en cas de perte de la clé, il est recommandé d'enregistrer une deuxième clé en guise de sauvegarde et de la conserver dans un endroit sûr !</target>
</segment>
</unit>
<unit id="ktQ_kY9" name="r_u2f_two_factor.name">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\security\U2F\u2f_register.html.twig:16</note>
<note priority="1">Part-DB1\templates\security\U2F\u2f_register.html.twig:16</note>
</notes>
<segment state="translated">
<source>r_u2f_two_factor.name</source>
<target>Afficher le nom de la clé (par exemple, sauvegarde)</target>
</segment>
</unit>
<unit id="HI4_6dF" name="tfa_u2f.add_key.add_button">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\security\U2F\u2f_register.html.twig:19</note>
@ -4044,17 +4003,6 @@ Si vous avez fait cela de manière incorrecte ou si un ordinateur n'est plus fia
<target>Fournisseur</target>
</segment>
</unit>
<unit id="Bs5QvO0" name="search.deactivateBarcode">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\_navbar_search.html.twig:57</note>
<note priority="1">Part-DB1\templates\_navbar_search.html.twig:52</note>
<note priority="1">templates\base.html.twig:75</note>
</notes>
<segment state="translated">
<source>search.deactivateBarcode</source>
<target>Désa. Code barres</target>
</segment>
</unit>
<unit id="biFM.cv" name="search.regexmatching">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\_navbar_search.html.twig:61</note>
@ -4330,16 +4278,6 @@ Si vous avez fait cela de manière incorrecte ou si un ordinateur n'est plus fia
<target>Changements sauvegardés !</target>
</segment>
</unit>
<unit id="w57VDWn" name="part.edited_flash.invalid">
<notes>
<note category="file-source" priority="1">Part-DB1\src\Controller\PartController.php:186</note>
<note priority="1">Part-DB1\src\Controller\PartController.php:186</note>
</notes>
<segment state="translated">
<source>part.edited_flash.invalid</source>
<target>Erreur lors de l'enregistrement : Vérifiez vos données !</target>
</segment>
</unit>
<unit id="suYw2UL" name="part.deleted">
<notes>
<note category="file-source" priority="1">Part-DB1\src\Controller\PartController.php:216</note>
@ -4573,16 +4511,6 @@ Si vous avez fait cela de manière incorrecte ou si un ordinateur n'est plus fia
<target>De nouveaux codes de secours ont été générés avec succès.</target>
</segment>
</unit>
<unit id="zC0oO.O" name="attachment.table.filename">
<notes>
<note category="file-source" priority="1">Part-DB1\src\DataTables\AttachmentDataTable.php:148</note>
<note priority="1">Part-DB1\src\DataTables\AttachmentDataTable.php:148</note>
</notes>
<segment state="translated">
<source>attachment.table.filename</source>
<target>Nom du fichier</target>
</segment>
</unit>
<unit id="dNey6.4" name="attachment.table.filesize">
<notes>
<note category="file-source" priority="1">Part-DB1\src\DataTables\AttachmentDataTable.php:153</note>
@ -6349,16 +6277,6 @@ Si vous avez fait cela de manière incorrecte ou si un ordinateur n'est plus fia
<target>Nouvel élément</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>Fichier extérieur</target>
</segment>
</unit>
<unit id="gexfRxf" name="attachment.edit">
<notes>
<note priority="1">Part-DB1\templates\Parts\info\_attachments_info.html.twig:62</note>
@ -6629,16 +6547,6 @@ Si vous avez fait cela de manière incorrecte ou si un ordinateur n'est plus fia
<target>Le parent ne peut pas être un de ses propres enfants.</target>
</segment>
</unit>
<unit id="nd207H6" name="validator.part_lot.location_full.no_increasment">
<notes>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>validator.part_lot.location_full.no_increasment</source>
<target>Le lieu de stockage utilisé a été marqué comme étant plein, le stock ne peut donc pas être augmenté. (Nouveau stock maximum {{old_amount}})</target>
</segment>
</unit>
<unit id="R6Ov4Yt" name="validator.part_lot.location_full">
<notes>
<note priority="1">obsolete</note>
@ -7489,39 +7397,6 @@ exemple de ville</target>
<target>Rejeter les modifications</target>
</segment>
</unit>
<unit id="7TiUzGF" name="part.withdraw.btn">
<notes>
<note priority="1">templates\Parts\show_part_info.html.twig:166</note>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.withdraw.btn</source>
<target>Retrait</target>
</segment>
</unit>
<unit id="RVKdVNt" name="part.withdraw.comment:">
<notes>
<note priority="1">templates\Parts\show_part_info.html.twig:171</note>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.withdraw.comment:</source>
<target>Commentaire/objet</target>
</segment>
</unit>
<unit id="kXcojTi" name="part.add.caption">
<notes>
<note priority="1">templates\Parts\show_part_info.html.twig:189</note>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.add.caption</source>
<target>Ajouter composants</target>
</segment>
</unit>
<unit id="rYoCVp9" name="part.add.btn">
<notes>
<note priority="1">templates\Parts\show_part_info.html.twig:194</note>
@ -7533,28 +7408,6 @@ exemple de ville</target>
<target>Ajouter</target>
</segment>
</unit>
<unit id="4CUEJg5" name="part.add.comment">
<notes>
<note priority="1">templates\Parts\show_part_info.html.twig:199</note>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.add.comment</source>
<target>Commentaire/objet</target>
</segment>
</unit>
<unit id="zIFsIyd" name="admin.comment">
<notes>
<note priority="1">templates\AdminPages\CompanyAdminBase.html.twig:15</note>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>admin.comment</source>
<target>Commentaire</target>
</segment>
</unit>
<unit id="74zmrRr" name="manufacturer_url.label">
<notes>
<note priority="1">src\Form\PartType.php:83</note>
@ -7566,69 +7419,6 @@ exemple de ville</target>
<target>Lien vers le site du fabricant</target>
</segment>
</unit>
<unit id="8QVpbd0" name="part.description.placeholder">
<notes>
<note priority="1">src\Form\PartType.php:66</note>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.description.placeholder</source>
<target>Ex. NPN 45V 0,1A 0,5W</target>
</segment>
</unit>
<unit id="w_lfSsB" name="part.instock.placeholder">
<notes>
<note priority="1">src\Form\PartType.php:69</note>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.instock.placeholder</source>
<target>Ex. 10</target>
</segment>
</unit>
<unit id="58zdDWF" name="part.mininstock.placeholder">
<notes>
<note priority="1">src\Form\PartType.php:72</note>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.mininstock.placeholder</source>
<target>Ex. 10</target>
</segment>
</unit>
<unit id="cpRdMwo" name="part.order.price_per">
<notes>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.order.price_per</source>
<target>Prix par</target>
</segment>
</unit>
<unit id="1n22zD9" name="part.withdraw.caption">
<notes>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>part.withdraw.caption</source>
<target>Retrait de composants</target>
</segment>
</unit>
<unit id="pVVBLyB" name="datatable.datatable.lengthMenu">
<notes>
<note priority="1">obsolete</note>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>datatable.datatable.lengthMenu</source>
<target>_MENU_</target>
</segment>
</unit>
<unit id="P.GFwjI" name="perm.group.parts">
<notes>
<note priority="1">obsolete</note>
@ -8701,15 +8491,6 @@ exemple de ville</target>
<target>Afficher les anciennes versions des éléments (Time travel)</target>
</segment>
</unit>
<unit id="WjnV7iC" name="tfa_u2f.key_added_successful">
<notes>
<note category="state" priority="1">obsolete</note>
</notes>
<segment state="translated">
<source>tfa_u2f.key_added_successful</source>
<target>Clé de sécurité ajoutée avec succès.</target>
</segment>
</unit>
<unit id="47ienTP" name="Username">
<notes>
<note category="state" priority="1">obsolete</note>
@ -8917,12 +8698,6 @@ exemple de ville</target>
<target>Si cette option est activée, chaque membre direct de ce groupe doit configurer au moins un deuxième facteur d'authentification. Recommandé pour les groupes administratifs ayant beaucoup de permissions.</target>
</segment>
</unit>
<unit id="i7QKlzx" name="selectpicker.empty">
<segment state="translated">
<source>selectpicker.empty</source>
<target>Rien n'est sélectionné</target>
</segment>
</unit>
<unit id="TPI_1p0" name="selectpicker.nothing_selected">
<segment state="translated">
<source>selectpicker.nothing_selected</source>
@ -9230,4 +9005,4 @@ exemple de ville</target>
</segment>
</unit>
</file>
</xliff>
</xliff>