You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
Lib version: 1.13.0-SNAPSHOT-260306095701
|
Lib version: 1.13.0-SNAPSHOT-260306140012
|
||||||
|
|||||||
32
lib/utils/translations.dart
Normal file
32
lib/utils/translations.dart
Normal 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(),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
name: dart_core_sdk
|
name: dart_core_sdk
|
||||||
description: dart libs from core model proto files
|
description: dart libs from core model proto files
|
||||||
version: 1.13.0-SNAPSHOT-260306095701
|
version: 1.13.0-SNAPSHOT-260306140012
|
||||||
homepage: ''
|
homepage: ''
|
||||||
publish_to: ''
|
publish_to: ''
|
||||||
repository: ''
|
repository: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user