[ADF-1707] added translation for My Task default app (#2458)

This commit is contained in:
Vito 2017-10-11 13:46:01 +01:00 committed by Eugenio Romano
parent 45db903d49
commit a4c427e9ee
4 changed files with 6 additions and 4 deletions

View File

@ -21,7 +21,7 @@
<md-icon class="adf-app-listgrid-item-card-logo-icon">{{getBackgroundIcon(app)}}</md-icon>
</div>
<div md-card-title class="adf-app-listgrid-item-card-title">
<h1>{{app.name}}</h1>
<h1>{{app.name | translate}}</h1>
</div>
<div md-card-subtitle class="adf-app-listgrid-item-card-subtitle" fxFlex="1 0 auto">
<p>{{app.description}}</p>

View File

@ -33,7 +33,7 @@ export class AppsListComponent implements OnInit {
public static LAYOUT_LIST: string = 'LIST';
public static LAYOUT_GRID: string = 'GRID';
public static DEFAULT_TASKS_APP: string = 'tasks';
public static DEFAULT_TASKS_APP_NAME: string = 'Task App';
public static DEFAULT_TASKS_APP_NAME: string = 'APPS.TASK_APP_NAME';
public static DEFAULT_TASKS_APP_THEME: string = 'theme-2';
public static DEFAULT_TASKS_APP_ICON: string = 'glyphicon-asterisk';
public static DEFAULT_TASKS_APP_MATERIAL_ICON: string = 'favorite_border';

View File

@ -1,6 +1,7 @@
{
"APPS": {
"NONE": "No apps found"
"NONE": "No apps found",
"TASK_APP_NAME": "Task App"
},
"TASK_LIST": {
"MESSAGES": {

View File

@ -1,6 +1,7 @@
{
"APPS": {
"NONE": "Nessuna applicazione trovata."
"NONE": "Nessuna applicazione trovata.",
"TASK_APP_NAME": "I miei compiti"
},
"TASK_LIST": {
"MESSAGES": {