You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/metadataGroup/metadata-group.component.ts
+21-10Lines changed: 21 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,12 @@ export abstract class MetadataGroupComponent extends RenderingTypeStructuredMode
32
32
/**
33
33
* The prefix used for box field label's i18n key
34
34
*/
35
-
fieldI18nPrefix='layout.field.label.';
35
+
readonlyfieldI18nPrefix='layout.field.label';
36
+
37
+
/**
38
+
* The prefix used for box field label's
39
+
*/
40
+
readonlynestedMetadataPrefix='NESTED';
36
41
37
42
/**
38
43
* A boolean representing if component is initialized
@@ -80,17 +85,23 @@ export abstract class MetadataGroupComponent extends RenderingTypeStructuredMode
80
85
}
81
86
82
87
/**
83
-
* Returns a string representing the label of field if exists
88
+
* Returns the translated label, if exists, otherwiuse returns a fallback value
Copy file name to clipboardExpand all lines: src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/row/metadata-container/metadata-container.component.html
Copy file name to clipboardExpand all lines: src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/row/metadata-container/metadata-container.component.ts
0 commit comments