Use msgcat to avoid word-wrapping in .po files

This commit is contained in:
Slavi Pantaleev
2024-12-20 14:33:31 +02:00
parent 36429d8bd3
commit 71e5f1103d
269 changed files with 8438 additions and 39279 deletions

View File

@ -25,23 +25,15 @@ msgid "Setting up maubot (optional)"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:3
msgid ""
"The playbook can install and configure "
"[maubot](https://github.com/maubot/maubot) for you."
msgid "The playbook can install and configure [maubot](https://github.com/maubot/maubot) for you."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:5
msgid ""
"After setting up maubot, you can use the web management interface to make"
" it do things. The default location of the management interface is "
"`matrix.example.com/_matrix/maubot/`"
msgid "After setting up maubot, you can use the web management interface to make it do things. The default location of the management interface is `matrix.example.com/_matrix/maubot/`"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:7
msgid ""
"See the project's "
"[documentation](https://docs.mau.fi/maubot/usage/basic.html) to learn "
"what it does and why it might be useful to you."
msgid "See the project's [documentation](https://docs.mau.fi/maubot/usage/basic.html) to learn what it does and why it might be useful to you."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:9
@ -49,15 +41,11 @@ msgid "Adjusting the playbook configuration"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:11
msgid ""
"To enable maubot, add the following configuration to your "
"`inventory/host_vars/matrix.example.com/vars.yml` file:"
msgid "To enable maubot, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:26
msgid ""
"You can add multiple admins. The admin accounts are only used to access "
"the maubot administration interface."
msgid "You can add multiple admins. The admin accounts are only used to access the maubot administration interface."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:28
@ -65,26 +53,15 @@ msgid "Adjusting the maubot URL"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:30
msgid ""
"By default, this playbook installs maubot on the `matrix.` subdomain, at "
"the `/_matrix/maubot/` path (https://matrix.example.com/_matrix/maubot/)."
" 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."
msgid "By default, this playbook installs maubot on the `matrix.` subdomain, at the `/_matrix/maubot/` path (https://matrix.example.com/_matrix/maubot/). 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-bot-maubot.md:32
msgid ""
"By tweaking the `matrix_bot_maubot_hostname` and "
"`matrix_bot_maubot_path_prefix` variables, you can easily make the "
"service available at a **different hostname and/or path** than the "
"default one."
msgid "By tweaking the `matrix_bot_maubot_hostname` and `matrix_bot_maubot_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-bot-maubot.md:34
msgid ""
"Example additional configuration for your "
"`inventory/host_vars/matrix.example.com/vars.yml` file:"
msgid "Example additional configuration for your `inventory/host_vars/matrix.example.com/vars.yml` file:"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:42
@ -92,9 +69,7 @@ msgid "Adjusting DNS records"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:44
msgid ""
"If you've changed the default hostname, **you may need to adjust your "
"DNS** records to point the maubot domain to the Matrix server."
msgid "If you've changed the default hostname, **you may need to adjust your DNS** records to point the maubot domain to the Matrix server."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:46
@ -102,9 +77,7 @@ msgid "See [Configuring DNS](configuring-dns.md) for details about DNS changes."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:48
msgid ""
"If you've decided to use the default hostname, you won't need to do any "
"extra DNS configuration."
msgid "If you've decided to use the default hostname, you won't need to do any extra DNS configuration."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:50
@ -112,10 +85,7 @@ msgid "Installing"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:52
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:"
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-bot-maubot.md:59
@ -123,35 +93,19 @@ msgid "**Notes**:"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:61
msgid ""
"The `ensure-matrix-users-created` playbook tag makes the playbook "
"automatically create the bot's user account."
msgid "The `ensure-matrix-users-created` playbook tag makes the playbook automatically create the bot's user account."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:63
msgid ""
"The shortcut commands with the [`just` program](just.md) are also "
"available: `just install-all` or `just setup-all`"
msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:65
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."
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-bot-maubot.md:67
msgid ""
"If you change the bot password (`matrix_bot_maubot_initial_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_maubot_initial_password` to let the bot know its new "
"password."
msgid "If you change the bot password (`matrix_bot_maubot_initial_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_maubot_initial_password` to let the bot know its new password."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:69
@ -159,9 +113,7 @@ msgid "Usage"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:71
msgid ""
"By default, you can visit `matrix.example.com/_matrix/maubot/` to manage "
"your available plugins, clients and instances."
msgid "By default, you can visit `matrix.example.com/_matrix/maubot/` to manage your available plugins, clients and instances."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:73
@ -169,24 +121,15 @@ msgid "You should start in the following order"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:74
msgid ""
"**Create one or more clients**: A client is a Matrix account which the "
"bot will use to message. By default, the playbook creates a `bot.maubot` "
"account (as per the configuration above). You only need to [obtain an "
"access token](#obtaining-an-access-token) for it"
msgid "**Create one or more clients**: A client is a Matrix account which the bot will use to message. By default, the playbook creates a `bot.maubot` account (as per the configuration above). You only need to [obtain an access token](#obtaining-an-access-token) for it"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:75
msgid ""
"**Upload some Plugins**: Plugins can be obtained from "
"[here](https://github.com/maubot/maubot#plugins) or any other source."
msgid "**Upload some Plugins**: Plugins can be obtained from [here](https://github.com/maubot/maubot#plugins) or any other source."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:76
msgid ""
"**Create an instance**: An instance is the actual bot. You have to "
"specify a client which the bot instance will use and the plugin (how the "
"bot will behave)"
msgid "**Create an instance**: An instance is the actual bot. You have to specify a client which the bot instance will use and the plugin (how the bot will behave)"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:78
@ -194,20 +137,9 @@ msgid "Obtaining an access token"
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:80
msgid ""
"This can be done via `mbc login` then `mbc auth` (see the [maubot "
"documentation](https://docs.mau.fi/maubot/usage/cli/auth.html)). To run "
"these commands, you'll first need to `exec` into the maubot container "
"with `docker exec -it matrix-bot-maubot sh`."
msgid "This can be done via `mbc login` then `mbc auth` (see the [maubot documentation](https://docs.mau.fi/maubot/usage/cli/auth.html)). To run these commands, you'll first need to `exec` into the maubot container with `docker exec -it matrix-bot-maubot sh`."
msgstr ""
#: ../../../docs/configuring-playbook-bot-maubot.md:82
msgid ""
"Alternatively, you can follow our generic [obtain an access token"
"](obtaining-access-tokens.md) documentation. Be aware that you'd better "
"use the **Obtain an access token via curl** method (not **Obtain an "
"access token via Element Web**) as the latter will give your bot issues "
"in encrypted rooms. Read "
"[more](https://docs.mau.fi/maubot/usage/basic.html#creating-clients)."
msgid "Alternatively, you can follow our generic [obtain an access token](obtaining-access-tokens.md) documentation. Be aware that you'd better use the **Obtain an access token via curl** method (not **Obtain an access token via Element Web**) as the latter will give your bot issues in encrypted rooms. Read [more](https://docs.mau.fi/maubot/usage/basic.html#creating-clients)."
msgstr ""