Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit ad76c69

Browse files
PierreFritschchgeo
andauthored
Add column labels for age and lifetime (#419)
Co-authored-by: Christian Georgi <[email protected]>
1 parent 0ad8bae commit ad76c69

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

fiori/app/_i18n/i18n.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ DateOfDeath = Date of Death
1212
PlaceOfBirth = Place of Birth
1313
PlaceOfDeath = Place of Death
1414
Age = Age
15+
Lifetime = Lifetime
1516
Authors = Authors
1617
Order = Order
1718
Orders = Orders

fiori/app/admin-authors/fiori-service.cds

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,10 @@ extend sap.capire.bookshop.Authors with {
4343
virtual lifetime : String;
4444
}
4545

46+
annotate AdminService.Authors with {
47+
age @Common.Label : '{i18n>Age}';
48+
lifetime @Common.Label : '{i18n>Lifetime}'
49+
}
50+
4651
// Workaround for Fiori popup for asking user to enter a new UUID on Create
4752
annotate AdminService.Authors with { ID @Core.Computed; }

0 commit comments

Comments
 (0)