mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-08 03:09:33 +00:00
Validate that a parts name fullfills the regular expression set in a category
This commit is contained in:
parent
58105575d3
commit
22950f2476
5 changed files with 40 additions and 1 deletions
|
|
@ -10401,5 +10401,17 @@ Element 3</target>
|
|||
<target>Hint from category</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="_vbPEFP" name="category.edit.partname_regex.placeholder">
|
||||
<segment>
|
||||
<source>category.edit.partname_regex.placeholder</source>
|
||||
<target>e.g "/Capacitor \d+ nF/i"</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="QFgP__5" name="category.edit.partname_regex.help">
|
||||
<segment>
|
||||
<source>category.edit.partname_regex.help</source>
|
||||
<target>A PCRE-compatible regular expression, which a part name have to match.</target>
|
||||
</segment>
|
||||
</unit>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
|
|
@ -293,5 +293,11 @@
|
|||
<target>You have selected less quantity to withdraw than needed for the build! Add additional quantity.</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="G9ZKt.4" name="part.name.must_match_category_regex">
|
||||
<segment>
|
||||
<source>part.name.must_match_category_regex</source>
|
||||
<target>The part name does not match the regular expression stated by the category: %regex%</target>
|
||||
</segment>
|
||||
</unit>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue