lightning web component label in custom list code example
Example: how to add custom label in list in lightning component
<aura:attribute type="String[]" name="values" default="[]" access="private" />
({
doInit: function(component, event, helper) {
const values = [
$A.get("$Label.c.MyLabel"),
$A.get("$Label.c.MyLabel2"),
$A.get("$Label.c.MyLabel3"),
$A.get("$Label.c.MyLabel4"),
/* ... */
];
component.set('v.values', values);
}
})