Initial work on translations / localization
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
This commit is contained in:
85
i18n/translation-templates/docs/updating-users-passwords.pot
Normal file
85
i18n/translation-templates/docs/updating-users-passwords.pot
Normal file
@ -0,0 +1,85 @@
|
||||
# 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/updating-users-passwords.md:1
|
||||
msgid "Updating users passwords"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:3
|
||||
msgid "Option 1 (if you are using the integrated Postgres database):"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:5
|
||||
msgid "**Notes**:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:6
|
||||
msgid "Make sure to adjust `USERNAME_HERE` and `PASSWORD_HERE`"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:7
|
||||
msgid "For `USERNAME_HERE`, use a plain username like `alice`, not a full ID (`@alice:example.com`)"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:9
|
||||
msgid "You can reset a user's password via the Ansible playbook:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:15
|
||||
msgid "**You can then log in with that user** via Element Web that this playbook has created for you at a URL like this: `https://element.example.com/`."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:17
|
||||
msgid "Option 2 (if you are using an external Postgres server):"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:19
|
||||
msgid "You can manually generate the password hash by using the command-line after **SSH**-ing to your server (requires that [all services have been started](installing.md#finalize-the-installation):"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:25
|
||||
msgid "and then connecting to the postgres server and executing:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:31
|
||||
msgid "where `<password-hash>` is the hash returned by the docker command above."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:33
|
||||
msgid "Option 3:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:35
|
||||
msgid "Use the Synapse User Admin API as described here: https://github.com/element-hq/synapse/blob/master/docs/admin_api/user_admin_api.rst#reset-password"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:37
|
||||
msgid "This requires an [access token](obtaining-access-tokens.md) from a server admin account. *This method will also log the user out of all of their clients while the other options do not.*"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:39
|
||||
msgid "If you didn't make your account a server admin when you created it, you can learn how to switch it now by reading about it in [Adding/Removing Administrator privileges to an existing user in Synapse](registering-users.md#addingremoving-administrator-privileges-to-an-existing-user-in-synapse)."
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:41
|
||||
msgid "Example:"
|
||||
msgstr ""
|
||||
|
||||
#: ../../../docs/updating-users-passwords.md:43
|
||||
msgid "To set @alice:example.com's password to `correct_horse_battery_staple` you could use this curl command:"
|
||||
msgstr ""
|
Reference in New Issue
Block a user