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="pl">
<file id="messages.en">
<unit id="x_wTSQS" name="attachment_type.caption">
@ -147,17 +147,6 @@
<target>Nowa waluta</target>
</segment>
</unit>
<unit id="YFQ8iCW" name="project.caption">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\DeviceAdmin.html.twig:4</note>
<note priority="1">Part-DB1\templates\AdminPages\DeviceAdmin.html.twig:4</note>
<note priority="1">templates\AdminPages\DeviceAdmin.html.twig:4</note>
</notes>
<segment state="translated">
<source>project.caption</source>
<target>Projekt</target>
</segment>
</unit>
<unit id="pe43jlV" name="project.edit">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\DeviceAdmin.html.twig:8</note>
@ -589,17 +578,6 @@
<target>Nowa lokalizacja miejsca przechowywania</target>
</segment>
</unit>
<unit id="Rt3eY_7" 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>Dostawcy</target>
</segment>
</unit>
<unit id="ozZU_B5" name="supplier.edit">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\SupplierAdmin.html.twig:16</note>
@ -2436,26 +2414,6 @@ Po usunięciu pod elementy zostaną przeniesione na górę.</target>
<target>Cena jednostkowa</target>
</segment>
</unit>
<unit id="CbWR2nl" 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>Edycja</target>
</segment>
</unit>
<unit id="er4pQft" 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>Usuń</target>
</segment>
</unit>
<unit id="pg0yCCK" name="part_lots.description">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\Parts\info\_part_lots.html.twig:7</note>
@ -3068,16 +3026,6 @@ Po usunięciu pod elementy zostaną przeniesione na górę.</target>
<target>Aby mieć pewność dostępu nawet w przypadku zgubienia klucza, zaleca się zarejestrowanie drugiego klucza jako kopię zapasową i przechowywanie go w bezpiecznym miejscu!</target>
</segment>
</unit>
<unit id="IcnYTDa" 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>Wyświetlana nazwa klucza (np. Backup)</target>
</segment>
</unit>
<unit id="wH4JBAx" 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>
@ -4070,17 +4018,6 @@ Jeśli zrobiłeś to niepoprawnie lub komputer nie jest już godny zaufania, mo
<target>Dostawca</target>
</segment>
</unit>
<unit id="liOuf4u" 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>Dezaktywuj kod kreskowy</target>
</segment>
</unit>
<unit id="h7QrXRa" name="search.regexmatching">
<notes>
<note category="file-source" priority="1">Part-DB1\templates\_navbar_search.html.twig:61</note>
@ -4372,16 +4309,6 @@ Jeśli zrobiłeś to niepoprawnie lub komputer nie jest już godny zaufania, mo
<target>Zmiany zapisane!</target>
</segment>
</unit>
<unit id="bNFdvNL" 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>Błąd podczas zapisywania: Sprawdź wprowadzone dane!</target>
</segment>
</unit>
<unit id="XFmvSsv" name="part.deleted">
<notes>
<note category="file-source" priority="1">Part-DB1\src\Controller\PartController.php:216</note>
@ -4615,16 +4542,6 @@ Jeśli zrobiłeś to niepoprawnie lub komputer nie jest już godny zaufania, mo
<target>Pomyślnie wygenerowano nowe kody zapasowe.</target>
</segment>
</unit>
<unit id="9OPMdQa" 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>Nazwa pliku</target>
</segment>
</unit>
<unit id="hSn3zNG" name="attachment.table.filesize">
<notes>
<note category="file-source" priority="1">Part-DB1\src\DataTables\AttachmentDataTable.php:153</note>
@ -6412,16 +6329,6 @@ Jeśli zrobiłeś to niepoprawnie lub komputer nie jest już godny zaufania, mo
<target>Nowy element</target>
</segment>
</unit>
<unit id="U.Ovrd7" 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>Plik zewnętrzny</target>
</segment>
</unit>
<unit id="YqYH6GX" name="attachment.edit">
<notes>
<note priority="1">Part-DB1\templates\Parts\info\_attachments_info.html.twig:62</note>
@ -6692,16 +6599,6 @@ Jeśli zrobiłeś to niepoprawnie lub komputer nie jest już godny zaufania, mo
<target>Nie możesz przypisać elementu podrzędnego jako elementu nadrzędnego (spowodowałoby to pętle)!</target>
</segment>
</unit>
<unit id="j_GFZOQ" 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>Miejsce przechowywania zostało oznaczone jako pełne, więc nie można zwiększyć ilości w magazynie. (Nowa ilość maksymalna {{ old_amount }})</target>
</segment>
</unit>
<unit id="eeEjB4s" name="validator.part_lot.location_full">
<notes>
<note priority="1">obsolete</note>
@ -7555,39 +7452,6 @@ Element 3</target>
<target>Porzuć zmiany</target>
</segment>
</unit>
<unit id="rwhG3NF" 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>Usunąć</target>
</segment>
</unit>
<unit id="KYhBkRo" 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>Komentarz/Cel</target>
</segment>
</unit>
<unit id="kAlV8Zt" 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>Dodaj komponent</target>
</segment>
</unit>
<unit id="TAZxRYj" name="part.add.btn">
<notes>
<note priority="1">templates\Parts\show_part_info.html.twig:194</note>
@ -7599,28 +7463,6 @@ Element 3</target>
<target>Dodaj</target>
</segment>
</unit>
<unit id="yqLffb1" 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>Komentarz/Cel</target>
</segment>
</unit>
<unit id="oj5uuIF" 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>Komentarz</target>
</segment>
</unit>
<unit id="VI_567B" name="manufacturer_url.label">
<notes>
<note priority="1">src\Form\PartType.php:83</note>
@ -7632,69 +7474,6 @@ Element 3</target>
<target>Adres URL producenta</target>
</segment>
</unit>
<unit id="hx8T2RQ" 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>np. NPN 45V 0,1A 0,5W</target>
</segment>
</unit>
<unit id="SDwGex2" 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>np. 10</target>
</segment>
</unit>
<unit id="of7AUNW" 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>np. 5</target>
</segment>
</unit>
<unit id="OsZzrme" 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>Cena za</target>
</segment>
</unit>
<unit id="dEQm2lQ" 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>Usuń komponent</target>
</segment>
</unit>
<unit id="MxKRRx_" 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="IPge2iH" name="perm.group.parts">
<notes>
<note priority="1">obsolete</note>
@ -8783,15 +8562,6 @@ Element 3</target>
<target>Pokaż stare wersje elementów (podróż w czasie)</target>
</segment>
</unit>
<unit id="tyCC1qL" 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>Klucz bezpieczeństwa został dodany pomyślnie.</target>
</segment>
</unit>
<unit id="VhxhtYo" name="Username">
<notes>
<note category="state" priority="1">obsolete</note>
@ -8999,12 +8769,6 @@ Element 3</target>
<target>Jeśli ta opcja jest włączona, każdy bezpośredni członek tej grupy musi skonfigurować co najmniej jeden drugi czynnik uwierzytelniania. Zalecane dla grup administracyjnych z wieloma uprawnieniami.</target>
</segment>
</unit>
<unit id="O2l2jsJ" name="selectpicker.empty">
<segment state="translated">
<source>selectpicker.empty</source>
<target>Nic nie wybrano</target>
</segment>
</unit>
<unit id="NwsYm0P" name="selectpicker.nothing_selected">
<segment state="translated">
<source>selectpicker.nothing_selected</source>
@ -9257,12 +9021,6 @@ Element 3</target>
<target>Twoje hasło musi zostać zmienione! Ustaw nowe hasło.</target>
</segment>
</unit>
<unit id="x98ftIM" name="tree.root_node.text">
<segment state="translated">
<source>tree.root_node.text</source>
<target>Węzeł główny</target>
</segment>
</unit>
<unit id="2LkM7pn" name="part_list.action.select_null">
<segment state="translated">
<source>part_list.action.select_null</source>
@ -10328,7 +10086,7 @@ Element 3</target>
<unit id="z4i8LTc" name="project.build.add_builds_to_builds_part">
<segment state="translated">
<source>project.build.add_builds_to_builds_part</source>
<target/>
<target />
</segment>
</unit>
<unit id="NrlU0Hu" name="project.build.builds_part_lot">
@ -10550,7 +10308,7 @@ Element 3</target>
<unit id="nslqnAB" name="log.element_edited.changed_fields.mountnames">
<segment state="translated">
<source>log.element_edited.changed_fields.mountnames</source>
<target/>
<target />
</segment>
</unit>
<unit id="NZoAiu_" name="log.element_edited.changed_fields.name">
@ -11761,12 +11519,6 @@ Należy pamiętać, że nie możesz udawać nieaktywnych użytkowników. Jeśli
<target>Data wygaśnięcia</target>
</segment>
</unit>
<unit id="5k6W3jw" name="api_tokens.added_date">
<segment state="translated">
<source>api_tokens.added_date</source>
<target>Utworzono</target>
</segment>
</unit>
<unit id="leWWwKP" name="api_tokens.last_time_used">
<segment state="translated">
<source>api_tokens.last_time_used</source>
@ -12440,4 +12192,4 @@ Należy pamiętać, że nie możesz udawać nieaktywnych użytkowników. Jeśli
</segment>
</unit>
</file>
</xliff>
</xliff>