Fixed progress l10n

This commit is contained in:
Igor Zhukov 2014-09-23 21:04:10 +04:00
parent 12a11749b0
commit 9597d50d3a

View File

@ -150,7 +150,7 @@ angular.module('myApp.filters', ['myApp.i18n'])
totalParts = total.split(' ');
if (totalParts[1] === doneParts[1]) {
return _('format_size_progress_mulitple', {done: done, total: total, parts: (doneParts[1] || '')});
return _('format_size_progress_mulitple', {done: doneParts[0], total: totalParts[0], parts: (doneParts[1] || '')});
}
return _('format_size_progress', {done: done, total: total});
}