Update locales
This commit is contained in:
@ -10,7 +10,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: matrix-docker-ansible-deploy \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-12-16 12:05+0900\n"
|
||||
"POT-Creation-Date: 2024-12-20 09:53+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language: jp\n"
|
||||
@ -40,19 +40,12 @@ msgstr ""
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:5
|
||||
msgid ""
|
||||
"See the project's [documentation](https://github.com/metio/matrix-"
|
||||
"alertmanager-receiver) to learn more about what this component does and "
|
||||
"why it might be useful to you."
|
||||
"alertmanager-receiver/blob/main/README.md) to learn what it does and why "
|
||||
"it might be useful to you."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:7
|
||||
msgid ""
|
||||
"At the moment, **setting up this service's bot requires some manual "
|
||||
"actions** as described below in [Account and room preparation](#account-"
|
||||
"and-room-preparation)."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:9
|
||||
msgid ""
|
||||
"This service is meant to be used with an external "
|
||||
"[Alertmanager](https://prometheus.io/docs/alerting/latest/alertmanager/) "
|
||||
"instance. It's **not** meant to be integrated with the [Prometheus & "
|
||||
@ -61,27 +54,93 @@ msgid ""
|
||||
"it."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:9
|
||||
msgid "Prerequisites"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:11
|
||||
msgid "Adjusting the playbook configuration"
|
||||
msgid "Register the bot account"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:13
|
||||
msgid ""
|
||||
"To enable matrix-alertmanager-receiver, add the following configuration "
|
||||
"to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
|
||||
"This service uses a bot (with a username specified in "
|
||||
"`matrix_alertmanager_receiver_config_matrix_user_id_localpart`) for "
|
||||
"delivering messages."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:36
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:15
|
||||
msgid ""
|
||||
"The playbook does not automatically create users for you. You **need to "
|
||||
"register the bot user manually** before setting up the bot."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:17
|
||||
msgid ""
|
||||
"Choose a strong password for the bot. You can generate a good password "
|
||||
"with a command like this: `pwgen -s 64 1`."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:19
|
||||
msgid "You can use the playbook to [register a new user](registering-users.md):"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:25
|
||||
msgid "Get an access token"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:27
|
||||
msgid ""
|
||||
"The bot requires an access token to be able to connect to your "
|
||||
"homeserver. Refer to the documentation on [how to obtain an access token"
|
||||
"](obtaining-access-tokens.md)."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:29
|
||||
msgid "Join to rooms as the bot manually"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:31
|
||||
msgid ""
|
||||
"ℹ️ **This bot does not accept room invitations automatically**. To "
|
||||
"deliver messages to rooms, the bot must be joined to all rooms manually."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:33
|
||||
msgid ""
|
||||
"For each new room you would like the bot to deliver alerts to, invite the"
|
||||
" bot to the room."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:35
|
||||
msgid ""
|
||||
"Then, log in as the bot using any Matrix client of your choosing, accept "
|
||||
"the room invitation from the bot's account, and log out."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:37
|
||||
msgid "Adjusting the playbook configuration"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:39
|
||||
msgid ""
|
||||
"Add the following configuration to your "
|
||||
"`inventory/host_vars/matrix.example.com/vars.yml` file. Make sure to "
|
||||
"replace `ACCESS_TOKEN_HERE` with the one created [above](#get-an-access-"
|
||||
"token)."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:61
|
||||
msgid ""
|
||||
"See `roles/custom/matrix-alertmanager-receiver/defaults/main.yml` for "
|
||||
"additional configuration variables."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:38
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:63
|
||||
msgid "Adjusting the matrix-alertmanager-receiver URL"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:40
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:65
|
||||
msgid ""
|
||||
"By default, this playbook installs matrix-alertmanager-receiver on the "
|
||||
"`matrix.` subdomain, at the `/matrix-alertmanager-receiver` path "
|
||||
@ -90,7 +149,7 @@ msgid ""
|
||||
"to be set up**. If that's okay, you can skip this section."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:42
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:67
|
||||
msgid ""
|
||||
"By tweaking the `matrix_alertmanager_receiver_hostname` and "
|
||||
"`matrix_alertmanager_receiver_path_prefix` variables, you can easily make"
|
||||
@ -98,125 +157,61 @@ msgid ""
|
||||
"default one."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:44
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:69
|
||||
msgid ""
|
||||
"Example additional configuration for your "
|
||||
"`inventory/host_vars/matrix.example.com/vars.yml` file:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:52
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:77
|
||||
msgid "Adjusting DNS records"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:54
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:79
|
||||
msgid ""
|
||||
"If you've changed the default hostname, **you may need to adjust your "
|
||||
"DNS** records to point the matrix-alertmanager-receiver domain to the "
|
||||
"Matrix server."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:56
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:81
|
||||
msgid "See [Configuring DNS](configuring-dns.md) for details about DNS changes."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:58
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:83
|
||||
msgid ""
|
||||
"If you've decided to use the default hostname, you won't need to do any "
|
||||
"extra DNS configuration."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:60
|
||||
msgid "Account and room preparation"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:62
|
||||
msgid ""
|
||||
"The playbook can automatically create users, but it cannot automatically "
|
||||
"obtain access tokens, nor perform any of the other manual actions below."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:64
|
||||
msgid ""
|
||||
"`matrix-alertmanager-receiver` uses a bot (with a username specified in "
|
||||
"`matrix_alertmanager_receiver_config_matrix_user_id_localpart` - see "
|
||||
"above) for delivering messages. You need to **manually register this bot "
|
||||
"acccount and obtain an access token for it**."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:66
|
||||
msgid ""
|
||||
"[Register a new user](registering-users.md): `ansible-playbook -i "
|
||||
"inventory/hosts setup.yml --extra-"
|
||||
"vars='username=bot.alertmanager.receiver password=PASSWORD_FOR_THE_BOT "
|
||||
"admin=no' --tags=register-user`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:67
|
||||
msgid ""
|
||||
"[Obtain an access token](obtaining-access-tokens.md) for the bot's user "
|
||||
"account"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:68
|
||||
msgid "Invite the bot to a room where you'd like to alerts to be delivered"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:69
|
||||
msgid ""
|
||||
"Log in as the bot using any Matrix client of your choosing, accept the "
|
||||
"room invitation from the bot's account and log out"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:70
|
||||
msgid ""
|
||||
"(Optionally) Adjust "
|
||||
"`matrix_alertmanager_receiver_config_matrix_room_mapping` to create a "
|
||||
"mapping between the new room and its ID"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:72
|
||||
msgid ""
|
||||
"Steps 1 and 2 above only need to be done once, while preparing your "
|
||||
"[configuration](#adjusting-the-playbook-configuration)."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:74
|
||||
msgid ""
|
||||
"Steps 3 and 4 need to be done for each new room you'd like the bot to "
|
||||
"deliver alerts to. Step 5 is optional and provides cleaner `/alert/` "
|
||||
"URLs."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:76
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:85
|
||||
msgid "Installing"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:78
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:87
|
||||
msgid ""
|
||||
"Now that you've [prepared the bot account and room](#account-and-room-"
|
||||
"preparation), [configured the playbook](#adjusting-the-playbook-"
|
||||
"configuration), and potentially [adjusted your DNS records](#adjusting-"
|
||||
"dns-records), you can run the playbook with [playbook tags](playbook-"
|
||||
"tags.md) as below:"
|
||||
"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-alertmanager-receiver.md:85
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:94
|
||||
msgid "**Notes**:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:87
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:96
|
||||
msgid ""
|
||||
"The `ensure-matrix-users-created` playbook tag makes the playbook "
|
||||
"automatically create the bot's user account."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:89
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:98
|
||||
msgid ""
|
||||
"The shortcut commands with the [`just` program](just.md) are also "
|
||||
"available: `just install-all` or `just setup-all`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:91
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:100
|
||||
msgid ""
|
||||
"`just install-all` is useful for maintaining your setup quickly ([2x-5x "
|
||||
"faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-"
|
||||
@ -225,27 +220,136 @@ msgid ""
|
||||
"`just setup-all`, or these components will still remain installed."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:93
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:102
|
||||
msgid "Usage"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:95
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:104
|
||||
msgid "Configure your Prometheus Alertmanager with configuration like this:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:114
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:123
|
||||
msgid ""
|
||||
".. where `URL_HERE` looks like `https://matrix.example.com/matrix-"
|
||||
"where `URL_HERE` looks like `https://matrix.example.com/matrix-"
|
||||
"alertmanager-receiver-RANDOM_VALUE_HERE/alert/some-room-name` or "
|
||||
"`https://matrix.example.com/matrix-alertmanager-receiver-"
|
||||
"RANDOM_VALUE_HERE/alert/!qporfwt:example.com`."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/configuring-playbook-alertmanager-receiver.md:116
|
||||
msgid ""
|
||||
"This bot does **not** accept room invitations automatically (like many "
|
||||
"other bots do). To deliver messages to rooms, **the bot must be joined to"
|
||||
" all rooms manually** - see Step 4 of the [Account and room preparation"
|
||||
"](#account-and-room-preparation) section."
|
||||
msgstr ""
|
||||
#~ msgid ""
|
||||
#~ "See the project's "
|
||||
#~ "[documentation](https://github.com/metio/matrix-alertmanager-"
|
||||
#~ "receiver) to learn more about what "
|
||||
#~ "this component does and why it "
|
||||
#~ "might be useful to you."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "At the moment, **setting up this "
|
||||
#~ "service's bot requires some manual "
|
||||
#~ "actions** as described below in [Account"
|
||||
#~ " and room preparation](#account-and-"
|
||||
#~ "room-preparation)."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "To enable matrix-alertmanager-receiver, "
|
||||
#~ "add the following configuration to your"
|
||||
#~ " `inventory/host_vars/matrix.example.com/vars.yml` file:"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Account and room preparation"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "The playbook can automatically create "
|
||||
#~ "users, but it cannot automatically "
|
||||
#~ "obtain access tokens, nor perform any"
|
||||
#~ " of the other manual actions below."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "`matrix-alertmanager-receiver` uses a "
|
||||
#~ "bot (with a username specified in "
|
||||
#~ "`matrix_alertmanager_receiver_config_matrix_user_id_localpart` -"
|
||||
#~ " see above) for delivering messages. "
|
||||
#~ "You need to **manually register this "
|
||||
#~ "bot acccount and obtain an access "
|
||||
#~ "token for it**."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "[Register a new user](registering-users.md):"
|
||||
#~ " `ansible-playbook -i inventory/hosts "
|
||||
#~ "setup.yml --extra-vars='username=bot.alertmanager.receiver"
|
||||
#~ " password=PASSWORD_FOR_THE_BOT admin=no' --tags"
|
||||
#~ "=register-user`"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "[Obtain an access token](obtaining-access-"
|
||||
#~ "tokens.md) for the bot's user account"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid "Invite the bot to a room where you'd like to alerts to be delivered"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Log in as the bot using any "
|
||||
#~ "Matrix client of your choosing, accept"
|
||||
#~ " the room invitation from the bot's"
|
||||
#~ " account and log out"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "(Optionally) Adjust "
|
||||
#~ "`matrix_alertmanager_receiver_config_matrix_room_mapping` to "
|
||||
#~ "create a mapping between the new "
|
||||
#~ "room and its ID"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Steps 1 and 2 above only need "
|
||||
#~ "to be done once, while preparing "
|
||||
#~ "your [configuration](#adjusting-the-playbook-"
|
||||
#~ "configuration)."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Steps 3 and 4 need to be "
|
||||
#~ "done for each new room you'd like"
|
||||
#~ " the bot to deliver alerts to. "
|
||||
#~ "Step 5 is optional and provides "
|
||||
#~ "cleaner `/alert/` URLs."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Now that you've [prepared the bot "
|
||||
#~ "account and room](#account-and-room-"
|
||||
#~ "preparation), [configured the playbook"
|
||||
#~ "](#adjusting-the-playbook-configuration), and "
|
||||
#~ "potentially [adjusted your DNS records"
|
||||
#~ "](#adjusting-dns-records), you can run "
|
||||
#~ "the playbook with [playbook tags](playbook-"
|
||||
#~ "tags.md) as below:"
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ ".. where `URL_HERE` looks like "
|
||||
#~ "`https://matrix.example.com/matrix-alertmanager-"
|
||||
#~ "receiver-RANDOM_VALUE_HERE/alert/some-room-name` "
|
||||
#~ "or `https://matrix.example.com/matrix-alertmanager-"
|
||||
#~ "receiver-RANDOM_VALUE_HERE/alert/!qporfwt:example.com`."
|
||||
#~ msgstr ""
|
||||
|
||||
#~ msgid ""
|
||||
#~ "This bot does **not** accept room "
|
||||
#~ "invitations automatically (like many other "
|
||||
#~ "bots do). To deliver messages to "
|
||||
#~ "rooms, **the bot must be joined to"
|
||||
#~ " all rooms manually** - see Step "
|
||||
#~ "4 of the [Account and room "
|
||||
#~ "preparation](#account-and-room-preparation) "
|
||||
#~ "section."
|
||||
#~ msgstr ""
|
||||
|
||||
|
Reference in New Issue
Block a user