mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
broken hinting fixed
This commit is contained in:
parent
d343d512b9
commit
76678f0024
|
@ -35,7 +35,7 @@ Discourse.UploadSelectorController = Discourse.Controller.extend(Discourse.Modal
|
|||
|
||||
Discourse.UploadSelectorController.reopenClass({
|
||||
translate: function(key, options) {
|
||||
opts = options || {};
|
||||
var opts = options || {};
|
||||
if (Discourse.Utilities.allowsAttachments()) { key += "_with_attachments"; }
|
||||
return I18n.t("upload_selector." + key, opts);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user