Matrix Docker Ansible eploy
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

174 行
7.4 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: 2025-01-27 09:54+0200\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-bot-buscarron.md:1
  23. msgid "Setting up Buscarron (optional)"
  24. msgstr ""
  25. #: ../../../docs/configuring-playbook-bot-buscarron.md:3
  26. msgid "The playbook can install and configure [Buscarron](https://github.com/etkecc/buscarron) for you."
  27. msgstr ""
  28. #: ../../../docs/configuring-playbook-bot-buscarron.md:5
  29. msgid "Buscarron is bot that receives HTTP POST submissions of web forms and forwards them to a Matrix room."
  30. msgstr ""
  31. #: ../../../docs/configuring-playbook-bot-buscarron.md:7
  32. msgid "See the project's [documentation](https://github.com/etkecc/buscarron/blob/main/README.md) to learn what it does and why it might be useful to you."
  33. msgstr ""
  34. #: ../../../docs/configuring-playbook-bot-buscarron.md:9
  35. msgid "Adjusting DNS records"
  36. msgstr ""
  37. #: ../../../docs/configuring-playbook-bot-buscarron.md:11
  38. msgid "By default, this playbook installs Buscarron on the `buscarron.` subdomain (`buscarron.example.com`) and requires you to create a CNAME record for `buscarron`, which targets `matrix.example.com`."
  39. msgstr ""
  40. #: ../../../docs/configuring-playbook-bot-buscarron.md:13
  41. msgid "When setting, replace `example.com` with your own."
  42. msgstr ""
  43. #: ../../../docs/configuring-playbook-bot-buscarron.md:15
  44. msgid "Adjusting the playbook configuration"
  45. msgstr ""
  46. #: ../../../docs/configuring-playbook-bot-buscarron.md:17
  47. msgid "To enable the bot, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
  48. msgstr ""
  49. #: ../../../docs/configuring-playbook-bot-buscarron.md:40
  50. msgid "Adjusting the Buscarron URL (optional)"
  51. msgstr ""
  52. #: ../../../docs/configuring-playbook-bot-buscarron.md:42
  53. msgid "By tweaking the `matrix_bot_buscarron_hostname` and `matrix_bot_buscarron_path_prefix` variables, you can easily make the service available at a **different hostname and/or path** than the default one."
  54. msgstr ""
  55. #: ../../../docs/configuring-playbook-bot-buscarron.md:44
  56. msgid "Example additional configuration for your `vars.yml` file:"
  57. msgstr ""
  58. #: ../../../docs/configuring-playbook-bot-buscarron.md:55
  59. msgid "After changing the domain, **you may need to adjust your DNS** records to point the Buscarron domain to the Matrix server."
  60. msgstr ""
  61. #: ../../../docs/configuring-playbook-bot-buscarron.md:57
  62. msgid "If you've decided to reuse the `matrix.` domain, you won't need to do any extra DNS configuration."
  63. msgstr ""
  64. #: ../../../docs/configuring-playbook-bot-buscarron.md:59
  65. msgid "Extending the configuration"
  66. msgstr ""
  67. #: ../../../docs/configuring-playbook-bot-buscarron.md:61
  68. msgid "There are some additional things you may wish to configure about the bot."
  69. msgstr ""
  70. #: ../../../docs/configuring-playbook-bot-buscarron.md:63
  71. msgid "Take a look at:"
  72. msgstr ""
  73. #: ../../../docs/configuring-playbook-bot-buscarron.md:65
  74. msgid "`roles/custom/matrix-bot-buscarron/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  75. msgstr ""
  76. #: ../../../docs/configuring-playbook-bot-buscarron.md:67
  77. msgid "Installing"
  78. msgstr ""
  79. #: ../../../docs/configuring-playbook-bot-buscarron.md:69
  80. msgid "After configuring the playbook and potentially [adjusting your DNS records](#adjusting-dns-records), run the playbook with [playbook tags](playbook-tags.md) as below:"
  81. msgstr ""
  82. #: ../../../docs/configuring-playbook-bot-buscarron.md:76
  83. msgid "**Notes**:"
  84. msgstr ""
  85. #: ../../../docs/configuring-playbook-bot-buscarron.md:78
  86. msgid "The `ensure-matrix-users-created` playbook tag makes the playbook automatically create the bot's user account."
  87. msgstr ""
  88. #: ../../../docs/configuring-playbook-bot-buscarron.md:80
  89. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  90. msgstr ""
  91. #: ../../../docs/configuring-playbook-bot-buscarron.md:82
  92. 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."
  93. msgstr ""
  94. #: ../../../docs/configuring-playbook-bot-buscarron.md:84
  95. msgid "If you change the bot password (`matrix_bot_buscarron_password` in your `vars.yml` file) subsequently, the bot user's credentials on the homeserver won't be updated automatically. If you'd like to change the bot user's password, use a tool like [synapse-admin](configuring-playbook-synapse-admin.md) to change it, and then update `matrix_bot_buscarron_password` to let the bot know its new password."
  96. msgstr ""
  97. #: ../../../docs/configuring-playbook-bot-buscarron.md:86
  98. msgid "Usage"
  99. msgstr ""
  100. #: ../../../docs/configuring-playbook-bot-buscarron.md:88
  101. msgid "To use the bot, invite it to the room you specified on your `vars.yml` file (`/invite @bot.buscarron:example.com` where `example.com` is your base domain, not the `matrix.` domain)."
  102. msgstr ""
  103. #: ../../../docs/configuring-playbook-bot-buscarron.md:90
  104. msgid "After the bot joins the room, anyone can call the web form via HTTP POST method."
  105. msgstr ""
  106. #: ../../../docs/configuring-playbook-bot-buscarron.md:92
  107. msgid "Here is an example for the `contact` form:"
  108. msgstr ""
  109. #: ../../../docs/configuring-playbook-bot-buscarron.md:100
  110. msgid "**Note**: to fight against spam, Buscarron is **very aggressive when it comes to banning** and will ban you if:"
  111. msgstr ""
  112. #: ../../../docs/configuring-playbook-bot-buscarron.md:102
  113. msgid "you hit the homepage (HTTP `GET` request to `/`)"
  114. msgstr ""
  115. #: ../../../docs/configuring-playbook-bot-buscarron.md:103
  116. msgid "you submit a form to the wrong URL (`POST` request to `/non-existing-form`)"
  117. msgstr ""
  118. #: ../../../docs/configuring-playbook-bot-buscarron.md:104
  119. msgid "`hasemail` is enabled for the form (like in the example above) and you don't submit an `email` field"
  120. msgstr ""
  121. #: ../../../docs/configuring-playbook-bot-buscarron.md:106
  122. msgid "If you get banned, you'd need to restart the process by running the playbook with `--tags=start` or running `systemctl restart matrix-bot-buscarron` on the server."
  123. msgstr ""
  124. #: ../../../docs/configuring-playbook-bot-buscarron.md:108
  125. msgid "Troubleshooting"
  126. msgstr ""
  127. #: ../../../docs/configuring-playbook-bot-buscarron.md:110
  128. 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-bot-buscarron`."
  129. msgstr ""
  130. #: ../../../docs/configuring-playbook-bot-buscarron.md:112
  131. msgid "Increase logging verbosity"
  132. msgstr ""
  133. #: ../../../docs/configuring-playbook-bot-buscarron.md:114
  134. msgid "The default logging level for this component is `INFO`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook:"
  135. msgstr ""