Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

326 lignes
11 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2024-12-16 12:05+0900\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: jp\n"
  17. "Language-Team: jp <LL@li.org>\n"
  18. "MIME-Version: 1.0\n"
  19. "Content-Type: text/plain; charset=utf-8\n"
  20. "Content-Transfer-Encoding: 8bit\n"
  21. "Generated-By: Babel 2.16.0\n"
  22. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:1
  23. msgid "Setting up Appservice Slack bridging (optional)"
  24. msgstr ""
  25. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:3
  26. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:75
  27. msgid "**Notes**:"
  28. msgstr ""
  29. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:4
  30. msgid ""
  31. "Bridging to [Slack](https://slack.com) can also happen via the [mx-"
  32. "puppet-slack](configuring-playbook-bridge-mx-puppet-slack.md) and "
  33. "[mautrix-slack](configuring-playbook-bridge-mautrix-slack.md) bridges "
  34. "supported by the playbook."
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:5
  37. msgid ""
  38. "Currently (as of November, 2024) **this component is not available for "
  39. "new installation unless you have already created a classic Slack "
  40. "application** (which the bridge makes use of in order to enable bridging "
  41. "between Slack and Matrix), because the creation of classic Slack "
  42. "applications has been discontinued since June 4 2024. The author of the "
  43. "bridge claims [here](https://github.com/matrix-org/matrix-appservice-"
  44. "slack/issues/789#issuecomment-2172947787) that he plans to support the "
  45. "modern Slack application and until then \"the best (and only) option for "
  46. "new installations is to use the webhook bridging\"."
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:7
  49. msgid ""
  50. "The playbook can install and configure [matrix-appservice-"
  51. "slack](https://github.com/matrix-org/matrix-appservice-slack) for you."
  52. msgstr ""
  53. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:9
  54. msgid ""
  55. "See the project's [documentation](https://github.com/matrix-org/matrix-"
  56. "appservice-slack/blob/master/README.md) to learn what it does and why it "
  57. "might be useful to you."
  58. msgstr ""
  59. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:11
  60. msgid "Prerequisites"
  61. msgstr ""
  62. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:13
  63. msgid "Create a Classic Slack App"
  64. msgstr ""
  65. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:15
  66. msgid ""
  67. "First, you need to create a Classic Slack App "
  68. "[here](https://api.slack.com/apps?new_classic_app=1)."
  69. msgstr ""
  70. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:17
  71. msgid ""
  72. "Name the app \"matrixbot\" (or anything else you'll remember). Select the"
  73. " team/workspace this app will belong to. Click on bot users and add a new"
  74. " bot user. We will use this account to bridge the the rooms."
  75. msgstr ""
  76. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:19
  77. msgid ""
  78. "Then, click on Event Subscriptions and enable them and use the request "
  79. "url: `https://matrix.example.com/appservice-slack`."
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:21
  82. msgid "Add the following events as `Bot User Events` and save:"
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:23
  85. msgid "team_domain_change"
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:24
  88. msgid "message.channels"
  89. msgstr ""
  90. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:25
  91. msgid "message.groups (if you want to bridge private channels)"
  92. msgstr ""
  93. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:26
  94. msgid "reaction_added"
  95. msgstr ""
  96. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:27
  97. msgid "reaction_removed"
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:29
  100. msgid "Next, click on \"OAuth & Permissions\" and add the following scopes:"
  101. msgstr ""
  102. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:31
  103. msgid "chat:write:bot"
  104. msgstr ""
  105. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:32
  106. msgid "users:read"
  107. msgstr ""
  108. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:33
  109. msgid "reactions:write"
  110. msgstr ""
  111. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:34
  112. msgid "files:write:user (if you want to bridge files)"
  113. msgstr ""
  114. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:36
  115. msgid ""
  116. "**Note**: In order to make Slack files visible to Matrix users, this "
  117. "bridge will make Slack files visible to anyone with the url (including "
  118. "files in private channels). This is different than the current behavior "
  119. "in Slack, which only allows authenticated access to media posted in "
  120. "private channels. See MSC701 for details."
  121. msgstr ""
  122. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:38
  123. msgid ""
  124. "Click on \"Install App\" and \"Install App to Workspace\". Note the "
  125. "access tokens shown. You will need the Bot User OAuth Access Token and if"
  126. " you want to bridge files, the OAuth Access Token whenever you link a "
  127. "room."
  128. msgstr ""
  129. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:40
  130. msgid "Create an administration control room on Matrix"
  131. msgstr ""
  132. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:42
  133. msgid "Create a new Matrix room to act as the administration control room."
  134. msgstr ""
  135. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:44
  136. msgid ""
  137. "Note its internal room ID. This can be done in Element Web by sending a "
  138. "message, opening the options for that message and choosing \"view "
  139. "source\". The room ID will be displayed near the top."
  140. msgstr ""
  141. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:46
  142. msgid "Adjusting the playbook configuration"
  143. msgstr ""
  144. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:48
  145. msgid ""
  146. "To enable the bridge, add the following configuration to your "
  147. "`inventory/host_vars/matrix.example.com/vars.yml` file:"
  148. msgstr ""
  149. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:64
  150. msgid ""
  151. "Other configuration options are available via the "
  152. "`matrix_appservice_slack_configuration_extension_yaml` variable."
  153. msgstr ""
  154. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:66
  155. msgid "Installing"
  156. msgstr ""
  157. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:68
  158. msgid ""
  159. "After configuring the playbook, run it with [playbook tags](playbook-"
  160. "tags.md) as below:"
  161. msgstr ""
  162. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:77
  163. msgid ""
  164. "The `ensure-matrix-users-created` playbook tag makes the playbook "
  165. "automatically create the bot's user account."
  166. msgstr ""
  167. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:79
  168. msgid ""
  169. "The shortcut commands with the [`just` program](just.md) are also "
  170. "available: `just install-all` or `just setup-all`"
  171. msgstr ""
  172. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:81
  173. msgid ""
  174. "`just install-all` is useful for maintaining your setup quickly ([2x-5x "
  175. "faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-"
  176. "runtime) than `just setup-all`) when its components remain unchanged. If "
  177. "you adjust your `vars.yml` to remove other components, you'd need to run "
  178. "`just setup-all`, or these components will still remain installed."
  179. msgstr ""
  180. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:83
  181. msgid "Usage"
  182. msgstr ""
  183. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:85
  184. msgid ""
  185. "To use the bridge, you need to send `/invite @slackbot:example.com` to "
  186. "invite the bridge bot user into the admin room."
  187. msgstr ""
  188. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:87
  189. msgid ""
  190. "If Team Sync is not enabled, for each channel you would like to bridge, "
  191. "perform the following steps:"
  192. msgstr ""
  193. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:89
  194. msgid ""
  195. "Create a Matrix room in the usual manner for your client. Take a note of "
  196. "its Matrix room ID - it will look something like `!qporfwt:example.com`."
  197. msgstr ""
  198. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:90
  199. msgid ""
  200. "Invite the bot user to both the Slack and Matrix channels you would like "
  201. "to bridge using `/invite @matrixbot` for Slack and `/invite "
  202. "@slackbot:example.com` for Matrix."
  203. msgstr ""
  204. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:91
  205. msgid ""
  206. "Determine the \"channel ID\" that Slack uses to identify the channel. You"
  207. " can see it when you open a given Slack channel in a browser. The URL "
  208. "reads like this: `https://app.slack.com/client/XXX/<the channel "
  209. "ID>/details/`."
  210. msgstr ""
  211. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:92
  212. msgid ""
  213. "Issue a link command in the administration control room with these "
  214. "collected values as arguments:"
  215. msgstr ""
  216. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:94
  217. msgid "with file bridging:"
  218. msgstr ""
  219. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:100
  220. msgid "without file bridging:"
  221. msgstr ""
  222. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:106
  223. msgid "These arguments can be shortened to single-letter forms:"
  224. msgstr ""
  225. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:112
  226. msgid "Unlinking"
  227. msgstr ""
  228. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:114
  229. msgid "Channels can be unlinked again by sending this:"
  230. msgstr ""
  231. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:120
  232. msgid ""
  233. "Unlinking doesn't only disconnect the bridge, but also makes the slackbot"
  234. " leave the bridged Matrix room. So in case you want to re-link later, "
  235. "don't forget to re-invite the slackbot into this room again."
  236. msgstr ""
  237. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:122
  238. msgid "Troubleshooting"
  239. msgstr ""
  240. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:124
  241. msgid "As always, check the logs: `journalctl -fu matrix-appservice-slack`"
  242. msgstr ""
  243. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:126
  244. msgid "Linking: \"Room is now pending-name\""
  245. msgstr ""
  246. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:128
  247. msgid ""
  248. "This typically means that you haven't used the correct Slack channel ID. "
  249. "Unlink the room and recheck 'Determine the \"channel ID\"' from above."
  250. msgstr ""
  251. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:130
  252. msgid "Messages work from Matrix to Slack, but not the other way around"
  253. msgstr ""
  254. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:132
  255. msgid "Check you logs, if they say something like"
  256. msgstr ""
  257. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:134
  258. #, python-format
  259. msgid ""
  260. "`WARN SlackEventHandler Ignoring message from unrecognised Slack channel "
  261. "ID : %s (%s) <the channel ID> <some other ID>`"
  262. msgstr ""
  263. #: ../../../docs/configuring-playbook-bridge-appservice-slack.md:136
  264. msgid ""
  265. "then unlink your room, reinvite the bot and re-link it again. This may "
  266. "particularly hit you, if you tried to unsuccessfully link your room "
  267. "multiple times without unlinking it after each failed attempt."
  268. msgstr ""