Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

195 строки
10 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2026, Slavi Pantaleev, Aine Etke, MDAD community members
  3. # This file is distributed under the same license as the matrix-docker-ansible-deploy package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  10. "Report-Msgid-Bugs-To: \n"
  11. "POT-Creation-Date: 2026-02-13 10:32+0000\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:10
  19. msgid "Setting up Appservice Discord bridging (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:12
  22. msgid "**Note**: bridging to [Discord](https://discordapp.com/) can also happen via the [mautrix-discord](configuring-playbook-bridge-mautrix-discord.md) bridge supported by the playbook."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:13
  25. msgid "For using as a Bot we are recommend the Appservice Discord bridge (the one being discussed here), because it supports plumbing."
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:14
  28. msgid "For personal use we recommend the [mautrix-discord](configuring-playbook-bridge-mautrix-discord.md) bridge, because it is the most fully-featured and stable of the 3 Discord bridges supported by the playbook."
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:16
  31. msgid "The playbook can install and configure [matrix-appservice-discord](https://github.com/matrix-org/matrix-appservice-discord) for you."
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:18
  34. msgid "See the project's [documentation](https://github.com/matrix-org/matrix-appservice-discord/blob/master/README.md) to learn what it does and why it might be useful to you."
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:20
  37. msgid "Prerequisites"
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:22
  40. msgid "Create a Discord Application [here](https://discordapp.com/developers/applications). Then retrieve Client ID, and create a bot from the Bot tab and retrieve the Bot token."
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:24
  43. msgid "Adjusting the playbook configuration"
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:26
  46. msgid "To enable the bridge, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:40
  49. msgid "Extending the configuration"
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:42
  52. msgid "There are some additional things you may wish to configure about the bridge."
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:44
  55. msgid "Take a look at:"
  56. msgstr ""
  57. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:46
  58. msgid "`roles/custom/matrix-bridge-appservice-discord/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  59. msgstr ""
  60. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:47
  61. msgid "`roles/custom/matrix-bridge-appservice-discord/templates/config.yaml.j2` for the bridge's default configuration. You can override settings (even those that don't have dedicated playbook variables) using the `matrix_appservice_discord_configuration_extension_yaml` variable"
  62. msgstr ""
  63. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:49
  64. msgid "Installing"
  65. msgstr ""
  66. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:51
  67. msgid "After configuring the playbook, run it with [playbook tags](playbook-tags.md) as below:"
  68. msgstr ""
  69. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:58
  70. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  71. msgstr ""
  72. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:60
  73. msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed. Note these shortcuts run the `ensure-matrix-users-created` tag too."
  74. msgstr ""
  75. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:63
  76. msgid "Self-Service Bridging (Manual)"
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:65
  79. msgid "Self-service bridging allows you to bridge specific and existing Matrix rooms to specific Discord rooms. To enable it, add the following configuration to your `vars.yml` file:"
  80. msgstr ""
  81. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:71
  82. msgid "**Note**: If self-service bridging is not enabled, `!discord help` commands will return no results."
  83. msgstr ""
  84. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:73
  85. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:97
  86. msgid "Usage"
  87. msgstr ""
  88. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:75
  89. msgid "Once self-service is enabled, start a chat with `@_discord_bot:example.com` and say `!discord help bridge`."
  90. msgstr ""
  91. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:77
  92. msgid "Then, follow the instructions in the help output message."
  93. msgstr ""
  94. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:79
  95. msgid "If the bot is not already in the Discord server, follow the provided invite link. This may require you to be a administrator of the Discord server."
  96. msgstr ""
  97. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:81
  98. msgid "On the Discord side, send `!matrix help` to the bot to see the available commands for managing the bridge and Matrix users."
  99. msgstr ""
  100. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:83
  101. msgid "**Note**: Encrypted Matrix rooms are not supported as of writing."
  102. msgstr ""
  103. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:85
  104. msgid "Portal Bridging (Automatic)"
  105. msgstr ""
  106. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:87
  107. msgid "Through portal bridging, Matrix rooms will automatically be created by the bot and bridged to the relevant Discord room. This is done by simply joining a room with a specific name pattern (`#_discord_<guildID>_<channelID>`)."
  108. msgstr ""
  109. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:89
  110. msgid "All Matrix rooms created this way are **listed publicly** by default, and you will not have admin permissions to change this. To get more control, [make yourself a room Administrator](#getting-administrator-access-in-a-portal-bridged-room). You can then unlist the room from the directory and change the join rules."
  111. msgstr ""
  112. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:91
  113. msgid "To disable portal bridging, add the following configuration to your `vars.yml` file:"
  114. msgstr ""
  115. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:99
  116. msgid "To get started with Portal Bridging:"
  117. msgstr ""
  118. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:101
  119. msgid "To invite the bot to Discord, retrieve the invite link from the `{{ matrix_appservice_discord_config_path }}/invite_link` file on the server (this defaults to `/matrix/appservice-discord/config/invite_link`). You need to peek at the file on the server via SSH, etc., because it's not available via HTTP(S)."
  120. msgstr ""
  121. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:102
  122. msgid "Room addresses follow this syntax: `#_discord_<guildID>_<channelID>`. You can easily find the guild and channel IDs by logging into Discord in a browser and opening the desired channel. The URL will have this format: `discord.com/channels/<guildID>/<channelID>`."
  123. msgstr ""
  124. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:103
  125. msgid "Once you have figured out the appropriate room address, you can join by doing `/join #_discord_<guildID>_<channelID>` in your Matrix client."
  126. msgstr ""
  127. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:105
  128. msgid "Getting Administrator access in a portal bridged room"
  129. msgstr ""
  130. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:107
  131. msgid "By default, you won't have Administrator access in rooms created by the bridge."
  132. msgstr ""
  133. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:109
  134. msgid "To adjust room access privileges or do various other things (change the room name subsequently, etc.), you'd wish to become an Administrator."
  135. msgstr ""
  136. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:111
  137. msgid "There's the Discord bridge's guide for [setting privileges on bridge managed rooms](https://github.com/matrix-org/matrix-appservice-discord/blob/master/docs/howto.md#set-privileges-on-bridge-managed-rooms). To do the same with our container setup, run the following command on the server:"
  138. msgstr ""
  139. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:118
  140. msgid "Troubleshooting"
  141. msgstr ""
  142. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:120
  143. msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-appservice-discord`."
  144. msgstr ""
  145. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:122
  146. msgid "Increase logging verbosity"
  147. msgstr ""
  148. #: ../../../docs/configuring-playbook-bridge-appservice-discord.md:124
  149. msgid "The default logging level for this component is `warn`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file (adapt to your needs) and re-run the playbook:"
  150. msgstr ""