mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1999] i18n support for file size pipe (#2803)
* i18n support for fileSize pipe * remove unused declaration * update unit test
This commit is contained in:
committed by
Eugenio Romano
parent
f9fb7dc7dd
commit
e98d904363
@@ -91,4 +91,8 @@ export class TranslationService {
|
||||
get(key: string|Array<string>, interpolateParams?: Object): Observable<string|any> {
|
||||
return this.translate.get(key, interpolateParams);
|
||||
}
|
||||
|
||||
instant(key: string | Array<string>, interpolateParams?: Object): string | any {
|
||||
return this.translate.instant(key, interpolateParams);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user