Latest generation

This commit is contained in:
ci core model
2026-03-06 14:00:55 +00:00
parent 58583f16f1
commit 2e630196cd
3 changed files with 34 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
// Code generated by translations generator; DO NOT EDIT.
// Source: translations.yaml
// ignore_for_file: non_constant_identifier_names
/// Label represents a translation key scoped to a specific context.
class Label {
/// Context is the translation scope (e.g. "metadata").
final String context;
/// Key is the unique translation identifier within the context.
final String key;
const Label({required this.context, required this.key});
}
/// Builds a translation label for a metadata key.
Label metadataKeyLabel(String domain, String entity, String parent, String name) {
return Label(
context: 'metadata',
key: [domain, entity, parent, name, "key"].join('_').toLowerCase(),
);
}
/// Builds a translation label for a metadata value.
Label metadataValueLabel(String domain, String entity, String parent, String name, String value) {
return Label(
context: 'metadata',
key: [domain, entity, parent, name, "value", value].join('_').toLowerCase(),
);
}