stable

Clone or download

Read-only

fix: wrong error message when limit is changed during the day

When a user sends a bunch of invitations and the site administrator change the limit to decrease it, then the error message received by the user should not contain negative numbers like: > You are trying to send one invitation. > The maximum number of invitations per day is 1. > You can only send -1 more invitations. Part of story #30021: Invite buddies to my Tuleap project Change-Id: Id02bbcc563083724becf3ac4702239aa61ccb8ed

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +15 −9 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +11 −9 Go to diff View file
M src/common/InviteBuddy/InvitationLimitChecker.php +9 −6 Go to diff View file
M tests/unit/common/InviteBuddy/InvitationLimitCheckerTest.php +14 −0 Go to diff View file