Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

445 lines
15 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-20 09:53+0200\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: bg\n"
  17. "Language-Team: bg <LL@li.org>\n"
  18. "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  19. "MIME-Version: 1.0\n"
  20. "Content-Type: text/plain; charset=utf-8\n"
  21. "Content-Transfer-Encoding: 8bit\n"
  22. "Generated-By: Babel 2.16.0\n"
  23. #: ../../../docs/configuring-playbook-bot-mjolnir.md:1
  24. msgid "Setting up Mjolnir (optional)"
  25. msgstr ""
  26. #: ../../../docs/configuring-playbook-bot-mjolnir.md:3
  27. msgid ""
  28. "The playbook can install and configure the [Mjolnir](https://github.com"
  29. "/matrix-org/mjolnir) moderation bot for you."
  30. msgstr ""
  31. #: ../../../docs/configuring-playbook-bot-mjolnir.md:5
  32. msgid ""
  33. "See the project's [documentation](https://github.com/matrix-"
  34. "org/mjolnir/blob/main/README.md) to learn what it does and why it might "
  35. "be useful to you."
  36. msgstr ""
  37. #: ../../../docs/configuring-playbook-bot-mjolnir.md:7
  38. msgid "Prerequisites"
  39. msgstr ""
  40. #: ../../../docs/configuring-playbook-bot-mjolnir.md:9
  41. msgid "Register the bot account"
  42. msgstr ""
  43. #: ../../../docs/configuring-playbook-bot-mjolnir.md:11
  44. msgid ""
  45. "The playbook does not automatically create users for you. You **need to "
  46. "register the bot user manually** before setting up the bot."
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-bot-mjolnir.md:13
  49. msgid ""
  50. "Choose a strong password for the bot. You can generate a good password "
  51. "with a command like this: `pwgen -s 64 1`."
  52. msgstr ""
  53. #: ../../../docs/configuring-playbook-bot-mjolnir.md:15
  54. msgid "You can use the playbook to [register a new user](registering-users.md):"
  55. msgstr ""
  56. #: ../../../docs/configuring-playbook-bot-mjolnir.md:21
  57. msgid ""
  58. "If you would like Mjolnir to be able to deactivate users, move aliases, "
  59. "shutdown rooms, etc then it must be a server admin so you need to change "
  60. "`admin=no` to `admin=yes` in the command above."
  61. msgstr ""
  62. #: ../../../docs/configuring-playbook-bot-mjolnir.md:23
  63. msgid "Get an access token"
  64. msgstr ""
  65. #: ../../../docs/configuring-playbook-bot-mjolnir.md:25
  66. msgid ""
  67. "The bot requires an access token to be able to connect to your "
  68. "homeserver. Refer to the documentation on [how to obtain an access token"
  69. "](obtaining-access-tokens.md)."
  70. msgstr ""
  71. #: ../../../docs/configuring-playbook-bot-mjolnir.md:27
  72. msgid "Make sure the account is free from rate limiting"
  73. msgstr ""
  74. #: ../../../docs/configuring-playbook-bot-mjolnir.md:29
  75. msgid ""
  76. "If your homeserver's implementation is Synapse, you will need to prevent "
  77. "it from rate limiting the bot's account. **This is a required step. If "
  78. "you do not configure it, Mjolnir will crash.**"
  79. msgstr ""
  80. #: ../../../docs/configuring-playbook-bot-mjolnir.md:31
  81. msgid ""
  82. "This can be done using Synapse's [Admin APIs](https://element-"
  83. "hq.github.io/synapse/latest/admin_api/user_admin_api.html#override-"
  84. "ratelimiting-for-users). They can be accessed both externally and "
  85. "internally."
  86. msgstr ""
  87. #: ../../../docs/configuring-playbook-bot-mjolnir.md:33
  88. msgid ""
  89. "To expose the APIs publicly, add the following configuration to your "
  90. "`inventory/host_vars/matrix.example.com/vars.yml` file."
  91. msgstr ""
  92. #: ../../../docs/configuring-playbook-bot-mjolnir.md:39
  93. msgid ""
  94. "The APIs can also be accessed via [Synapse "
  95. "Admin](https://github.com/etkecc/synapse-admin), a web UI tool you can "
  96. "use to administrate users, rooms, media, etc. on your Matrix server. The "
  97. "playbook can install and configure Synapse Admin for you. For details "
  98. "about it, see [this page](configuring-playbook-synapse-admin.md)."
  99. msgstr ""
  100. #: ../../../docs/configuring-playbook-bot-mjolnir.md:41
  101. msgid ""
  102. "**Note**: access to the APIs is restricted with a valid access token, so "
  103. "exposing them publicly should not be a real security concern. Still, "
  104. "doing so is not recommended for additional security. See [official "
  105. "Synapse reverse-proxying recommendations](https://element-"
  106. "hq.github.io/synapse/latest/reverse_proxy.html#synapse-administration-"
  107. "endpoints)."
  108. msgstr ""
  109. #: ../../../docs/configuring-playbook-bot-mjolnir.md:43
  110. msgid ""
  111. "To discharge rate limiting, run the following command on systems that "
  112. "ship curl (note that it does not work on outdated Windows 10). Even if "
  113. "the APIs are not exposed to the internet, you should still be able to run"
  114. " the command on the homeserver locally. Before running it, make sure to "
  115. "replace `@bot.mjolnir:example.com` with the MXID of your Mjolnir:"
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-bot-mjolnir.md:49
  118. msgid ""
  119. "You can obtain an access token for a homeserver admin account in the same"
  120. " way as you can do so for Mjolnir itself. If you have made Mjolnir an "
  121. "admin, you can just use the Mjolnir token."
  122. msgstr ""
  123. #: ../../../docs/configuring-playbook-bot-mjolnir.md:51
  124. msgid "Create a management room"
  125. msgstr ""
  126. #: ../../../docs/configuring-playbook-bot-mjolnir.md:53
  127. msgid ""
  128. "Using your own account, create a new invite only room that you will use "
  129. "to manage the bot. This is the room where you will see the status of the "
  130. "bot and where you will send commands to the bot, such as the command to "
  131. "ban a user from another room. Anyone in this room can control the bot so "
  132. "it is important that you only invite trusted users to this room."
  133. msgstr ""
  134. #: ../../../docs/configuring-playbook-bot-mjolnir.md:55
  135. msgid ""
  136. "If you make the management room encrypted (E2EE), then you MUST enable "
  137. "and use Pantalaimon (see [below](#configuration-with-e2ee-support))."
  138. msgstr ""
  139. #: ../../../docs/configuring-playbook-bot-mjolnir.md:57
  140. msgid ""
  141. "Once you have created the room you need to copy the room ID so you can "
  142. "tell the bot to use that room. In Element Web you can do this by going to"
  143. " the room's settings, clicking Advanced, and then copying the internal "
  144. "room ID. The room ID will look something like `!qporfwt:example.com`."
  145. msgstr ""
  146. #: ../../../docs/configuring-playbook-bot-mjolnir.md:59
  147. msgid ""
  148. "Finally invite the `@bot.mjolnir:example.com` account you created earlier"
  149. " into the room."
  150. msgstr ""
  151. #: ../../../docs/configuring-playbook-bot-mjolnir.md:61
  152. msgid "Adjusting the playbook configuration"
  153. msgstr ""
  154. #: ../../../docs/configuring-playbook-bot-mjolnir.md:63
  155. msgid ""
  156. "Add the following configuration to your "
  157. "`inventory/host_vars/matrix.example.com/vars.yml` file. Make sure to "
  158. "replace `MANAGEMENT_ROOM_ID_HERE`."
  159. msgstr ""
  160. #: ../../../docs/configuring-playbook-bot-mjolnir.md:72
  161. msgid "End-to-End Encryption support"
  162. msgstr ""
  163. #: ../../../docs/configuring-playbook-bot-mjolnir.md:74
  164. msgid ""
  165. "Decide whether you want Mjolnir to be capable of operating in end-to-end "
  166. "encrypted (E2EE) rooms. This includes the management room and the "
  167. "moderated rooms."
  168. msgstr ""
  169. #: ../../../docs/configuring-playbook-bot-mjolnir.md:76
  170. msgid ""
  171. "To support E2EE, Mjolnir needs to [use Pantalaimon](configuring-playbook-"
  172. "pantalaimon.md)."
  173. msgstr ""
  174. #: ../../../docs/configuring-playbook-bot-mjolnir.md:78
  175. msgid "Configuration with E2EE support"
  176. msgstr ""
  177. #: ../../../docs/configuring-playbook-bot-mjolnir.md:80
  178. msgid ""
  179. "When using Pantalaimon, Mjolnir will log in to its bot account itself "
  180. "through Pantalaimon, so configure its username and password."
  181. msgstr ""
  182. #: ../../../docs/configuring-playbook-bot-mjolnir.md:82
  183. msgid ""
  184. "Add the following configuration to your "
  185. "`inventory/host_vars/matrix.example.com/vars.yml` file (adapt to your "
  186. "needs):"
  187. msgstr ""
  188. #: ../../../docs/configuring-playbook-bot-mjolnir.md:96
  189. msgid ""
  190. "The playbook's `group_vars` will configure other required settings. If "
  191. "using this role separately without the playbook, you also need to "
  192. "configure the two URLs that Mjolnir uses to reach the homeserver, one "
  193. "through Pantalaimon and one \"raw\". This example is taken from the "
  194. "playbook's `group_vars`:"
  195. msgstr ""
  196. #: ../../../docs/configuring-playbook-bot-mjolnir.md:108
  197. msgid "Configuration without E2EE support"
  198. msgstr ""
  199. #: ../../../docs/configuring-playbook-bot-mjolnir.md:110
  200. msgid ""
  201. "When NOT using Pantalaimon, Mjolnir does not log in by itself and you "
  202. "must give it an access token for its bot account."
  203. msgstr ""
  204. #: ../../../docs/configuring-playbook-bot-mjolnir.md:112
  205. msgid ""
  206. "Add the following configuration to your "
  207. "`inventory/host_vars/matrix.example.com/vars.yml` file. Make sure to "
  208. "replace `ACCESS_TOKEN_HERE` with the one created [above](#get-an-access-"
  209. "token)."
  210. msgstr ""
  211. #: ../../../docs/configuring-playbook-bot-mjolnir.md:118
  212. msgid "Adding Mjolnir synapse antispam module (optional)"
  213. msgstr ""
  214. #: ../../../docs/configuring-playbook-bot-mjolnir.md:120
  215. msgid ""
  216. "To enable Mjolnir synapse antispam module, add the following "
  217. "configuration to your `inventory/host_vars/matrix.example.com/vars.yml` "
  218. "file (adapt to your needs):"
  219. msgstr ""
  220. #: ../../../docs/configuring-playbook-bot-mjolnir.md:130
  221. msgid "Extending the configuration"
  222. msgstr ""
  223. #: ../../../docs/configuring-playbook-bot-mjolnir.md:132
  224. msgid ""
  225. "You can configure additional options by adding the "
  226. "`matrix_bot_mjolnir_configuration_extension_yaml` variable to your "
  227. "`inventory/host_vars/matrix.example.com/vars.yml` file."
  228. msgstr ""
  229. #: ../../../docs/configuring-playbook-bot-mjolnir.md:134
  230. msgid ""
  231. "For example, to change Mjolnir's `recordIgnoredInvites` option to `true`,"
  232. " add the following configuration to your "
  233. "`inventory/host_vars/matrix.example.com/vars.yml` file:"
  234. msgstr ""
  235. #: ../../../docs/configuring-playbook-bot-mjolnir.md:148
  236. msgid "Installing"
  237. msgstr ""
  238. #: ../../../docs/configuring-playbook-bot-mjolnir.md:150
  239. msgid ""
  240. "After configuring the playbook, run it with [playbook tags](playbook-"
  241. "tags.md) as below:"
  242. msgstr ""
  243. #: ../../../docs/configuring-playbook-bot-mjolnir.md:157
  244. msgid "**Notes**:"
  245. msgstr ""
  246. #: ../../../docs/configuring-playbook-bot-mjolnir.md:159
  247. msgid ""
  248. "The `ensure-matrix-users-created` playbook tag makes the playbook "
  249. "automatically create the bot's user account."
  250. msgstr ""
  251. #: ../../../docs/configuring-playbook-bot-mjolnir.md:161
  252. msgid ""
  253. "The shortcut commands with the [`just` program](just.md) are also "
  254. "available: `just install-all` or `just setup-all`"
  255. msgstr ""
  256. #: ../../../docs/configuring-playbook-bot-mjolnir.md:163
  257. msgid ""
  258. "`just install-all` is useful for maintaining your setup quickly ([2x-5x "
  259. "faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-"
  260. "runtime) than `just setup-all`) when its components remain unchanged. If "
  261. "you adjust your `vars.yml` to remove other components, you'd need to run "
  262. "`just setup-all`, or these components will still remain installed."
  263. msgstr ""
  264. #: ../../../docs/configuring-playbook-bot-mjolnir.md:165
  265. msgid ""
  266. "If you change the Pantalaimon's password "
  267. "(`matrix_bot_mjolnir_pantalaimon_password` in your `vars.yml` file) "
  268. "subsequently, its credentials on the homeserver won't be updated "
  269. "automatically. If you'd like to change the password, use a tool like "
  270. "[synapse-admin](configuring-playbook-synapse-admin.md) to change it, and "
  271. "then update `matrix_bot_mjolnir_pantalaimon_password` to let Pantalaimon "
  272. "know its new password."
  273. msgstr ""
  274. #: ../../../docs/configuring-playbook-bot-mjolnir.md:167
  275. msgid "Usage"
  276. msgstr ""
  277. #: ../../../docs/configuring-playbook-bot-mjolnir.md:169
  278. msgid ""
  279. "You can refer to the upstream [documentation](https://github.com/matrix-"
  280. "org/mjolnir) for additional ways to use and configure Mjolnir. Check out "
  281. "their [quickstart guide](https://github.com/matrix-org/mjolnir"
  282. "#quickstart-guide) for some basic commands you can give to the bot."
  283. msgstr ""
  284. #~ msgid ""
  285. #~ "See the project's [documentation](https://github.com"
  286. #~ "/matrix-org/mjolnir) to learn what it "
  287. #~ "does and why it might be useful"
  288. #~ " to you."
  289. #~ msgstr ""
  290. #~ msgid ""
  291. #~ "The playbook does not automatically "
  292. #~ "create users for you. The bot "
  293. #~ "requires an access token to be "
  294. #~ "able to connect to your homeserver."
  295. #~ msgstr ""
  296. #~ msgid ""
  297. #~ "You **need to register the bot "
  298. #~ "user manually** before setting up the"
  299. #~ " bot."
  300. #~ msgstr ""
  301. #~ msgid ""
  302. #~ "Refer to the documentation on [how "
  303. #~ "to obtain an access token](obtaining-"
  304. #~ "access-tokens.md)."
  305. #~ msgstr ""
  306. #~ msgid ""
  307. #~ "You will need to prevent Synapse "
  308. #~ "from rate limiting the bot's account."
  309. #~ " This is not an optional step. "
  310. #~ "If you do not do this step "
  311. #~ "Mjolnir will crash. This can be "
  312. #~ "done using Synapse's [admin API](https"
  313. #~ "://matrix-"
  314. #~ "org.github.io/synapse/latest/admin_api/user_admin_api.html"
  315. #~ "#override-ratelimiting-for-users). Please "
  316. #~ "ask for help if you are "
  317. #~ "uncomfortable with these steps or run"
  318. #~ " into issues."
  319. #~ msgstr ""
  320. #~ msgid ""
  321. #~ "If your Synapse Admin API is "
  322. #~ "exposed to the internet for some "
  323. #~ "reason like running the Synapse Admin"
  324. #~ " Role [Link](configuring-playbook-synapse-"
  325. #~ "admin.md) or running "
  326. #~ "`matrix_synapse_container_labels_public_client_synapse_admin_api_enabled:"
  327. #~ " true` in your playbook config. If"
  328. #~ " your API is not externally exposed"
  329. #~ " you should still be able to on"
  330. #~ " the local host for your synapse "
  331. #~ "run these commands."
  332. #~ msgstr ""
  333. #~ msgid ""
  334. #~ "The following command works on semi "
  335. #~ "up to date Windows 10 installs and"
  336. #~ " All Windows 11 installations and "
  337. #~ "other systems that ship curl. `curl "
  338. #~ "--header \"Authorization: Bearer <access_token>\""
  339. #~ " -X POST "
  340. #~ "https://matrix.example.com/_synapse/admin/v1/users/@bot.mjolnir:example.com/override_ratelimit`"
  341. #~ " Replace `@bot.mjolnir:example.com` with the "
  342. #~ "MXID of your Mjolnir and example.com "
  343. #~ "with your homeserver domain. You can "
  344. #~ "easily obtain an access token for "
  345. #~ "a homeserver admin account the same "
  346. #~ "way you can obtain an access token"
  347. #~ " for Mjolnir itself. If you made "
  348. #~ "Mjolnir Admin you can just use the"
  349. #~ " Mjolnir token."
  350. #~ msgstr ""
  351. #~ msgid ""
  352. #~ "If you make the management room "
  353. #~ "encrypted (E2EE), then you MUST enable"
  354. #~ " and use Pantalaimon (see below)."
  355. #~ msgstr ""
  356. #~ msgid ""
  357. #~ "Decide whether you want Mjolnir to "
  358. #~ "be capable of operating in end-"
  359. #~ "to-end encrypted (E2EE) rooms. This "
  360. #~ "includes the management room and the "
  361. #~ "moderated rooms. To support E2EE, "
  362. #~ "Mjolnir needs to [use Pantalaimon"
  363. #~ "](configuring-playbook-pantalaimon.md)."
  364. #~ msgstr ""
  365. #~ msgid "a. Configuration with E2EE support"
  366. #~ msgstr ""
  367. #~ msgid "b. Configuration without E2EE support"
  368. #~ msgstr ""
  369. #~ msgid ""
  370. #~ "You must replace "
  371. #~ "`ACCESS_TOKEN_FROM_STEP_2_GOES_HERE` and "
  372. #~ "`ROOM_ID_FROM_STEP_4_GOES_HERE` with your own "
  373. #~ "values."
  374. #~ msgstr ""
  375. #~ msgid ""
  376. #~ "For example to change Mjolnir's "
  377. #~ "`recordIgnoredInvites` option to `true` you"
  378. #~ " would add the following to your "
  379. #~ "`vars.yml` file."
  380. #~ msgstr ""