From c67c7bf63847353e45010446fd68d2fe65d8ea44 Mon Sep 17 00:00:00 2001 From: dcsjapan Date: Sat, 4 Jun 2016 16:07:07 +0900 Subject: [PATCH] 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. --- extensions/lang-english/locale/flarum-tags.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extensions/lang-english/locale/flarum-tags.yml b/extensions/lang-english/locale/flarum-tags.yml index d21809ca7..701f003b9 100644 --- a/extensions/lang-english/locale/flarum-tags.yml +++ b/extensions/lang-english/locale/flarum-tags.yml @@ -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: