mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-08 20:19: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
|
parts: # e.g. this maps to perms_parts in User/Group database
|
||||||
group: "data"
|
group: "data"
|
||||||
label: "perm.parts"
|
label: "{{part}}"
|
||||||
operations: # Here are all possible operations are listed => the op name is mapped to bit value
|
operations: # Here are all possible operations are listed => the op name is mapped to bit value
|
||||||
read:
|
read:
|
||||||
label: "perm.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
|
storelocations: &PART_CONTAINING
|
||||||
label: "perm.storelocations"
|
label: "{{storage_location}}"
|
||||||
group: "data"
|
group: "data"
|
||||||
operations:
|
operations:
|
||||||
read:
|
read:
|
||||||
|
|
@ -103,39 +103,39 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
||||||
|
|
||||||
footprints:
|
footprints:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.part.footprints"
|
label: "{{footprint}}"
|
||||||
|
|
||||||
categories:
|
categories:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.part.categories"
|
label: "{{category}}"
|
||||||
|
|
||||||
suppliers:
|
suppliers:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.part.supplier"
|
label: "{{supplier}}"
|
||||||
|
|
||||||
manufacturers:
|
manufacturers:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.part.manufacturers"
|
label: "{{manufacturer}}"
|
||||||
|
|
||||||
projects:
|
projects:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.projects"
|
label: "{{project}}"
|
||||||
|
|
||||||
attachment_types:
|
attachment_types:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.part.attachment_types"
|
label: "{{attachment_type}}"
|
||||||
|
|
||||||
currencies:
|
currencies:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.currencies"
|
label: "{{currency}}"
|
||||||
|
|
||||||
measurement_units:
|
measurement_units:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.measurement_units"
|
label: "{{measurement_unit}}"
|
||||||
|
|
||||||
part_custom_states:
|
part_custom_states:
|
||||||
<<: *PART_CONTAINING
|
<<: *PART_CONTAINING
|
||||||
label: "perm.part_custom_states"
|
label: "{{part_custom_state}}"
|
||||||
|
|
||||||
tools:
|
tools:
|
||||||
label: "perm.part.tools"
|
label: "perm.part.tools"
|
||||||
|
|
@ -377,4 +377,4 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
||||||
manage_tokens:
|
manage_tokens:
|
||||||
label: "perm.api.manage_tokens"
|
label: "perm.api.manage_tokens"
|
||||||
alsoSet: ['access_api']
|
alsoSet: ['access_api']
|
||||||
apiTokenRole: ROLE_API_FULL
|
apiTokenRole: ROLE_API_FULL
|
||||||
|
|
|
||||||
|
|
@ -7658,16 +7658,6 @@ Element 1 -> Element 1.2]]></target>
|
||||||
<target>System</target>
|
<target>System</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</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">
|
<unit id="lkP7BGp" name="perm.read">
|
||||||
<notes>
|
<notes>
|
||||||
<note priority="1">obsolete</note>
|
<note priority="1">obsolete</note>
|
||||||
|
|
@ -7928,16 +7918,6 @@ Element 1 -> Element 1.2]]></target>
|
||||||
<target>Orders</target>
|
<target>Orders</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</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">
|
<unit id="iKqTace" name="perm.move">
|
||||||
<notes>
|
<notes>
|
||||||
<note priority="1">obsolete</note>
|
<note priority="1">obsolete</note>
|
||||||
|
|
@ -7958,66 +7938,6 @@ Element 1 -> Element 1.2]]></target>
|
||||||
<target>List parts</target>
|
<target>List parts</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</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">
|
<unit id="lIHo4Hd" name="perm.tools.import">
|
||||||
<notes>
|
<notes>
|
||||||
<note priority="1">obsolete</note>
|
<note priority="1">obsolete</note>
|
||||||
|
|
@ -8528,12 +8448,6 @@ Element 1 -> Element 1.2]]></target>
|
||||||
<target>Measurement unit</target>
|
<target>Measurement unit</target>
|
||||||
</segment>
|
</segment>
|
||||||
</unit>
|
</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">
|
<unit id="coNue69" name="user.settings.pw_old.label">
|
||||||
<notes>
|
<notes>
|
||||||
<note priority="1">obsolete</note>
|
<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>
|
<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>
|
</segment>
|
||||||
</unit>
|
</unit>
|
||||||
|
<unit id="GSqBiVV" name="{{part}}">
|
||||||
|
<segment>
|
||||||
|
<source>{{part}}</source>
|
||||||
|
<target>Parts</target>
|
||||||
|
</segment>
|
||||||
|
</unit>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue