From 13c471e651bf13860ac76aea9ba52bd0dbb4ba87 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Wed, 1 Nov 2023 15:51:44 -0400 Subject: [PATCH 1/2] template instructions --- locales/en/public.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locales/en/public.json b/locales/en/public.json index c432c2e5a..229893087 100644 --- a/locales/en/public.json +++ b/locales/en/public.json @@ -258,9 +258,9 @@ "DESCRIPTION": "Select Dashboard Layout Template configuration file(s) to upload. File(s) must be in valid JSON format.", "ERROR": { "CONFIG_INVALID": "Card configurations are invalid.", - "DESCRIPTION_INVALID": "Template description is invalid.", + "DESCRIPTION_INVALID": "Template description is invalid. The description can only include letters, numbers, spaces, and some special characters. It must also be 100 characters or less.", "DUPLICATE_UPLOAD": "A previously uploaded file has the same template name as the current file: \"{{name}}\".", - "NAME_INVALID": "Template name is invalid.", + "NAME_INVALID": "Template name is invalid. The name must be alphanumeric and be 20 characters or less.", "NAME_TAKEN": "Template with name \"{{name}}\" already exists.", "PARSE": "JSON parse error.", "TEMPLATE_INVALID": "Template has an invalid configuration.", From 47607a999b211a9c9c7b8024f91e45f395a838c1 Mon Sep 17 00:00:00 2001 From: Ming Wang Date: Thu, 2 Nov 2023 16:22:18 -0400 Subject: [PATCH 2/2] update --- locales/en/public.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locales/en/public.json b/locales/en/public.json index 229893087..6a54478bb 100644 --- a/locales/en/public.json +++ b/locales/en/public.json @@ -258,7 +258,7 @@ "DESCRIPTION": "Select Dashboard Layout Template configuration file(s) to upload. File(s) must be in valid JSON format.", "ERROR": { "CONFIG_INVALID": "Card configurations are invalid.", - "DESCRIPTION_INVALID": "Template description is invalid. The description can only include letters, numbers, spaces, and some special characters. It must also be 100 characters or less.", + "DESCRIPTION_INVALID": "Template description is invalid. The description can only include letters, numbers, spaces, quotations, punctuations, and some other special characters such as underscores and brackets. It must also be 100 characters or less.", "DUPLICATE_UPLOAD": "A previously uploaded file has the same template name as the current file: \"{{name}}\".", "NAME_INVALID": "Template name is invalid. The name must be alphanumeric and be 20 characters or less.", "NAME_TAKEN": "Template with name \"{{name}}\" already exists.",