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 Age = Age
Lifetime = Lifetime Lifetime = Lifetime
SubGenres = Sub Genres SubGenres = Subgenre
NumCode = Numeric Code NumCode = Numeric Code
MinorUnit = Minor Unit MinorUnit = Minor Unit

View File

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

View File

@@ -78,11 +78,8 @@ annotate my.Genres with @(
UI : { UI : {
SelectionFields : [name], SelectionFields : [name],
LineItem : [ LineItem : [
{ Value: name }, {Value : name,
{ Label : '{i18n>Name}',
Value : name,
// TODO: i18n
Label: 'Main Genre'
}, },
], ],
} }

View File

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