Commit 709ae691 by Oleksandr Barabash

new lines added to the responses

portal command fixed
parent c168f88d
en: en:
hi_message: | hi_message: |
Hi %{name}! Hi %{name}!\r\n
Thank you for installing %{bot_name}. Thank you for installing %{bot_name}.\r\n
Use '%{cmd_help}' command for more info. Use '%{cmd_help}' command for more info.
greetings_message: | greetings_message: |
Greetings, new users! Greetings, new users!\r\n
Thank you for installing %{bot_name}. Thank you for installing %{bot_name}.\r\n
Use '%{cmd_help}' command for more info. Use '%{cmd_help}' command for more info.
tenant_forbidden: | tenant_forbidden: |
...@@ -24,12 +24,12 @@ en: ...@@ -24,12 +24,12 @@ en:
portal_button_text: Open secured portal portal_button_text: Open secured portal
response_help: | response_help: |
Conversation ID: %{conversation_id}. Conversation ID: %{conversation_id}.\r\n
Tenant ID: %{tenant_id} Tenant ID: %{tenant_id}.\r\n\r\n
Supported commands: Supported commands:\r\n
%{cmd_help} - this command %{cmd_help} - this command.\r\n
%{cmd_portal} - request secured portal window. %{cmd_portal} - request secured portal window.
response_unknown_cmd: | response_unknown_cmd: |
Unknown command received. Unknown command received.\r\n
Use '%{cmd_help}' command for more info. Use '%{cmd_help}' command for more info.
...@@ -211,7 +211,7 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler): ...@@ -211,7 +211,7 @@ class TeamsMessagingExtensionsActionPreviewBot(TeamsActivityHandler):
message = turn_context.activity.text.strip().lower() message = turn_context.activity.text.strip().lower()
cmd_help = i18n.t("cmd_help") cmd_help = i18n.t("cmd_help")
cmd_portal = i18n.t("cmd_help") cmd_portal = i18n.t("cmd_portal")
if message == cmd_help.lower(): if message == cmd_help.lower():
tenant_id = turn_context.activity.conversation.tenant_id tenant_id = turn_context.activity.conversation.tenant_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment