PDF uploader dialog refers to "PDF" instead of "asset"

This commit is contained in:
David Baumgold
2013-07-22 12:54:13 -04:00
parent f780369afa
commit b51aa31231

View File

@@ -241,7 +241,7 @@ CMS.Views.EditChapter = Backbone.View.extend({
asset_path: this.$("input.chapter-asset-path").val()
});
var msg = new CMS.Models.FileUpload({
title: _.template(gettext("Upload a new asset to “<%= name %>”"),
title: _.template(gettext("Upload a new PDF to “<%= name %>”"),
{name: section.escape('name')}),
message: "Files must be in PDF format."
});