[ADF-1999] fix file size translation for 0 bytes (#2817)

* fix file size translation for 0 bytes

* update translation mock
This commit is contained in:
Denys Vuika
2018-01-11 10:13:31 +00:00
committed by Eugenio Romano
parent 95a33363cf
commit 9e706d68e4
2 changed files with 7 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ export class FileSizePipe implements PipeTransform {
}
if (bytes === 0) {
return '0 Bytes';
return '0 ' + this.translation.instant('CORE.FILE_SIZE.BYTES');
}
const k = 1024,