mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 10:42:46 +08:00
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:
parent
a4a3185233
commit
c67c7bf638
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user