mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-09 04:29:30 +00:00
Use our synonyms for permission translations
This commit is contained in:
parent
8c634443c9
commit
551c7f7e76
2 changed files with 18 additions and 98 deletions
|
|
@ -18,7 +18,7 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
|
||||
parts: # e.g. this maps to perms_parts in User/Group database
|
||||
group: "data"
|
||||
label: "perm.parts"
|
||||
label: "{{part}}"
|
||||
operations: # Here are all possible operations are listed => the op name is mapped to bit value
|
||||
read:
|
||||
label: "perm.read"
|
||||
|
|
@ -71,7 +71,7 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
|
||||
|
||||
storelocations: &PART_CONTAINING
|
||||
label: "perm.storelocations"
|
||||
label: "{{storage_location}}"
|
||||
group: "data"
|
||||
operations:
|
||||
read:
|
||||
|
|
@ -103,39 +103,39 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
|
||||
footprints:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.part.footprints"
|
||||
label: "{{footprint}}"
|
||||
|
||||
categories:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.part.categories"
|
||||
label: "{{category}}"
|
||||
|
||||
suppliers:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.part.supplier"
|
||||
label: "{{supplier}}"
|
||||
|
||||
manufacturers:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.part.manufacturers"
|
||||
label: "{{manufacturer}}"
|
||||
|
||||
projects:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.projects"
|
||||
label: "{{project}}"
|
||||
|
||||
attachment_types:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.part.attachment_types"
|
||||
label: "{{attachment_type}}"
|
||||
|
||||
currencies:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.currencies"
|
||||
label: "{{currency}}"
|
||||
|
||||
measurement_units:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.measurement_units"
|
||||
label: "{{measurement_unit}}"
|
||||
|
||||
part_custom_states:
|
||||
<<: *PART_CONTAINING
|
||||
label: "perm.part_custom_states"
|
||||
label: "{{part_custom_state}}"
|
||||
|
||||
tools:
|
||||
label: "perm.part.tools"
|
||||
|
|
|
|||
|
|
@ -7658,16 +7658,6 @@ Element 1 -> Element 1.2]]></target>
|
|||
<target>System</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="QpKjLiE" name="perm.parts">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
<note category="state" priority="1">obsolete</note>
|
||||
</notes>
|
||||
<segment state="translated">
|
||||
<source>perm.parts</source>
|
||||
<target>Parts</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="lkP7BGp" name="perm.read">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
|
|
@ -7928,16 +7918,6 @@ Element 1 -> Element 1.2]]></target>
|
|||
<target>Orders</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="9e70TDD" name="perm.storelocations">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
<note category="state" priority="1">obsolete</note>
|
||||
</notes>
|
||||
<segment state="translated">
|
||||
<source>perm.storelocations</source>
|
||||
<target>Storage locations</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="iKqTace" name="perm.move">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
|
|
@ -7958,66 +7938,6 @@ Element 1 -> Element 1.2]]></target>
|
|||
<target>List parts</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="qp4Nw88" name="perm.part.footprints">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
<note category="state" priority="1">obsolete</note>
|
||||
</notes>
|
||||
<segment state="translated">
|
||||
<source>perm.part.footprints</source>
|
||||
<target>Footprints</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="ochCbWd" name="perm.part.categories">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
<note category="state" priority="1">obsolete</note>
|
||||
</notes>
|
||||
<segment state="translated">
|
||||
<source>perm.part.categories</source>
|
||||
<target>Categories</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="gJeta6V" name="perm.part.supplier">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
<note category="state" priority="1">obsolete</note>
|
||||
</notes>
|
||||
<segment state="translated">
|
||||
<source>perm.part.supplier</source>
|
||||
<target>Suppliers</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="AAW9ULn" name="perm.part.manufacturers">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
<note category="state" priority="1">obsolete</note>
|
||||
</notes>
|
||||
<segment state="translated">
|
||||
<source>perm.part.manufacturers</source>
|
||||
<target>Manufacturers</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="xIsPPzY" name="perm.projects">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
<note category="state" priority="1">obsolete</note>
|
||||
</notes>
|
||||
<segment state="translated">
|
||||
<source>perm.projects</source>
|
||||
<target>Projects</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="Fa9cXuf" name="perm.part.attachment_types">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
<note category="state" priority="1">obsolete</note>
|
||||
</notes>
|
||||
<segment state="translated">
|
||||
<source>perm.part.attachment_types</source>
|
||||
<target>Attachment types</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="lIHo4Hd" name="perm.tools.import">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
|
|
@ -8528,12 +8448,6 @@ Element 1 -> Element 1.2]]></target>
|
|||
<target>Measurement unit</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="zckNn8G" name="perm.part_custom_states">
|
||||
<segment state="translated">
|
||||
<source>perm.part_custom_states</source>
|
||||
<target>Custom part state</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="coNue69" name="user.settings.pw_old.label">
|
||||
<notes>
|
||||
<note priority="1">obsolete</note>
|
||||
|
|
@ -14480,5 +14394,11 @@ Please note that this system is currently experimental, and the synonyms defined
|
|||
<target>Type synonyms allow you to replace the labels of built-in data types. For example, you can rename "Footprint" to something else.</target>
|
||||
</segment>
|
||||
</unit>
|
||||
<unit id="GSqBiVV" name="{{part}}">
|
||||
<segment>
|
||||
<source>{{part}}</source>
|
||||
<target>Parts</target>
|
||||
</segment>
|
||||
</unit>
|
||||
</file>
|
||||
</xliff>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue