Skip to content

Commit 298d31b

Browse files
committed
Added UI facets with translations
1 parent 35a59ed commit 298d31b

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

app/_i18n/i18n.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,5 @@ AddReview = Add Review
6868
Notes = Notes
6969
Note = Note
7070
ISBN = ISBN
71+
72+
attachmentsAndLinks = Attachments and Links

app/_i18n/i18n_de.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,5 @@ AddReview = Rezension hinzufügen
6868
Notes = Notizen
6969
Note = Notiz
7070
ISBN = ISBN
71+
72+
attachmentsAndLinks = Anhänge und Links

app/admin/fiori-service.cds

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ annotate AdminService.Books with @(UI : {
3131
Label : '{i18n>Admin}',
3232
Target : '@UI.FieldGroup#Admin'
3333
},
34+
{
35+
$Type : 'UI.ReferenceFacet',
36+
ID : 'AttachmentsFacet',
37+
Label : '{i18n>attachmentsAndLinks}',
38+
Target : 'attachments/@UI.LineItem'
39+
}
3440
],
3541
FieldGroup #General : {Data : [
3642
{Value : title},

0 commit comments

Comments
 (0)