i18n and object page
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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}'
|
||||||
}],
|
}],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -74,18 +74,15 @@ annotate my.Books with {
|
|||||||
// Genres List
|
// Genres List
|
||||||
//
|
//
|
||||||
annotate my.Genres with @(
|
annotate my.Genres with @(
|
||||||
Common.SemanticKey : [name],
|
Common.SemanticKey : [name],
|
||||||
UI : {
|
UI : {
|
||||||
SelectionFields : [name],
|
SelectionFields : [name],
|
||||||
LineItem : [
|
LineItem : [
|
||||||
{ Value: name },
|
{Value : name,
|
||||||
{
|
Label : '{i18n>Name}',
|
||||||
Value : name,
|
},
|
||||||
// TODO: i18n
|
],
|
||||||
Label: 'Main Genre'
|
}
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
);
|
);
|
||||||
|
|
||||||
annotate my.Genres with {
|
annotate my.Genres with {
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user