Add translations for API error messages

- Adds `:attribute` values for use in `validation.between.numeric`.
- Partially solves flarum/core/#973.
- Code needs to be revised to use these phrases.
This commit is contained in:
dcsjapan 2016-06-04 16:07:07 +09:00
parent a4a3185233
commit c67c7bf638

View File

@ -84,6 +84,13 @@ flarum-tags:
removed_tags_text: "{username} removed the {tagsRemoved}."
tags_text: "{tags} tag|{tags} tags"
# Translations in this namespace are used in messages output by the API.
api:
# These translations are used in messages regarding the number of tags assigned to a discussion.
primary_tag_count_text: number of primary tags
secondary_tag_count_text: number of secondary tags
# Translations in this namespace are used by the forum and admin interfaces.
lib: