i18n and object page
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Age = Age
|
||||
Lifetime = Lifetime
|
||||
|
||||
SubGenres = Sub Genres
|
||||
SubGenres = Subgenre
|
||||
|
||||
NumCode = Numeric Code
|
||||
MinorUnit = Minor Unit
|
||||
|
||||
@@ -74,7 +74,7 @@ annotate AdminService.GenreHierarchy with @UI: {
|
||||
LineItem : [{
|
||||
$Type: 'UI.DataField',
|
||||
Value: name,
|
||||
Label : 'Genre'
|
||||
Label :'{i18n>Name}'
|
||||
}],
|
||||
};
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"sap.app": {
|
||||
"id": "genres",
|
||||
"type": "application",
|
||||
"title": "Browse genres",
|
||||
"title": "{{appTitle}}",
|
||||
"description": "Sample Application",
|
||||
"i18n": "i18n/i18n.properties",
|
||||
"applicationVersion": {
|
||||
|
||||
Reference in New Issue
Block a user