summaryrefslogtreecommitdiffstats
path: root/webapp/i18n/en.json
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-05-20 14:47:10 -0400
committerChristopher Speller <crspeller@gmail.com>2016-05-20 14:47:10 -0400
commite81fa3220de51350592e50b2fa3e0dc9425d43f8 (patch)
treecf9447ba5ab4440f1c641a9d95103ea91e76b873 /webapp/i18n/en.json
parent4f265522e1ac05ef2c10140019da73e1c4def162 (diff)
downloadchat-e81fa3220de51350592e50b2fa3e0dc9425d43f8.tar.gz
chat-e81fa3220de51350592e50b2fa3e0dc9425d43f8.tar.bz2
chat-e81fa3220de51350592e50b2fa3e0dc9425d43f8.zip
Added validation for command triggers (#3068)
Diffstat (limited to 'webapp/i18n/en.json')
-rw-r--r--webapp/i18n/en.json9
1 files changed, 6 insertions, 3 deletions
diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json
index bff8ab8aa..fcbfc7cbb 100644
--- a/webapp/i18n/en.json
+++ b/webapp/i18n/en.json
@@ -47,10 +47,13 @@
"add_command.method.help": "The type of command request issued to the Request URL.",
"add_command.method.post": "POST",
"add_command.trigger": "Command Trigger Word",
- "add_command.trigger.help1": "Examples: /patient, /client, /employee",
- "add_command.trigger.help2": "Reserved: /echo, /join, /logout, /me, /shrug",
- "add_command.trigger.placeholder": "Command trigger e.g. \"hello\" not including the slash",
+ "add_command.trigger.help1": "Examples: patient, client, employee",
+ "add_command.trigger.help2": "Reserved: echo, join, logout, me, shrug",
+ "add_command.trigger.placeholder": "Command trigger e.g. \"hello\"",
"add_command.triggerRequired": "A trigger word is required",
+ "add_command.triggerInvalidSlash": "A trigger word cannot begin with a /",
+ "add_command.triggerInvalidSpace": "A trigger word must not contain spaces",
+ "add_command.triggerInvalidLength": "A trigger word must contain between {min} and {max} characters",
"add_command.url": "Request URL",
"add_command.url.help": "The callback URL to receive the HTTP POST or GET event request when the slash command is run.",
"add_command.url.placeholder": "Must start with http:// or https://",