Skip to content

Commit 9dc17ad

Browse files
Copilotjbtronics
andauthored
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 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jbtronics <[email protected]>
1 parent 02b1f7a commit 9dc17ad

14 files changed

+126
-3119
lines changed

translations/messages.cs.xlf

Lines changed: 2 additions & 250 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version='1.0' encoding='utf-8'?>
22
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="cs">
33
<file id="messages.en">
44
<unit id="x_wTSQS" name="attachment_type.caption">
@@ -147,17 +147,6 @@
147147
<target>Nová měna</target>
148148
</segment>
149149
</unit>
150-
<unit id="YFQ8iCW" name="project.caption">
151-
<notes>
152-
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\DeviceAdmin.html.twig:4</note>
153-
<note priority="1">Part-DB1\templates\AdminPages\DeviceAdmin.html.twig:4</note>
154-
<note priority="1">templates\AdminPages\DeviceAdmin.html.twig:4</note>
155-
</notes>
156-
<segment state="translated">
157-
<source>project.caption</source>
158-
<target>Projekt</target>
159-
</segment>
160-
</unit>
161150
<unit id="pe43jlV" name="project.edit">
162151
<notes>
163152
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\DeviceAdmin.html.twig:8</note>
@@ -589,17 +578,6 @@
589578
<target>Nové umístění</target>
590579
</segment>
591580
</unit>
592-
<unit id="Rt3eY_7" name="supplier.caption">
593-
<notes>
594-
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\SupplierAdmin.html.twig:4</note>
595-
<note priority="1">Part-DB1\templates\AdminPages\SupplierAdmin.html.twig:4</note>
596-
<note priority="1">templates\AdminPages\SupplierAdmin.html.twig:4</note>
597-
</notes>
598-
<segment state="translated">
599-
<source>supplier.caption</source>
600-
<target>Dodavatelé</target>
601-
</segment>
602-
</unit>
603581
<unit id="ozZU_B5" name="supplier.edit">
604582
<notes>
605583
<note category="file-source" priority="1">Part-DB1\templates\AdminPages\SupplierAdmin.html.twig:16</note>
@@ -2431,26 +2409,6 @@ Související prvky budou přesunuty nahoru.</target>
24312409
<target>Jednotková cena</target>
24322410
</segment>
24332411
</unit>
2434-
<unit id="CbWR2nl" name="edit.caption_short">
2435-
<notes>
2436-
<note category="file-source" priority="1">Part-DB1\templates\Parts\info\_order_infos.html.twig:71</note>
2437-
<note priority="1">Part-DB1\templates\Parts\info\_order_infos.html.twig:71</note>
2438-
</notes>
2439-
<segment state="translated">
2440-
<source>edit.caption_short</source>
2441-
<target>Upravit</target>
2442-
</segment>
2443-
</unit>
2444-
<unit id="er4pQft" name="delete.caption">
2445-
<notes>
2446-
<note category="file-source" priority="1">Part-DB1\templates\Parts\info\_order_infos.html.twig:72</note>
2447-
<note priority="1">Part-DB1\templates\Parts\info\_order_infos.html.twig:72</note>
2448-
</notes>
2449-
<segment state="translated">
2450-
<source>delete.caption</source>
2451-
<target>Smazat</target>
2452-
</segment>
2453-
</unit>
24542412
<unit id="pg0yCCK" name="part_lots.description">
24552413
<notes>
24562414
<note category="file-source" priority="1">Part-DB1\templates\Parts\info\_part_lots.html.twig:7</note>
@@ -3063,16 +3021,6 @@ Související prvky budou přesunuty nahoru.</target>
30633021
<target>Pro zajištění přístupu i v případě ztráty klíče doporučujeme zaregistrovat druhý klíč jako zálohu a uložit jej na bezpečném místě!</target>
30643022
</segment>
30653023
</unit>
3066-
<unit id="IcnYTDa" name="r_u2f_two_factor.name">
3067-
<notes>
3068-
<note category="file-source" priority="1">Part-DB1\templates\security\U2F\u2f_register.html.twig:16</note>
3069-
<note priority="1">Part-DB1\templates\security\U2F\u2f_register.html.twig:16</note>
3070-
</notes>
3071-
<segment state="translated">
3072-
<source>r_u2f_two_factor.name</source>
3073-
<target>Zobrazený název klíče (např. Záloha)</target>
3074-
</segment>
3075-
</unit>
30763024
<unit id="wH4JBAx" name="tfa_u2f.add_key.add_button">
30773025
<notes>
30783026
<note category="file-source" priority="1">Part-DB1\templates\security\U2F\u2f_register.html.twig:19</note>
@@ -4066,17 +4014,6 @@ Pokud jste to provedli nesprávně nebo pokud počítač již není důvěryhodn
40664014
<target>Dodavatel</target>
40674015
</segment>
40684016
</unit>
4069-
<unit id="liOuf4u" name="search.deactivateBarcode">
4070-
<notes>
4071-
<note category="file-source" priority="1">Part-DB1\templates\_navbar_search.html.twig:57</note>
4072-
<note priority="1">Part-DB1\templates\_navbar_search.html.twig:52</note>
4073-
<note priority="1">templates\base.html.twig:75</note>
4074-
</notes>
4075-
<segment state="translated">
4076-
<source>search.deactivateBarcode</source>
4077-
<target>Deaktivovat čárový kód</target>
4078-
</segment>
4079-
</unit>
40804017
<unit id="h7QrXRa" name="search.regexmatching">
40814018
<notes>
40824019
<note category="file-source" priority="1">Part-DB1\templates\_navbar_search.html.twig:61</note>
@@ -4368,16 +4305,6 @@ Pokud jste to provedli nesprávně nebo pokud počítač již není důvěryhodn
43684305
<target>Uložené změny!</target>
43694306
</segment>
43704307
</unit>
4371-
<unit id="bNFdvNL" name="part.edited_flash.invalid">
4372-
<notes>
4373-
<note category="file-source" priority="1">Part-DB1\src\Controller\PartController.php:186</note>
4374-
<note priority="1">Part-DB1\src\Controller\PartController.php:186</note>
4375-
</notes>
4376-
<segment state="translated">
4377-
<source>part.edited_flash.invalid</source>
4378-
<target>Chyba při ukládání: Zkontrolujte prosím své zadání!</target>
4379-
</segment>
4380-
</unit>
43814308
<unit id="XFmvSsv" name="part.deleted">
43824309
<notes>
43834310
<note category="file-source" priority="1">Part-DB1\src\Controller\PartController.php:216</note>
@@ -4611,16 +4538,6 @@ Pokud jste to provedli nesprávně nebo pokud počítač již není důvěryhodn
46114538
<target>Nové záložní kódy byly úspěšně vygenerovány.</target>
46124539
</segment>
46134540
</unit>
4614-
<unit id="9OPMdQa" name="attachment.table.filename">
4615-
<notes>
4616-
<note category="file-source" priority="1">Part-DB1\src\DataTables\AttachmentDataTable.php:148</note>
4617-
<note priority="1">Part-DB1\src\DataTables\AttachmentDataTable.php:148</note>
4618-
</notes>
4619-
<segment state="translated">
4620-
<source>attachment.table.filename</source>
4621-
<target>Název souboru</target>
4622-
</segment>
4623-
</unit>
46244541
<unit id="hSn3zNG" name="attachment.table.filesize">
46254542
<notes>
46264543
<note category="file-source" priority="1">Part-DB1\src\DataTables\AttachmentDataTable.php:153</note>
@@ -6408,16 +6325,6 @@ Pokud jste to provedli nesprávně nebo pokud počítač již není důvěryhodn
64086325
<target>Nový prvek</target>
64096326
</segment>
64106327
</unit>
6411-
<unit id="U.Ovrd7" name="attachment.external_file">
6412-
<notes>
6413-
<note priority="1">Part-DB1\templates\Parts\info\_attachments_info.html.twig:34</note>
6414-
<note category="state" priority="1">obsolete</note>
6415-
</notes>
6416-
<segment state="translated">
6417-
<source>attachment.external_file</source>
6418-
<target>Externí soubor</target>
6419-
</segment>
6420-
</unit>
64216328
<unit id="YqYH6GX" name="attachment.edit">
64226329
<notes>
64236330
<note priority="1">Part-DB1\templates\Parts\info\_attachments_info.html.twig:62</note>
@@ -6688,16 +6595,6 @@ Pokud jste to provedli nesprávně nebo pokud počítač již není důvěryhodn
66886595
<target>Rodič nemůže být jedním ze svých potomků.</target>
66896596
</segment>
66906597
</unit>
6691-
<unit id="j_GFZOQ" name="validator.part_lot.location_full.no_increasment">
6692-
<notes>
6693-
<note priority="1">obsolete</note>
6694-
<note category="state" priority="1">obsolete</note>
6695-
</notes>
6696-
<segment state="translated">
6697-
<source>validator.part_lot.location_full.no_increasment</source>
6698-
<target>Místo je obsazeno. Množství nelze navýšit (nová hodnota musí být menší než {{ old_amount }}).</target>
6699-
</segment>
6700-
</unit>
67016598
<unit id="eeEjB4s" name="validator.part_lot.location_full">
67026599
<notes>
67036600
<note priority="1">obsolete</note>
@@ -7551,39 +7448,6 @@ Element 3</target>
75517448
<target>Zrušit změny</target>
75527449
</segment>
75537450
</unit>
7554-
<unit id="rwhG3NF" name="part.withdraw.btn">
7555-
<notes>
7556-
<note priority="1">templates\Parts\show_part_info.html.twig:166</note>
7557-
<note priority="1">obsolete</note>
7558-
<note category="state" priority="1">obsolete</note>
7559-
</notes>
7560-
<segment state="translated">
7561-
<source>part.withdraw.btn</source>
7562-
<target>Stáhnout</target>
7563-
</segment>
7564-
</unit>
7565-
<unit id="KYhBkRo" name="part.withdraw.comment:">
7566-
<notes>
7567-
<note priority="1">templates\Parts\show_part_info.html.twig:171</note>
7568-
<note priority="1">obsolete</note>
7569-
<note category="state" priority="1">obsolete</note>
7570-
</notes>
7571-
<segment state="translated">
7572-
<source>part.withdraw.comment:</source>
7573-
<target>Komentář/účel</target>
7574-
</segment>
7575-
</unit>
7576-
<unit id="kAlV8Zt" name="part.add.caption">
7577-
<notes>
7578-
<note priority="1">templates\Parts\show_part_info.html.twig:189</note>
7579-
<note priority="1">obsolete</note>
7580-
<note category="state" priority="1">obsolete</note>
7581-
</notes>
7582-
<segment state="translated">
7583-
<source>part.add.caption</source>
7584-
<target>Přidání dílů</target>
7585-
</segment>
7586-
</unit>
75877451
<unit id="TAZxRYj" name="part.add.btn">
75887452
<notes>
75897453
<note priority="1">templates\Parts\show_part_info.html.twig:194</note>
@@ -7595,28 +7459,6 @@ Element 3</target>
75957459
<target>Přidat</target>
75967460
</segment>
75977461
</unit>
7598-
<unit id="yqLffb1" name="part.add.comment">
7599-
<notes>
7600-
<note priority="1">templates\Parts\show_part_info.html.twig:199</note>
7601-
<note priority="1">obsolete</note>
7602-
<note category="state" priority="1">obsolete</note>
7603-
</notes>
7604-
<segment state="translated">
7605-
<source>part.add.comment</source>
7606-
<target>Komentář/účel</target>
7607-
</segment>
7608-
</unit>
7609-
<unit id="oj5uuIF" name="admin.comment">
7610-
<notes>
7611-
<note priority="1">templates\AdminPages\CompanyAdminBase.html.twig:15</note>
7612-
<note priority="1">obsolete</note>
7613-
<note category="state" priority="1">obsolete</note>
7614-
</notes>
7615-
<segment state="translated">
7616-
<source>admin.comment</source>
7617-
<target>Poznámky</target>
7618-
</segment>
7619-
</unit>
76207462
<unit id="VI_567B" name="manufacturer_url.label">
76217463
<notes>
76227464
<note priority="1">src\Form\PartType.php:83</note>
@@ -7628,69 +7470,6 @@ Element 3</target>
76287470
<target>Odkaz na výrobce</target>
76297471
</segment>
76307472
</unit>
7631-
<unit id="hx8T2RQ" name="part.description.placeholder">
7632-
<notes>
7633-
<note priority="1">src\Form\PartType.php:66</note>
7634-
<note priority="1">obsolete</note>
7635-
<note category="state" priority="1">obsolete</note>
7636-
</notes>
7637-
<segment state="translated">
7638-
<source>part.description.placeholder</source>
7639-
<target>např. NPN 45V 0,1A 0,5W</target>
7640-
</segment>
7641-
</unit>
7642-
<unit id="SDwGex2" name="part.instock.placeholder">
7643-
<notes>
7644-
<note priority="1">src\Form\PartType.php:69</note>
7645-
<note priority="1">obsolete</note>
7646-
<note category="state" priority="1">obsolete</note>
7647-
</notes>
7648-
<segment state="translated">
7649-
<source>part.instock.placeholder</source>
7650-
<target>např. 10</target>
7651-
</segment>
7652-
</unit>
7653-
<unit id="of7AUNW" name="part.mininstock.placeholder">
7654-
<notes>
7655-
<note priority="1">src\Form\PartType.php:72</note>
7656-
<note priority="1">obsolete</note>
7657-
<note category="state" priority="1">obsolete</note>
7658-
</notes>
7659-
<segment state="translated">
7660-
<source>part.mininstock.placeholder</source>
7661-
<target>např. 5</target>
7662-
</segment>
7663-
</unit>
7664-
<unit id="OsZzrme" name="part.order.price_per">
7665-
<notes>
7666-
<note priority="1">obsolete</note>
7667-
<note category="state" priority="1">obsolete</note>
7668-
</notes>
7669-
<segment state="translated">
7670-
<source>part.order.price_per</source>
7671-
<target>Cena za</target>
7672-
</segment>
7673-
</unit>
7674-
<unit id="dEQm2lQ" name="part.withdraw.caption">
7675-
<notes>
7676-
<note priority="1">obsolete</note>
7677-
<note category="state" priority="1">obsolete</note>
7678-
</notes>
7679-
<segment state="translated">
7680-
<source>part.withdraw.caption</source>
7681-
<target>Odebrání dílů</target>
7682-
</segment>
7683-
</unit>
7684-
<unit id="MxKRRx_" name="datatable.datatable.lengthMenu">
7685-
<notes>
7686-
<note priority="1">obsolete</note>
7687-
<note category="state" priority="1">obsolete</note>
7688-
</notes>
7689-
<segment state="translated">
7690-
<source>datatable.datatable.lengthMenu</source>
7691-
<target>_MENU_</target>
7692-
</segment>
7693-
</unit>
76947473
<unit id="IPge2iH" name="perm.group.parts">
76957474
<notes>
76967475
<note priority="1">obsolete</note>
@@ -8769,15 +8548,6 @@ Element 3</target>
87698548
<target>Zobrazit staré verze prvků (cestování v čase)</target>
87708549
</segment>
87718550
</unit>
8772-
<unit id="tyCC1qL" name="tfa_u2f.key_added_successful">
8773-
<notes>
8774-
<note category="state" priority="1">obsolete</note>
8775-
</notes>
8776-
<segment state="translated">
8777-
<source>tfa_u2f.key_added_successful</source>
8778-
<target>Bezpečnostní klíč byl úspěšně přidán.</target>
8779-
</segment>
8780-
</unit>
87818551
<unit id="gDVCAxj" name="log.type.security.google_disabled">
87828552
<notes>
87838553
<note category="state" priority="1">obsolete</note>
@@ -8976,12 +8746,6 @@ Element 3</target>
89768746
<target>Pokud je tato možnost povolena, musí každý přímý člen této skupiny nakonfigurovat alespoň jeden druhý faktor pro ověření. Doporučeno pro skupiny správců s velkým počtem oprávnění.</target>
89778747
</segment>
89788748
</unit>
8979-
<unit id="O2l2jsJ" name="selectpicker.empty">
8980-
<segment state="translated">
8981-
<source>selectpicker.empty</source>
8982-
<target>Nic není vybráno</target>
8983-
</segment>
8984-
</unit>
89858749
<unit id="NwsYm0P" name="selectpicker.nothing_selected">
89868750
<segment state="translated">
89878751
<source>selectpicker.nothing_selected</source>
@@ -9234,12 +8998,6 @@ Element 3</target>
92348998
<target>Vaše heslo je třeba změnit! Nastavte prosím nové heslo.</target>
92358999
</segment>
92369000
</unit>
9237-
<unit id="x98ftIM" name="tree.root_node.text">
9238-
<segment state="translated">
9239-
<source>tree.root_node.text</source>
9240-
<target>Kořenový uzel</target>
9241-
</segment>
9242-
</unit>
92439001
<unit id="2LkM7pn" name="part_list.action.select_null">
92449002
<segment state="translated">
92459003
<source>part_list.action.select_null</source>
@@ -11738,12 +11496,6 @@ Vezměte prosím na vědomí, že se nemůžete vydávat za uživatele se zakáz
1173811496
<target>Datum vypršení platnosti</target>
1173911497
</segment>
1174011498
</unit>
11741-
<unit id="5k6W3jw" name="api_tokens.added_date">
11742-
<segment state="translated">
11743-
<source>api_tokens.added_date</source>
11744-
<target>Přidáno v</target>
11745-
</segment>
11746-
</unit>
1174711499
<unit id="leWWwKP" name="api_tokens.last_time_used">
1174811500
<segment state="translated">
1174911501
<source>api_tokens.last_time_used</source>
@@ -13744,4 +13496,4 @@ Vezměte prosím na vědomí, že se nemůžete vydávat za uživatele se zakáz
1374413496
</segment>
1374513497
</unit>
1374613498
</file>
13747-
</xliff>
13499+
</xliff>

0 commit comments

Comments
 (0)