Use I18n for media attachment validation errors
These are currently user facing errors, but are not localized. This adds the ability for these messages to be localized.
This commit is contained in:
parent
13c0077003
commit
ad5ddd5e95
3 changed files with 8 additions and 4 deletions
|
@ -163,3 +163,7 @@ en:
|
|||
invalid_otp_token: Invalid two-factor code
|
||||
will_paginate:
|
||||
page_gap: "…"
|
||||
media_attachments:
|
||||
validations:
|
||||
too_many: Cannot attach more than 4 files
|
||||
images_and_video: Cannot attach a video to a status that already contains images
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue