FIX: Broken build

This commit is contained in:
Robin Ward 2014-10-09 19:42:50 -04:00
parent c1b8943a6f
commit d3b268cd2c
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ Discourse.Utilities = {
var fileSizeKB = file.size / 1024;
var maxSizeKB = Discourse.SiteSettings['max_' + type + '_size_kb'];
if (fileSizeKB > maxSizeKB) {
bootbox.alert(I18n.t('post.errors.' + type + '_too_large', { max_size_kb: maxSizeKB }));
bootbox.alert(I18n.t('post.errors.file_too_large', { max_size_kb: maxSizeKB }));
return false;
}