summaryrefslogtreecommitdiffstats
path: root/webapp/i18n
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
parent4f265522e1ac05ef2c10140019da73e1c4def162 (diff)
downloadchat-e81fa3220de51350592e50b2fa3e0dc9425d43f8.tar.gz
chat-e81fa3220de51350592e50b2fa3e0dc9425d43f8.tar.bz2
chat-e81fa3220de51350592e50b2fa3e0dc9425d43f8.zip
Added validation for command triggers (#3068)
Diffstat (limited to 'webapp/i18n')
-rw-r--r--webapp/i18n/en.json9
-rw-r--r--webapp/i18n/es.json6
-rw-r--r--webapp/i18n/fr.json7
-rw-r--r--webapp/i18n/ja.json5
-rw-r--r--webapp/i18n/pt.json6
5 files changed, 17 insertions, 16 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://",
diff --git a/webapp/i18n/es.json b/webapp/i18n/es.json
index b6c45cbfa..0d41ae6a5 100644
--- a/webapp/i18n/es.json
+++ b/webapp/i18n/es.json
@@ -46,9 +46,9 @@
"add_command.method.help": "El tipo de comando que se utiliza al hacer una solicitud al URL.",
"add_command.method.post": "POST",
"add_command.trigger": "Palabra Gatilladora del Comando",
- "add_command.trigger.help1": "Ejemplos: /paciente, /cliente, /empleado",
- "add_command.trigger.help2": "Reservadas: /echo, /join, /logout, /me, /shrug",
- "add_command.trigger.placeholder": "Gatillador del Comando ej. \"hola\" no se debe incluir la barra",
+ "add_command.trigger.help1": "Ejemplos: paciente, cliente, empleado",
+ "add_command.trigger.help2": "Reservadas: echo, join, logout, me, shrug",
+ "add_command.trigger.placeholder": "Gatillador del Comando ej. \"hola\"",
"add_command.triggerRequired": "Se requiere una palabra gatilladora",
"add_command.url": "URL de Solicitud",
"add_command.url.help": "El URL para recibir el evento de la solicitud HTTP POST o GET cuando se ejecuta el comando de barra.",
diff --git a/webapp/i18n/fr.json b/webapp/i18n/fr.json
index f46d339e4..b81efb4bf 100644
--- a/webapp/i18n/fr.json
+++ b/webapp/i18n/fr.json
@@ -46,10 +46,9 @@
"add_command.method.help": "Le type de méthode de requête HTTP envoyé à cette URL.",
"add_command.method.post": "POST",
"add_command.trigger": "Mot-clé de déclenchement",
- "add_command.trigger.help1": "Exemples: /patient, /client, /employé",
- "add_command.trigger.help2": "Mots réservés : /echo, /join, /logout, /me, /shrug",
- "add_command.trigger.placeholder": "Command trigger e.g. \"hello\" not including the slash",
- "add_command.triggerRequired": "A trigger word is required",
+ "add_command.trigger.help1": "Exemples: patient, client, employé",
+ "add_command.trigger.help2": "Mots réservés : echo, join, logout, me, shrug",
+ "add_command.trigger.placeholder": "Command trigger e.g. \"hello\"",
"add_command.url": "URL de requête",
"add_command.url.help": "L'URL de callback qui recevra la requête POST ou GET quand cette commande slash est exécutée.",
"add_command.url.placeholder": "Doit commencer par http:// ou https://",
diff --git a/webapp/i18n/ja.json b/webapp/i18n/ja.json
index ba1c8c901..821dec387 100644
--- a/webapp/i18n/ja.json
+++ b/webapp/i18n/ja.json
@@ -46,9 +46,8 @@
"add_command.method.help": "リクエストURLに発行するコマンドリクエストの種類です。",
"add_command.method.post": "POST",
"add_command.trigger": "コマンドトリガーワード",
- "add_command.trigger.help1": "例: /patient, /client, /employee",
- "add_command.trigger.help2": "予約語: /echo, /join, /logout, /me, /shrug",
- "add_command.trigger.placeholder": "コマンドトリガー 例: スラッシュコマンドに含まれていない\"hello\"",
+ "add_command.trigger.help1": "例: patient, client, employee",
+ "add_command.trigger.help2": "予約語: echo, join, logout, me, shrug",
"add_command.triggerRequired": "トリガーワードが必要です。",
"add_command.url": "リクエストURL",
"add_command.url.help": "スラッシュコマンドを実行した時に、HTTP POSTまたはGETイベントリクエストを受信するコールバックURLです。",
diff --git a/webapp/i18n/pt.json b/webapp/i18n/pt.json
index abc2a927a..a18de4139 100644
--- a/webapp/i18n/pt.json
+++ b/webapp/i18n/pt.json
@@ -46,9 +46,9 @@
"add_command.method.help": "O tipo de solicitação do comando emitido para a URL requisitada.",
"add_command.method.post": "POST",
"add_command.trigger": "Comando Palavra Gatilho",
- "add_command.trigger.help1": "Exemplos: /paciente, /cliente, /funcionario",
- "add_command.trigger.help2": "Reservados: /echo, /join, /logout, /me, /shrug",
- "add_command.trigger.placeholder": "Comando de gatilho ex. \"hello\", não incluí a barra",
+ "add_command.trigger.help1": "Exemplos: paciente, cliente, funcionario",
+ "add_command.trigger.help2": "Reservados: echo, join, logout, me, shrug",
+ "add_command.trigger.placeholder": "Comando de gatilho ex. \"hello\"",
"add_command.triggerRequired": "Uma palavra gatilho é necessária",
"add_command.url": "URL da solicitação",
"add_command.url.help": "A URL callback para receber o evento HTTP POST ou GET quando o comando slash for executado.",