Add weight ratings and localize the Access field (and add it to items that should but don't have it)
This commit is contained in:
parent
40ba46fc6b
commit
329c45dad9
7 changed files with 69 additions and 29 deletions
|
|
@ -44,7 +44,7 @@ export class GoodData extends CommonItemData {
|
|||
{
|
||||
id: `access`,
|
||||
type: `dropdown`,
|
||||
label: `Access`,
|
||||
label: `RipCrypt.common.access`,
|
||||
path: `system.access`,
|
||||
value: this.access,
|
||||
limited: false,
|
||||
|
|
@ -54,7 +54,7 @@ export class GoodData extends CommonItemData {
|
|||
value: ``,
|
||||
},
|
||||
...gameTerms.Access.map(opt => ({
|
||||
label: `RipCrypt.common.access.${opt}`,
|
||||
label: `RipCrypt.common.accessLevels.${opt}`,
|
||||
value: opt,
|
||||
})),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue