Latest generation

This commit is contained in:
ci core model
2026-06-02 15:06:31 +00:00
parent cbf30514b4
commit 7ed8600f19
3 changed files with 12 additions and 2 deletions

View File

@@ -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(),
};
}