mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-29 04:17:17 +01:00
d4f8d0918a
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3841 Most of the preparation for this was done by Suguru Hirahara (https://github.com/luixxiul). I've merely reorganized/polished the scripts and instructions in the `i18n/` directory. While translations can happen even now, more work is necessary to - make the translation flow better (integrating Weblate), etc. - restore the Github Actions workflows that Suguru Hirahara had already developed to adapt them to our new workflow
166 lines
7.6 KiB
Plaintext
166 lines
7.6 KiB
Plaintext
# SOME DESCRIPTIVE TITLE.
|
|
# Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community members
|
|
# This file is distributed under the same license as the matrix-docker-ansible-deploy package.
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
#
|
|
#, fuzzy
|
|
msgid ""
|
|
msgstr ""
|
|
"Project-Id-Version: matrix-docker-ansible-deploy \n"
|
|
"Report-Msgid-Bugs-To: \n"
|
|
"POT-Creation-Date: 2024-12-20 07:23+0200\n"
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
"MIME-Version: 1.0\n"
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:1
|
|
msgid "Setting up Cactus Comments (optional)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:3
|
|
msgid "The playbook can install and configure the [Cactus Comments](https://cactus.chat) system for you."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:5
|
|
msgid "Cactus Comments is a **federated comment system** built on Matrix. It respects your privacy, and puts you in control."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:7
|
|
msgid "See the project's [documentation](https://cactus.chat/docs/getting-started/introduction/) to learn what it does and why it might be useful to you."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:9
|
|
msgid "The playbook contains 2 roles for configuring different pieces of the Cactus Comments system:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:11
|
|
msgid "`matrix-cactus-comments` - the backend appservice integrating with the Matrix homeserver"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:13
|
|
msgid "`matrix-cactus-comments-client` - a static website server serving the [cactus-client](https://cactus.chat/docs/client/introduction/) static assets (`cactus.js` and `styles.css`)"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:15
|
|
msgid "You can enable whichever component you need (typically both)."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:17
|
|
msgid "Configuration"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:19
|
|
msgid "To enable Cactus Comments, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:41
|
|
msgid "Adjusting the Cactus Comments' client URL"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:43
|
|
msgid "By default, this playbook installs Cactus Comments' client on the `matrix.` subdomain, at the `/cactus-comments` path (https://matrix.example.com/cactus-comments). This makes it easy to install it, because it **doesn't require additional DNS records to be set up**. If that's okay, you can skip this section."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:45
|
|
msgid "By tweaking the `matrix_cactus_comments_client_hostname` and `matrix_cactus_comments_client_path_prefix` variables, you can easily make the service available at a **different hostname and/or path** than the default one."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:47
|
|
msgid "Example additional configuration for your `inventory/host_vars/matrix.example.com/vars.yml` file:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:56
|
|
msgid "Adjusting DNS records"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:58
|
|
msgid "If you've changed the default hostname, **you may need to adjust your DNS** records to point the Cactus Comments' client domain to the Matrix server."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:60
|
|
msgid "See [Configuring DNS](configuring-dns.md) for details about DNS changes."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:62
|
|
msgid "If you've decided to use the default hostname, you won't need to do any extra DNS configuration."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:64
|
|
msgid "Installing"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:66
|
|
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:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:73
|
|
msgid "**Notes**:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:75
|
|
msgid "The `ensure-matrix-users-created` playbook tag makes the playbook automatically create the bot's user account."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:77
|
|
msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:79
|
|
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."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:81
|
|
msgid "Usage"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:83
|
|
msgid "Upon starting Cactus Comments, a `bot.cactusbot` user account is created automatically."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:85
|
|
msgid "To get started, send a `help` message to the `@bot.cactusbot:example.com` bot to confirm it's working."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:87
|
|
msgid "Then, register a site by sending `register <YourSiteName>` (where `<YourSiteName>` is a unique identifier you choose. It does not have to match your domain). You will then be invited into a moderation room."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:89
|
|
msgid "Now you are good to go and can embed the comment section on your website!"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:91
|
|
msgid "Embed Cactus Comments"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:93
|
|
msgid "The official [documentation](https://cactus.chat/docs/getting-started/quick-start/) provides a useful guide to embed Cactus Comments on your website."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:95
|
|
msgid "After including the JavaScript and CSS asset files, insert a `<div>` where you'd like to display the comment section:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:101
|
|
msgid "Then, you need to initialize the comment section. Make sure to replace `example.com` with your base domain and `<YourSiteName>` with the one that has been registered above:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:115
|
|
msgid "Adjust the domain name for self-hosting"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:117
|
|
msgid "To have the assets served from your homeserver (not from `cactus.chat`), you need to adjust the domain name on the official documentation."
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:119
|
|
msgid "Make sure to replace `example.com` with your base domain before you include the following lines, instead of the one provided by the official documentation:"
|
|
msgstr ""
|
|
|
|
#: ../../../docs/configuring-playbook-cactus-comments.md:126
|
|
msgid "**Note**: if the `matrix_cactus_comments_client_hostname` and `matrix_cactus_comments_client_path_prefix` variables are tweaked, you would need to adjust the URLs of the assets accordingly."
|
|
msgstr ""
|