From c28958774c420adb7d7e26562dbf158d210eaf49 Mon Sep 17 00:00:00 2001 From: eight Date: Wed, 7 Nov 2018 19:54:11 +0800 Subject: [PATCH] Add: translation for new errors --- _locales/en/messages.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 48166e36..ec7f6188 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -774,14 +774,42 @@ } } }, + "meta_invalidRangeUnits": { + "message": "Invalid @var $type$: '$units$' is not a valid unit", + "description": "Error displayed when the value of @var range or @var number is invalid", + "placeholders": { + "type": { + "content": "$1" + }, + "units": { + "content": "$2" + } + } + }, + "meta_invalidSelect": { + "message": "Invalid @var select: the default value must be an array or an object", + "description": "Error displayed when the value of @var select is invalid" + }, + "meta_invalidSelectValue": { + "message": "Invalid @var select: values inside the array/object must be a string", + "description": "Error displayed when the value of @var select is invalid" + }, "meta_invalidSelectEmptyOptions": { "message": "Invalid @var select: options list is empty", "description": "Error displayed when the value of @var select is invalid" }, + "meta_invalidSelectLabel": { + "message": "Invalid @var select: option label ie empty", + "description": "Error displayed when the value of @var select is invalid" + }, "meta_invalidSelectMultipleDefaults": { "message": "Invalid @var select: multiple default options are defined", "description": "Error displayed when the value of @var select is invalid" }, + "meta_invalidSelectNameDuplicated": { + "message": "Invalid @var select: option name is duplicated", + "description": "Error displayed when the value of @var select is invalid" + }, "meta_invalidSelectValueMismatch": { "message": "Invalid @var select: value doesn't exist in the option list", "description": "Error displayed when the value of @var select is invalid"