mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-721] Fix translation reference for dev task (#1923)
* move translation files in the bundles folder * fix after review ripristinate tslint and remove override tsconfig
This commit is contained in:
committed by
Eugenio Romano
parent
7572c8d098
commit
9db047f8fc
@@ -53,7 +53,7 @@ export class FileUploadingDialogComponent implements OnInit, OnDestroy {
|
||||
translateService: AlfrescoTranslationService,
|
||||
private uploadService: UploadService) {
|
||||
if (translateService) {
|
||||
translateService.addTranslationFolder('ng2-alfresco-upload', 'node_modules/ng2-alfresco-upload/src');
|
||||
translateService.addTranslationFolder('ng2-alfresco-upload', 'assets/ng2-alfresco-upload');
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -108,7 +108,7 @@ export class UploadButtonComponent implements OnInit, OnChanges {
|
||||
private notificationService: NotificationService,
|
||||
private settingsService: AlfrescoSettingsService) {
|
||||
if (translateService) {
|
||||
translateService.addTranslationFolder('ng2-alfresco-upload', 'node_modules/ng2-alfresco-upload/src');
|
||||
translateService.addTranslationFolder('ng2-alfresco-upload', 'assets/ng2-alfresco-upload');
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -63,7 +63,7 @@ export class UploadDragAreaComponent {
|
||||
private logService: LogService,
|
||||
private notificationService: NotificationService) {
|
||||
if (translateService) {
|
||||
translateService.addTranslationFolder('ng2-alfresco-upload', 'node_modules/ng2-alfresco-upload/src');
|
||||
translateService.addTranslationFolder('ng2-alfresco-upload', 'assets/ng2-alfresco-upload');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user