[i18n] Minor fix in attachments
parent
8a3c660d23
commit
86f2de66cd
|
@ -224,8 +224,7 @@ AttachmentsDirective = ($config, $confirm, $templates, $translate) ->
|
||||||
templateFn = ($el, $attrs) ->
|
templateFn = ($el, $attrs) ->
|
||||||
maxFileSize = $config.get("maxUploadFileSize", null)
|
maxFileSize = $config.get("maxUploadFileSize", null)
|
||||||
maxFileSize = sizeFormat(maxFileSize) if maxFileSize
|
maxFileSize = sizeFormat(maxFileSize) if maxFileSize
|
||||||
maxFileSizeMsg = if maxFileSize then $translate.instant("ATTACHMENT.MAX_UPLOAD_SIZE") else ""
|
maxFileSizeMsg = if maxFileSize then $translate.instant("ATTACHMENT.MAX_UPLOAD_SIZE", {maxFileSize: maxFileSize}) else ""
|
||||||
maxFileSize = 4000
|
|
||||||
ctx = {
|
ctx = {
|
||||||
type: $attrs.type
|
type: $attrs.type
|
||||||
maxFileSize: maxFileSize
|
maxFileSize: maxFileSize
|
||||||
|
|
Loading…
Reference in New Issue