discourse-chat-integration/config/locales/server.en.yml

113 lines
5.6 KiB
YAML
Raw Normal View History

2017-06-26 10:08:06 -04:00
en:
site_settings:
chat_integration_enabled: 'Enable the discourse-chat-integration plugin'
chat_integration_discourse_username: 'Username of user to act as when fetching content.'
chat_integration_delay_seconds: 'Number of seconds to wait after post creation before sending chat notitifications'
#######################################
########## SLACK SETTINGS #############
#######################################
chat_integration_slack_enabled: 'Enable the slack chat-integration provider'
chat_integration_slack_outbound_webhook_url: 'URL for outbound slack requests'
2017-07-19 12:41:08 -04:00
chat_integration_slack_excerpt_length: 'Slack post excerpt length'
chat_integration_slack_icon_url: 'Icon to post to slack with (defaults to forum logo)'
2017-07-20 07:07:40 -04:00
chat_integration_slack_incoming_webhook_token: 'Token sent in the payload from the Slack outoing webhook'
chat_integration_slack_access_token: 'Token if you are using the Web API instead of webhooks'
errors:
chat_integration_slack_api_configs_are_empty: "You must enter either an outbound webhook URL, or an access token"
#######################################
######### TELEGRAM SETTINGS ###########
#######################################
2017-07-19 12:41:08 -04:00
chat_integration_telegram_enabled: "Enable the Telegram chat-integration provider"
chat_integration_telegram_access_token: "Your bot's access token from the Telegram botfather"
chat_integration_telegram_excerpt_length: "Telegram post excerpt length"
chat_integration_telegram_enable_slash_commands: "Allow telegram subscriptions to be managed using 'slash commands'"
chat_integration:
all_categories: "(all categories)"
deleted_category: "(deleted category)"
provider:
2017-07-20 07:07:40 -04:00
#######################################
########## SLACK STRINGS ##############
#######################################
slack:
status:
header: |
*Rules for this channel*
(if multiple rules match a post, the topmost rule is executed)
no_rules: "There are no rules set up for this channel. Run `/discourse help` for instructions."
rule_string: "*%{index})* *%{filter}* posts in *%{category}*"
rule_string_tags_suffix: " with tags: *%{tags}*"
parse_error: "Sorry, I didn't understand that. Run `/discourse help` for instructions."
create:
created: "Rule created successfully"
updated: "Rule updated successfully"
error: "Sorry, an error occured while creating that rule."
delete:
success: "Rule deleted successfully"
error: "Sorry, an error occured while deleting that rule. Run `/discourse status` for a list of rules."
not_found:
tag: "The *%{name}* tag cannot be found."
category: "The *%{name}* category cannot be found. Available categories: *%{list}*"
help: |
*New rule:* `/discourse [watch|follow|mute] [category] [tag:name]`
(you must specify a rule type and at least one category or tag)
- *watch* notify this channel for new topics and new replies
- *follow* notify this channel for new topics
- *mute* block notifications to this channel
*Remove rule:* `/discourse remove [rule number]`
(`[rule number]` can be found by running `/discourse status`)
*List rules:* `/discourse status`
*Help:* `/discourse help`
2017-07-20 07:07:40 -04:00
#######################################
########## TELEGRAM STRINGS ###########
#######################################
telegram:
unknown_chat: "This chat isn't setup on %{site_title}. Ask an administrator to add a channel with 'Chat ID' %{chat_id}."
known_chat: "This chat is setup on %{site_title}. Configure it in the admin panel. (Chat ID: %{chat_id})"
message: |-
<b>%{user}</b> posted in <a href="%{post_url}">%{title}</a>
2017-07-19 12:28:36 -04:00
<pre>%{post_excerpt}</pre>
status:
header: |
<b>Rules for this channel</b>
(if multiple rules match a post, the topmost rule is executed)
no_rules: "There are no rules set up for this channel. Run <code>/help</code> for instructions."
rule_string: "<b>%{index})</b> <b>%{filter}</b> posts in <b>%{category}</b>"
rule_string_tags_suffix: " with tags: <b>%{tags}</b>"
parse_error: "Sorry, I didn't understand that. Run <code>/help</code> for instructions."
create:
created: "Rule created successfully"
updated: "Rule updated successfully"
error: "Sorry, an error occured while creating that rule."
delete:
success: "Rule deleted successfully"
error: "Sorry, an error occured while deleting that rule. Run <code>/status</code> for a list of rules."
not_found:
tag: "The <b>%{name}</b> tag cannot be found."
category: "The <b>%{name}</b> category cannot be found. Available categories: <b>%{list}</b>"
help: |
<b>New rule:</b> <code>/[watch|follow|mute] [category] [tag:name]</code>
(you must specify a rule type and at least one category or tag)
- <b>watch</b> notify this channel for new topics and new replies
- <b>follow</b> notify this channel for new topics
- <b>mute</b> block notifications to this channel
<b>Remove rule:</b> <code>/remove [rule number]</code>
(<code>[rule number]</code> can be found by running <code>/status</code>)
<b>List rules:</b> <code>/status</code>
<b>Help:</b> <code>/help</code>