mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 14:29:35 +00:00
Address PR review: rename to eda_visibility, merge migrations, API versioning
Changes based on jbtronics' review of PR #1241: - Rename kicad_export -> eda_visibility (entities, forms, templates, translations, tests) with nullable bool for system default support - Merge two database migrations into one (Version20260211000000) - Rename createCachedJsonResponse -> createCacheableJsonResponse - Change bool $apiV2 -> int $apiVersion with version validation - EDA visibility field only shown for part parameters, not other entities - PopulateKicadCommand: check alternative names of footprints/categories - PopulateKicadCommand: support external JSON mapping file (--mapping-file) - Ship default mappings JSON at contrib/kicad-populate/default_mappings.json - Add system-wide defaultEdaVisibility setting in KiCadEDASettings - Add KiCad HTTP Library v2 spec link in controller docs
This commit is contained in:
parent
06c6542438
commit
ae7e31f0bd
17 changed files with 532 additions and 177 deletions
|
|
@ -642,10 +642,10 @@ Sub elements will be moved upwards.</target>
|
|||
<target>Group</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="kicadExportHelp" name="specifications.kicad_export.help">
|
||||
<unit id="edaVisibilityHelp" name="specifications.eda_visibility.help">
|
||||
<segment state="translated">
|
||||
<source>specifications.kicad_export.help</source>
|
||||
<target>Export this parameter as a KiCad field</target>
|
||||
<source>specifications.eda_visibility.help</source>
|
||||
<target>Export this parameter as an EDA field</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="XclPxI9" name="specification.create">
|
||||
|
|
@ -3308,10 +3308,10 @@ If you have done this incorrectly or if a computer is no longer trusted, you can
|
|||
<target>No longer available</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="kicad_od_export" name="orderdetails.edit.kicad_export">
|
||||
<unit id="eda_od_visibility" name="orderdetails.edit.eda_visibility">
|
||||
<segment state="translated">
|
||||
<source>orderdetails.edit.kicad_export</source>
|
||||
<target>Export to KiCad</target>
|
||||
<source>orderdetails.edit.eda_visibility</source>
|
||||
<target>EDA visibility</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="ZsO5AKM" name="orderdetails.edit.supplierpartnr.placeholder">
|
||||
|
|
@ -10005,6 +10005,18 @@ Please note, that you can not impersonate a disabled user. If you try you will g
|
|||
<target>When enabled, the datasheet field in KiCad will link to the actual PDF file (if found). When disabled, it will link to the Part-DB page instead. The Part-DB page link is always available as a separate "Part-DB URL" field.</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="eda_default_vis" name="settings.misc.kicad_eda.default_eda_visibility">
|
||||
<segment state="translated">
|
||||
<source>settings.misc.kicad_eda.default_eda_visibility</source>
|
||||
<target>Default EDA visibility</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="eda_default_vis_help" name="settings.misc.kicad_eda.default_eda_visibility.help">
|
||||
<segment state="translated">
|
||||
<source>settings.misc.kicad_eda.default_eda_visibility.help</source>
|
||||
<target>Default EDA visibility for parameters and orderdetails that have no explicit value set. When enabled, all parameters and supplier part numbers will be exported to EDA by default.</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="VwvmcWE" name="settings.behavior.sidebar">
|
||||
<segment state="translated">
|
||||
<source>settings.behavior.sidebar</source>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue