25 lines
827 B
Ruby
25 lines
827 B
Ruby
module ValidationMessages
|
|
|
|
# general messages
|
|
PERMISSION_VALIDATION_ERROR = "You do not have permissions to perform this action."
|
|
USER_NOT_MUSICIAN_VALIDATION_ERROR = "You must be a Musician to perform this action."
|
|
USER_NOT_BAND_MEMBER_VALIDATION_ERROR = "You must be a band member to perform this action."
|
|
|
|
# band invitations
|
|
BAND_INVITATION_NOT_FOUND = "Band invitation not found."
|
|
|
|
# recordings
|
|
RECORDING_NOT_FOUND = "Recording not found."
|
|
|
|
# genres
|
|
GENRE_LIMIT_EXCEEDED = "No more than 3 genres are allowed."
|
|
GENRE_MINIMUM_NOT_MET = "At least 1 genre is required."
|
|
|
|
# instruments
|
|
INSTRUMENT_LIMIT_EXCEEDED = "No more than 5 instruments are allowed."
|
|
INSTRUMENT_MINIMUM_NOT_MET = "At least 1 instrument is required."
|
|
|
|
# user
|
|
OLD_PASSWORD_DOESNT_MATCH = "Your old password is incorrect."
|
|
|
|
end |