nette / forms

📝 Generating, validating and processing secure forms in PHP. Handy API, fully customizable, server & client side validation and mature design.

Home Page:https://doc.nette.org/forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UploadControl MaxLenght message %i

marekskopal opened this issue · comments

Version: 3.1.11

Bug Description

In UploadControl there is new validation rule for MaxLenght with message in form of "The maximum allowed number of uploaded files is %i". But %i is not sprintf specifier. For integer there shoud be %d specifier. This change brakes our translation module.

Possible Solution

Change message to "The maximum allowed number of uploaded files is %d" or set it to null.

when will be this fix released, pls?