i18n and object page

This commit is contained in:
D070615
2025-03-21 11:15:11 +01:00
parent b5f9322c77
commit 35eada6a6c
4 changed files with 12 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
Age = Age
Lifetime = Lifetime
SubGenres = Sub Genres
SubGenres = Subgenre
NumCode = Numeric Code
MinorUnit = Minor Unit

View File

@@ -74,7 +74,7 @@ annotate AdminService.GenreHierarchy with @UI: {
LineItem : [{
$Type: 'UI.DataField',
Value: name,
Label : 'Genre'
Label :'{i18n>Name}'
}],
};

View File

@@ -74,18 +74,15 @@ annotate my.Books with {
// Genres List
//
annotate my.Genres with @(
Common.SemanticKey : [name],
UI : {
SelectionFields : [name],
LineItem : [
{ Value: name },
{
Value : name,
// TODO: i18n
Label: 'Main Genre'
},
],
}
Common.SemanticKey : [name],
UI : {
SelectionFields : [name],
LineItem : [
{Value : name,
Label : '{i18n>Name}',
},
],
}
);
annotate my.Genres with {

View File

@@ -3,7 +3,7 @@
"sap.app": {
"id": "genres",
"type": "application",
"title": "Browse genres",
"title": "{{appTitle}}",
"description": "Sample Application",
"i18n": "i18n/i18n.properties",
"applicationVersion": {