[ADF-1616] download zip dialog title (#2397)

This commit is contained in:
Cilibiu Bogdan 2017-09-29 16:00:06 +03:00 committed by Denys Vuika
parent d789f84ed5
commit 809e14d641
2 changed files with 12 additions and 2 deletions

View File

@ -24,13 +24,15 @@ import { AlfrescoApiService } from './../services/alfresco-api.service';
@Component({
selector: 'adf-download-zip-dialog',
template: `
<h1 md-dialog-title>Download as ZIP</h1>
<h1 md-dialog-title>{{ 'CORE.DIALOG.DOWNLOAD_ZIP.TITLE' | translate }}</h1>
<div md-dialog-content>
<md-progress-bar color="primary" mode="indeterminate"></md-progress-bar>
</div>
<div md-dialog-actions>
<span class="spacer"></span>
<button md-button color="primary" (click)="cancelDownload()">Cancel</button>
<button md-button color="primary" (click)="cancelDownload()">
{{ 'CORE.DIALOG.DOWNLOAD_ZIP.ACTIONS.CANCEL' | translate }}
</button>
</div>
`,
styles: [`

View File

@ -5,6 +5,14 @@
"ITEMS_PER_PAGE": "Items per page",
"CURRENT_PAGE": "Page {{ number }}",
"TOTAL_PAGES": "of {{ total }}"
},
"DIALOG": {
"DOWNLOAD_ZIP": {
"ACTIONS": {
"CANCEL": "Cancel"
},
"TITLE": "Adding files to zip, this could take a few minutes"
}
}
}
}