You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -35,3 +35,13 @@ export function metadataValueLabel(domain: string, entity: string, parent: strin
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds a translation site label for a key.
|
||||
*/
|
||||
export function siteLabel(key: string): Label {
|
||||
return {
|
||||
context: "Site",
|
||||
key: ["key", key].join("_").toLowerCase(),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user