mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-11 04:39:33 +00:00
JSON Importer mit Minimaldaten weiterentwickeln. Validierung mit Violations einführen und beim Import-Versuch zusätzlich mit ausgeben
This commit is contained in:
parent
b6f904a7b3
commit
907a3216f4
1 changed files with 54 additions and 0 deletions
|
|
@ -491,5 +491,59 @@
|
|||
<target>must have either assigned as sub-property: "id" as an integer greater than 0, or "name" as a non-empty string</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="a1dKro7" name="validator.bom_importer.json.quantity.required">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.quantity.required</source>
|
||||
<target>you must specify a quantity > 0!</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="hlBA1Pd" name="validator.bom_importer.json.quantity.float">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.quantity.float</source>
|
||||
<target>expected as float greater than 0.0</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="eBCiG.1" name="validator.bom_importer.json.parameter.string.notEmpty">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.parameter.string.notEmpty</source>
|
||||
<target>expected as non-empty string</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="aKg7qlT" name="validator.bom_importer.json.parameter.string.notEmpty.null">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.parameter.string.notEmpty.null</source>
|
||||
<target>als nicht leere Zeichenkette oder null erwartet</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="g8HPqwx" name="validator.bom_importer.json.parameter.array">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.parameter.array</source>
|
||||
<target>expectd as array</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="adLRxnA" name="validator.bom_importer.json.parameter.subproperties">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.parameter.subproperties</source>
|
||||
<target>must have at least one of the following sub-properties: %propertyString%</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="kt12PW4" name="validator.bom_importer.json.parameter.notFoundFor">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.parameter.notFoundFor</source>
|
||||
<target>not found for %value%</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="bhc3WQf" name="validator.bom_importer.json.parameter.noExactMatch">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.parameter.noExactMatch</source>
|
||||
<target>does not match exactly. Given for import: %importValue%, found (%foundId%): %foundValue%</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="Kb1hpq3" name="validator.bom_importer.json.parameter.manufacturerOrCategoryWithSubProperties">
|
||||
<segment>
|
||||
<source>validator.bom_importer.json.parameter.manufacturerOrCategoryWithSubProperties</source>
|
||||
<target>must have either assigned as sub-property: "id" as an integer greater than 0, or "name" as a non-empty string</target>
|
||||
</segment>
|
||||
</unit>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue