Add labels for columns type (#435)

pull/451/head
Louis Delbosc 1 year ago committed by GitHub
parent 5af2cd4ef7
commit 7a82aa1ac7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -150,7 +150,7 @@ export function select<T>(obs: Observable<T>, optionArray: MaybeObsArray<IOption
return weasel.select(obs, optionArray, selectOptions, (op) =>
cssOptionRow(
op.icon ? cssOptionRowIcon(op.icon) : null,
cssOptionLabel(op.label),
cssOptionLabel(t(op.label)),
renderOptionArgs ? renderOptionArgs(op) : null,
testId('select-row')
)

@ -751,7 +751,19 @@
"menus": {
"* Workspaces are available on team plans. ": "* Workspaces are available on team plans. ",
"Select fields": "Select fields",
"Upgrade now": "Upgrade now"
"Upgrade now": "Upgrade now",
"Any": "Any",
"Numeric": "Numeric",
"Text": "Text",
"Integer": "Integer",
"Toggle": "Toggle",
"Date": "Date",
"DateTime": "DateTime",
"Choice": "Choice",
"Choice List": "Choice List",
"Reference": "Reference",
"Reference List": "Reference List",
"Attachment": "Attachment"
},
"modals": {
"Cancel": "Cancel",

Loading…
Cancel
Save