2023-07-14 17:15:30 +00:00
# Japanese translations for PACKAGE package
# Copyright (C) 2023 Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
2023-07-17 14:01:00 +00:00
"POT-Creation-Date: 2023-07-17 16:00+0200\n"
2023-07-17 14:03:47 +00:00
"PO-Revision-Date: 2023-07-17 14:21+0000\n"
"Last-Translator: John Livingston <git@john-livingston.fr>\n"
"Language-Team: Japanese <https://weblate.framasoft.org/projects/"
"peertube-livechat/peertube-plugin-livechat-documentation/ja/>\n"
2023-07-14 17:15:30 +00:00
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
2023-07-17 10:59:11 +00:00
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.18.2\n"
2023-07-14 17:15:30 +00:00
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/contact/_index.md
#, fuzzy, no-wrap
msgid "Contact the author"
msgstr "お問い合わせ"
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/contact/_index.md
#, fuzzy, no-wrap
msgid "Contact me"
msgstr "お問い合わせ"
#. type: Plain text
#: support/documentation/content/en/contact/_index.md
2023-07-17 13:14:27 +00:00
msgid "If you have any question, or if you want to talk about this plugin, you can join this XMPP room with any Jabber client: [plugin-livechat-support@room.im.yiny.org](xmpp:plugin-livechat-support@room.im.yiny.org?join)."
2023-07-17 14:03:47 +00:00
msgstr ""
"もし、ご質問、このプラグインに関して話したいことがある場合、お好きなJabberク"
"ライアントを使って、こちらのXMPPルームに参加してください: [plugin-livechat-"
"support@room.im.yiny.org](xmpp:plugin-livechat-support@room.im.yiny."
"org?join)."
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/contact/_index.md
2023-07-17 13:14:27 +00:00
msgid "If you want to support the project financially, you can contact me by mail at git.[at].john-livingston.fr, or check my [Liberapay profile](https://liberapay.com/JohnLivingston/)."
2023-07-17 14:03:47 +00:00
msgstr ""
"もし、プロジェクトを金銭面でご支援頂ける場合は、メールにて git.[at].john-"
"livingston.fr, までご連絡頂くか、私の[Liberapay profile](https://liberapay."
"com/JohnLivingston/)をご確認頂けますと幸いです。"
2023-07-14 17:15:30 +00:00
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/contributing/codeofconduct/_index.md
#, no-wrap
msgid "Contributor Covenant Code of Conduct"
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/contributing/codeofconduct/_index.md
#, no-wrap
msgid "Code of Conduct"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/codeofconduct/_index.md
2023-07-17 13:14:27 +00:00
msgid "This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html). Translations are available at [https://www.contributor-covenant.org/translations](https://www.contributor-covenant.org/translations). Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement by mail at git.[at].john-livingston.fr."
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 11:17:32 +00:00
#. type: Title ##
2023-07-14 17:15:30 +00:00
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid "Develop"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Always talk about features you want to develop by creating/finding and commenting the issue tackling your problem before you start working on it, and inform the community that you begin coding by claiming the issue."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Pull Request must be done on the `main` branch."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Until march 2023, contribution were made on the `develop` branch. This procedure is now deprecated."
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 11:17:32 +00:00
#. type: Title ##
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid "Prerequisite for building this plugin"
msgstr ""
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "It is highly recommended to be familiar with following concepts:"
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 11:17:32 +00:00
#. type: Bullet: '* '
2023-07-14 17:15:30 +00:00
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Git"
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 11:17:32 +00:00
#. type: Bullet: '* '
2023-07-14 17:15:30 +00:00
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "NodeJS"
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 11:17:32 +00:00
#. type: Bullet: '* '
2023-07-14 17:15:30 +00:00
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "NPM"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Typescript"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "To build the plugin, you must have following packages:"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "`git`"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "`npm` (>=8.x)"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "`nodejs` (>=14.x)"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "`build-essential`"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "The plugin needs to build an AppImage for the Prosody XMPP server. It appears that the way this AppImage is build requires `apt` and `dpkg` commands. So it will only work \"out of the box\" on Debian-like systems. If you are using another Linux distribution, you can try to install `apt` and `dpkg` manually. See for example this [Github issue](https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/200). We will provide another solution as soon as possible."
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Building this AppImage also requires following packages:"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "`python3-venv`"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "`squashfs-tools`"
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "These dependencies were tested on a Debian Bullseye. If there is some dependencies issues on your UNIX/Linux system, please open an issue on Github."
2023-07-17 11:17:32 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Clone the repository, buid the plugin, and create your feature branch:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid ""
"# Clone the repository. Dont forget the --recursive to clone submodules.\n"
"git clone https://github.com/JohnXLivingston/peertube-plugin-livechat.git --recursive\n"
"\n"
"# Install NPM dependencies and build the module for the first time:\n"
"npm install\n"
"\n"
"# Build the plugin after a modification:\n"
"npm run build\n"
"\n"
"# If you have a fork from the repository, add it as remote (example):\n"
"git remote add me git@github.com:MY_GITHUB_ACCOUNT/peertube-plugin-livechat.git\n"
"\n"
"# Create a local branch for you developments, and checkout it (example):\n"
"git checkout my_development # Note: if an issue is associated, use fix_1234 as your branch name (where 1234 is the issue's number)\n"
"# To propose your modifications, push your branch to your repository (example):\n"
"git push --set-upstream me my_development\n"
"# Then go to your github repository with your web browser to propose the Pull Request (see additional instructions below)\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Once you are ready to show your code to ask for feedback, submit a *draft* Pull Request. Once you are ready for a code review before merge, submit a Pull Request. In any case, please link your PR to the issues it solves by using the GitHub syntax: \"fixes #issue_number\"."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "The front-end code is in the `client` folder, the back-end code in `server`. There are some shared code in `shared` folder."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "For general instructions (developping plugins, building, installation, ...), please refer to the [Peertube documentation](https://docs.joinpeertube.org/contribute-plugins?id=write-a-plugintheme)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "You can build the plugin with extra debug features simply by using:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid "NODE_ENV=dev npm run build\n"
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid "ESBuild vs Typescript"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "This plugin uses ESBuild for frontend code generation, as the official `peertube-plugin-quickstart` plugin. ESBuild can handle Typescript, but does not check types (see [ESBuild documentation](https://esbuild.github.io/content-types/#typescript)). That's why we first compile Typescript with the `-noEmit` option, just to check types (`check:client:ts` in package.json file). Then, if everything is okay, we run ESBuild to generate the compiled javascript."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid "Debug Mode"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "There is a debug mode for this plugin, that shorten some delay. For example, some log files will rotate every two minutes, instead of once per day. This permit to test more easily certain actions, for which it could normally take hours or days to wait."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "To enable this mode, you juste have to create the `/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/debug_mode` file (replacing `/var/www/peertube/storage/` by the correct path on your installation)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "The simple existence of this file is sufficient to trigger the debug mode. To make sure it's taken into account, you can restart your Peertube instance."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "This file can contain some JSON to enable more advanced options. To have a list of existing parameters, check `server/lib/debug.ts`. Restart Peertube after each content modification."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Don't enable this mode on a production server, neither on a public server. This could cause security issues."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ###
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid "Restart Prosody"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "When debug mode is enabled, you can restart Prosody using this API call: `http://your_instance.tld/plugins/livechat/router/api/restart_prosody`. This call don't need any authentificaiton. It can be done from a command line, for example using `curl http://your_instance.tld/plugins/livechat/router/api/restart_prosody`."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ###
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid "Prosody debugger"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "It is possible to connect the Prosody AppImage to a remote debugger using [MobDebug](https://luarocks.org/modules/paulclinger/mobdebug)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "To do so, you have to setup MobDebug in a folder that can be accessed by the `peertube` user. Then, add this in the `debub_mode` file:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (json)
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid ""
"{\n"
" \"debug_prosody\": {\n"
" \"debugger_path\": \"/the_path_to_mobdebug/src\",\n"
" \"host\": \"localhost\",\n"
" \"port\": \"8172\"\n"
" }\n"
"}\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "`host` and `port` are optional. `debugger_path` must point to the folder where the `MobDebug` `.lua` file is."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Restart Peertube."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Start your debugger server."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "For Prosody to connect to the debugger, call the API `http://your_instance.tld/plugins/livechat/router/api/restart_prosody?debugger=true`. This call does not need any authentication. It can be done from a command line, for example with `curl http://your_instance.tld/plugins/livechat/router/api/restart_prosody?debugger=true`. You can even configure your debug server to launch this request automatically."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Prosody will then restart, connecting to the debugger."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/develop/_index.md
#, no-wrap
msgid "Quick dev environment using Docker"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "There is a tutorial, in french, on the [Peertube forum](https://framacolibri.org/t/tutoriel-creer-un-environnement-de-developpement-de-plugin-peertube-rapidement-en-utilisant-docker-et-qui-permet-de-tester-la-federation/17631) that explains how to quickly build a dev env using Docker."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "A repo was made out of it, check out [pt-plugin-dev](https://codeberg.org/mose/pt-plugin-dev)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/develop/_index.md
2023-07-17 13:14:27 +00:00
msgid "Note: for an unknown reason, Prosody can't resolve containers DNS address when using the lua-unbound library. There is a dirty hack in the plugin: just create a `/data/plugins/data/peertube-plugin-livechat/no_lua_unbound` file in your docker-volumes, then restart containers."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "Document the plugin, or translate the documentation."
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/contributing/document/_index.md
#: support/documentation/content/en/documentation/_index.md
#, fuzzy, no-wrap
msgid "Documentation"
msgstr "ドキュメンテーション"
#. type: Title ##
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "General information"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Always inform the community before working (by creating a new issue, or commenting an existing one). This is to avoid that two persons are working on the same thing, and prevent conflicts."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Documentation work has to be merged in the `main` branch."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "The documentation source code is in the `support/documentation/content` folder."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "The documentation is generated using [Hugo](https://gohugo.io/). You have to install it on your computer if you want to preview your work."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "The used theme is [hugo-theme-learn](https://learn.netlify.app/). You should read its documentation before starting editing the documentation."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "When a new plugin version is released, or when documentation is updated, plugin maintainers will merge the `main` branch to the `documentation` branch. This will trigger github and gitlab pipelines, and update published documentation."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "Translations"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "The principal language is english (`en` code)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "The `support/documentation/content/en` folder contains only english documentation files."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Documentation is translated using Weblate (see the [translation documentation](/peertube-plugin-livechat/contributing/translate/)). To do so, we use the [po4a tool](https://po4a.org/), as we will se later in this page."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "Add a new language"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "In the `support/documentation/config.toml` file, please copy and modify the `[Languages.fr]` section."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "If the translations are not complete, it does not matter, english will be used for missing strings."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "Preview"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "To preview your modifications, just run:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 10:59:11 +00:00
#, no-wrap
2023-07-14 17:15:30 +00:00
msgid "hugo serve -s support/documentation/\n"
2023-07-17 11:17:32 +00:00
msgstr "ドキュメンテーション\n"
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Then open your browser on the address [http://localhost:1313/peertube-plugin-livechat/](http://localhost:1313/peertube-plugin-livechat/). This page will automatically refresh on each modification."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "Update localization files and generate documentation translations"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "For now, you only have the english version. To update documentation strings, and generate translations, you have to run the `doc-translate.sh` script."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "To do so, make sure you have `po4a` (version >= 0.66) installed on your computer.\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Some linux distro (like Debian Bullseye for example) have too old version of `po4a`. Please make sure to install a compatible version. If you are using Debian Bullseye for example, you can download the Bookworm po4a.deb file from [https://packages.debian.org](https://packages.debian.org/bookworm/all/po4a/download), and install it manually."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "To handle translations, just do:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "npm run doc:translate\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "You can then preview the result using `hugo serve -s support/documentation/`, and using the language selector."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/document/_index.md
#, fuzzy, no-wrap
msgid "Write documentation"
msgstr "ドキュメンテーション"
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Just edit the english files in `support/documentation/content/en`."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Then, before commiting, always run `npm run doc:translate`, so that changes in english files can be propagated to the `support/documentation/po/livechat.en.pot` file."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "You can use the `livechat_label` short code to use application strings. See here: [Documentation translation](/peertube-plugin-livechat/contributing/translate/#documentation-translation)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "It is possible to prevent a file from beeing translating, using `livechatnotranslation: true` in the Yaml Font Matter section. See here: [Documentation translation](/peertube-plugin-livechat/contributing/translate/#documentation-translation)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Please use the `livechatnotranslation` option for technical documentation. We don't want technical documentation to be translated, to avoid issues because of a wrong translation."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:40:55 +00:00
msgid "To facilitate translators work, avoid making too long paragraphs."
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 14:01:00 +00:00
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
msgid "For now, it is not possible to use Mardown tables: the translation tools will break them."
msgstr ""
2023-07-14 17:15:30 +00:00
#. type: Title ###
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "What if I can't use hugo and/or po4a?"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Just edit english markdown files, and specify that you can't build translations when you make your Pull Request."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/contributing/document/_index.md
#, no-wrap
msgid "Publication"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/document/_index.md
2023-07-17 13:14:27 +00:00
msgid "Publishing the documentation is automatic, as soon as the changes are merged into the `documentation` branch."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/contributing/feedback/_index.md
#, no-wrap
msgid "Give your feedback"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/contributing/feedback/_index.md
2023-07-17 13:14:27 +00:00
msgid "You don't need to know how to code to start contributing to this plugin! Other contributions are very valuable too, among which: you can test the software and report bugs, you can give feedback, features that you are interested in, user interface, design, ..."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/contributing/_index.md
#, fuzzy, no-wrap
msgid "Contributing"
msgstr "はじめに"
#. type: Plain text
#: support/documentation/content/en/contributing/_index.md
2023-07-17 13:14:27 +00:00
msgid "Interested in contributing? Awesome!"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/credits/_index.md
#, fuzzy, no-wrap
msgid "Plugin Credits"
msgstr "クレジット"
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/credits/_index.md
#, fuzzy, no-wrap
msgid "Credits"
msgstr "クレジット"
#. type: Plain text
#: support/documentation/content/en/credits/_index.md
2023-07-17 13:14:27 +00:00
#, fuzzy
msgid "[package.json](https://github.com/JohnXLivingston/peertube-plugin-livechat/blob/main/package.json), [COPYRIGHT](https://github.com/JohnXLivingston/peertube-plugin-livechat/blob/main/COPYRIGHT.md) and [LICENSE](https://github.com/JohnXLivingston/peertube-plugin-livechat/blob/main/LICENSE) files contain the license information for this software and its dependencies."
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 14:03:47 +00:00
"[package.json](https://github.com/JohnXLivingston/peertube-plugin-livechat/"
"blob/main/package.json)、\n"
"[COPYRIGHT](https://github.com/JohnXLivingston/peertube-plugin-livechat/blob/"
"main/COPYRIGHT.md)\n"
"と [LICENSE](https://github.com/JohnXLivingston/peertube-plugin-livechat/"
"blob/main/LICENSE)\n"
"ファイルには、このソフトウェアと使用しているライブラリなどのライセンス情報が"
"含まれています。"
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/credits/_index.md
2023-07-17 13:14:27 +00:00
msgid "The plugin is maintained by [John Livingston](https://www.john-livingston.fr/)."
2023-07-17 14:03:47 +00:00
msgstr ""
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/credits/_index.md
2023-07-17 13:14:27 +00:00
#, fuzzy
msgid "Thanks to David Revoy for his work on Peertube's mascot, [Sepia](https://www.davidrevoy.com/index.php?tag/peertube). The character design is under CC-By licence, and the SVG files used to create some logo and avatars in this plugin are GPLv3.0."
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 14:03:47 +00:00
"Peertubeのマスコット[Sepia](https://www.davidrevoy.com/index.php?tag/"
"peertube)を制作してくださったDavid Revoy氏に感謝致します。\n"
"キャラクターデザインは、CC-Byライセンスであり、本プラグインの一部のロゴとアバ"
"ターを作成する為に使用されているSVGファイルはGPLv3.0です。"
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/credits/_index.md
2023-07-17 13:14:27 +00:00
#, fuzzy
msgid "Thanks to [Framasoft](https://framasoft.org) for making [Peertube](https://joinpeertube.org/) possible, for the financial support, and for hosting the project translations on their [Weblate instance](https://weblate.framasoft.org)."
2023-07-17 14:03:47 +00:00
msgstr ""
"[Peertube](https://joinpeertube.org/"
")を実現し、また経済的な支援も行っている[Framasoft](https://framasoft."
"org)に感謝致します。"
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/credits/_index.md
2023-07-17 13:14:27 +00:00
msgid "Thanks to [ritimo](https://www.ritimo.org/) for the financial support."
2023-07-17 14:03:47 +00:00
msgstr "経済的な支援を行って頂いている[ritimo](https://www.ritimo.org/"
")に感謝致します。"
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/credits/_index.md
2023-07-17 13:14:27 +00:00
msgid "Thanks to [Code Lutin](https://www.codelutin.com/) and [Rétribution Copie Publique](https://copiepublique.fr/) for the financial support."
2023-07-17 14:03:47 +00:00
msgstr ""
"経済的な支援を行って頂いている[Code Lutin](https://www.codelutin.com/)/["
"Rétribution Copie Publique](https://copiepublique.fr/)に感謝致します。"
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/credits/_index.md
2023-07-17 13:14:27 +00:00
msgid "Thanks to [NlNet](https://nlnet.nl/) and the [NGI0 Entrust fund](https://nlnet.nl/entrust/) for the financial support."
2023-07-17 14:03:47 +00:00
msgstr ""
"経済的な支援を行って頂いている[NlNet](https://nlnet.nl/)/[NGI0 Entrust "
"fund](https://nlnet.nl/entrust/)(https://copiepublique.fr/)に感謝致します。"
2023-07-14 17:15:30 +00:00
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/admin/advanced/_index.md
#, no-wrap
msgid "Some advanced features"
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/admin/advanced/_index.md
#, no-wrap
msgid "Advanced usage"
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/admin/advanced/matterbridge.md
#, no-wrap
msgid "Using Matterbridge to bridge with other chats"
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/admin/advanced/matterbridge.md
#, no-wrap
msgid "Using Matterbridge"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/matterbridge.md
2023-07-17 13:14:27 +00:00
msgid "Here is a tutorial to use Matterbridge with the plugin: <https://gitlab.com/refrac/obs-matterbridge-overlay/-/blob/master/documentation/peertube.md>"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Allow connections using XMPP clients"
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "XMPP clients"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "This chat module is based on the XMPP protocol, also known as Jabber. It is therefore possible to connect to the chats using [XMPP client software](https://en.wikipedia.org/wiki/XMPP#Clients). This can for example be useful to facilitate moderation operations."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "For the user documentation associated with these features, please refer to the [user documentation page](/peertube-plugin-livechat/documentation/user/xmpp_clients/)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Enabling these features requires configuration changes on the server, and on the DNS records. It is not possible to configure this only from the Peertube interface, and it requires some basic system some basic system admin skills."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#: support/documentation/content/en/documentation/user/xmpp_clients.md
#, no-wrap
msgid "Login to your Peertube account"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "This feature is not yet available, and will come in a future version of the plugin."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#: support/documentation/content/en/documentation/user/xmpp_clients.md
#, no-wrap
msgid "Connection using an external XMPP account"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "To enable this feature, you will need to set up your server and DNS records, so that XMPP clients can find and access the [Prosody server](https://prosody.im) that this plugin uses internally."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ###
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, fuzzy, no-wrap
msgid "Plugin settings"
msgstr "クレジット"
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Start by going to the livechat plugin settings of your instance, then enable the setting \"Enable connection to room using external XMPP accounts\". By checking this settings, new settings appear below."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "First of all, the \"Prosody server to server port\" field. This one defaults to 5269, which is the standard port for this service. You can however change to another port, if this is already in use on your server."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Next, the field \"Server to server network interfaces\" field allows you to specify which network interfaces the server should listen on. The default value \"*, ::\" indicates to listen on all IP addresses. You can change these values, if you wish to listen on only certain IP addresses. The syntax is explained next to the setting."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "For the \"Certificate folder\" setting, you can leave it empty. In this case, the plugin will automatically generate self-signed certificates. Some XMPP servers may refuse to connect, depending on their configuration. In this case, you can indicate here a path on the server, in which you must place certificates to be used by the module. It is up to you to generate and renew them. See bellow for more information."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ###
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Firewall"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "You must open the configured port (5269 by default) on your firewall."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "If you are using Docker for your Peertube, you need to modify the `docker-compose.yml` file to open port 5269 of the `peertube` container, so that the outer world can connect to it."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ###
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "DNS"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "You need to add a [DNS record](https://prosody.im/doc/dns) allowing remote servers to find the \"room.your_instance.tld\" component."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "The easiest way to do this is to add an SRV record for the \"room\" [subdomain](https://prosody.im/doc/dns#subdomains):"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "record name: _xmpp-server._tcp.room.your_instance.tld. (replace «your_instance.tld» by your instance uri)"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "TTL: 3600"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "class: IN"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "SRV: 0"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "priority: 0"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "weight: 5"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "port: 5269 (adapt if your changed the default port)"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '* '
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "target: your_instance.tld. (replace by your instance uri)"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Be careful to keep the dot after \"your_instance.tld\"."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Using the `dig` command to check your record, you should get a result similar to this:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
"$ dig +short _xmpp-server._tcp.room.videos.john-livingston.fr. SRV\n"
"0 5 5269 videos.john-livingston.fr.\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "If you are **not using the standard `5269` port**, you must also add a SRV record for `_xmpp-server._tcp.your_instance.tld.` (same as above, just without the `room.` prefix). Of course, you can also add this record if you use the standard port. It will also work."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ###
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Using trusted certificates"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "The self-signed certificates that this plugin uses by default can be rejected by some XMPP servers, for security reasons."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "It is possible to use certificates validated by a certification authority. However, this requires advanced system administration knowledge. Indeed, due to the multitude of possible use cases, it is impossible to document all situations here. This documentation will therefore only explain the goal to be reached, and give an example which will only be suitable for a \"basic\" situation (manual installation of Peertube, using letsencrypt). If you are in another situation (Docker installation, certificates signed by another authority, etc...), you will have to adapt this approach by yourself."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ####
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Basic principle"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "It is up to you to generate valid certificates for domains `your_instance.tld` and `room.your_instance.tld`. You can use any [method supported by Prosody](https://prosody.im/doc/certificates)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "You must then place these certificates in a folder that will be accessible to the `peertube` user, and specify this folder in the plugin setting \"Certificate folder\"."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "If you want to use the ProsodyCtl utility to import certificates, this utility is available (once Peertube is started) using the following command (adapting the path to your Peertube data folder, and replacing \"xxx\" with the arguments you wish to pass to prosodyctl): `sudo -u peertube /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl xxx`"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "The plugin will check once a day to see if any files have been modified in this folder, and reload Prosody if necessary."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ####
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Method for the simple case"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "We assume here that your Peertube installation is \"classic\" (no use of Docker), and that the certificates are generated by letsencrypt, using the certbot tool."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "First of all, we'll have to create a certificate for the subdomain `room.your_instance.tld` : this is the uri of the MUC (XMPP chat rooms) component. Even if the connections are made on `your_instance.tld`, we will need a valid certificate for this subdomain."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "So start by setting up a DNS entry for `room.your_instance.tld`, which points to your server. You can use a CNAME entry (or an A entry and a AAAA entry)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Next, we'll use nginx (already installed for your Peertube) to generate the certbot certificate. We will create a new site. In the file `/etc/nginx/site-available/room.peertube`, add:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (nginx)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
"server {\n"
" listen 80;\n"
" listen [::]:80;\n"
" server_name room.your_instance.tld;\n"
"\n"
" location /.well-known/acme-challenge/ {\n"
" default_type \"text/plain\";\n"
" root /var/www/certbot;\n"
" }\n"
" location / { return 301 https://your_instance.tld; }\n"
"}\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Then enable the site:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
"ln -s /etc/nginx/sites-available/room.peertube /etc/nginx/sites-enabled/\n"
"systemc reload nginx\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Then we prepare the folder in which we will later import the certificates. We assume here that you already have the plugin active. We will create the following folder (if it doesn't already exist), with the user `peertube` to make sure there are no permissions issues:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "sudo -u peertube mkdir /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/certs\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Now you have to configure this folder in the plugin settings, for the parameter \"Certificate folders\". It's important to do this now, otherwise the certificate import script will put the certificates in the wrong folder."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "We will configure certbot to import the generated certificates into the Prosody folder. We can use the ProsodyCtl utility packaged in the plugin."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Note: for it to be available, the plugin must have been started at least once."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "We will create a file `/etc/letsencrypt/renewal-hooks/deploy/prosody.sh` containing:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
"#!/bin/sh\n"
"/var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun prosodyctl \\\n"
" --root \\\n"
" --config /var/www/peertube/storage/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
" cert import \\\n"
" room.your_instance.tld your_instance.tld /etc/letsencrypt/live\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Then we ask to generate the certificate:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "certbot -d room.videos.john-livingston.fr\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "If certbot offers you several methods to generate the certificate, choose \"nginx\"."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Normally you should now find the certificates in the configured folder."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Note: the first time you do this, you will have to reload Prosody. The easiest way to do this is to restart Peertube."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ####
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Method for the Docker case"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "This method works with the officially supported [Docker guide](https://docs.joinpeertube.org/install/docker) from PeerTube."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "First, ensure you create a DNS entry for `room.your_instance.tld`, which points to your server. You can use a CNAME entry (or an A entry and a AAAA entry). This is necessary for Let's Encrypt to validate the domain for certificate generation."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Enter the directory where your `docker-compose.yml` file exists."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Open a shell in the certbot container:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "docker exec -it certbot /bin/sh\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Run certbot:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "certbot\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "You will be presented with a series of prompts. Enter `2` for the authentication type:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (text)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
"How would you like to authenticate with the ACME CA?\n"
"Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Enter the domain name `room.your_instance.tld`:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (text)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Please enter the domain name(s) you would like on your certificate (comma and/or space separated) (Enter 'c' to cancel): room.your_instance.tld\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Enter the directory where the PeerTube webserver serves requests for Let's Encrypt, `/var/www/certbot`:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (text)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Input the webroot for <room.your_instance.tld>: (Enter 'c' to cancel): /var/www/certbot\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "You should see output like the following:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (text)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
"Successfully received certificate.\n"
"Certificate is saved at: /etc/letsencrypt/live/room.your_instance.tld/fullchain.pem\n"
"Key is saved at: /etc/letsencrypt/live/room.your_instance.tld/privkey.pem\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Run the below command inside the certbot container to give read access to the new certs and private keys to the peertube group. *Note*: This will also make the files readable to the group with id 999 on the host system. Check the groups on your system to assess this as a risk before running this command."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
"chown -R root:999 /etc/letsencrypt/live; \\\n"
"chmod 750 /etc/letsencrypt/live; \\\n"
"chown -R root:999 /etc/letsencrypt/archive; \\\n"
"chmod 750 /etc/letsencrypt/archive; \\\n"
"find /etc/letsencrypt/ -name 'privkey*' -exec chmod 0640 {} \\;\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Exit the certbot container:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "exit\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Modify your `docker-compose.yml` file, changing the `entrypoint` line under the `certbot` service to the following. This is the same as the above, but to be automatically executed after every certificate renewal."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (text)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid " entrypoint: /bin/sh -c \"trap exit TERM; while :; do certbot renew --webroot -w /var/www/certbot; chown -R root:999 /etc/letsencrypt/live; chmod 750 /etc/letsencrypt/live; chown -R root:999 /etc/letsencrypt/archive; chmod 750 /etc/letsencrypt/archive; find /etc/letsencrypt/ -name 'privkey*' -exec chmod 0640 {} +; sleep 12h & wait $${!}; done;\"\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Continuing to modify `docker-compose.yml`, add the certbot certificate volume into the peertube container. It should look something like this:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (text)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
" volumes:\n"
" - ./docker-volume/certbot/conf:/etc/letsencrypt\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Restart your services:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "docker-compose down; docker-comopse up -d\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "In the livechat plugin settings from your PeerTube administration settings, set the certificate directory to the following:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (text)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "/etc/letsencrypt/live\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Save the plugin settings and verify Prosody can see the certificates:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid ""
"docker-compose exec -u peertube \\\n"
" peertube \\\n"
" /data/plugins/data/peertube-plugin-livechat/prosodyAppImage/squashfs-root/AppRun \\\n"
" prosodyctl \\\n"
" --config /data/plugins/data/peertube-plugin-livechat/prosody/prosody.cfg.lua \\\n"
" check certs\n"
msgstr ""
#. type: Title ###
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
#, no-wrap
msgid "Troubleshooting"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/admin/advanced/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "If you can't make it work, you can use the diagnostic tool (there is a button on top of the plugin settings page), and take a close look on the «Prosody check» section."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/admin/_index.md
#, fuzzy, no-wrap
msgid "Plugin Peertube Livechat administration"
msgstr "クレジット"
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/admin/_index.md
#, fuzzy, no-wrap
msgid "Admin documentation"
msgstr "ドキュメンテーション"
#. type: Yaml Front Matter Hash Value: description
#: build/documentation/pot_in/documentation/admin/settings.md
#, fuzzy, no-wrap
msgid "Plugin Peertube Livechat settings"
msgstr "クレジット"
#. type: Yaml Front Matter Hash Value: title
#: build/documentation/pot_in/documentation/admin/settings.md
#, fuzzy, no-wrap
msgid "Settings"
msgstr "クレジット"
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "This section describes the plugin settings page."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "When pressing the «List rooms» button, all existing chatrooms will be listed. You can then find them and moderated them."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: build/documentation/pot_in/documentation/admin/settings.md
#, fuzzy, no-wrap
msgid "Federation"
msgstr "ドキュメンテーション"
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "Following settings concern the federation with other Peertube instances, and other fediverse softwares."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: build/documentation/pot_in/documentation/admin/settings.md
#, no-wrap
msgid "Chat behaviour"
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "This feature enables a «share chat link» modal. With this modal, you can generate URLs to join the chat. The chat can be customized (readonly mode, use the current theme, ...)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "You can for example generate a readonly URL and use it in OBS to integrate the chat in your live stream!"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "This settings allows you to choose who can access this modal."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "The video owner will be able to activate web chats."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "Note: for now this feature simply hide the chat. In a future release, the chat will be replaced by a message saying «please log in to [...]». See [v5.7.0 Release Notes](https://github.com/JohnXLivingston/peertube-plugin-livechat/blob/main/CHANGELOG.md#570) for more information."
2023-07-17 14:03:47 +00:00
msgstr ""
"メジャーリリースのアップデート実施前に、リリースノートをお読み頂き、"
"変更をご確認ください : [変更履歴](https://github.com/JohnXLivingston/"
"peertube-plugin-livechat/blob/main/CHANGELOG.md)."
2023-07-14 17:15:30 +00:00
#. type: Title ##
#: build/documentation/pot_in/documentation/admin/settings.md
#, no-wrap
msgid "Theming"
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "You can choose which theme to use for ConverseJS:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '- '
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "Peertube theme: this is a special theme, made especially for peertube's integration."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '- '
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "Default ConverseJS theme: this is the default ConverseJS theme."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '- '
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "ConverseJS concord theme: this is a theme provided by ConverseJS."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: build/documentation/pot_in/documentation/admin/settings.md
#, no-wrap
msgid "Chat server advanced settings"
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "The plugin comes with an AppImage that is used to run the [Prosody XMPP server](https://prosody.im). If this AppImage is not working, you can fallback to the Prosody that is packaged for your server. Just install the `prosody` package."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "This settings should only be used if the plugin is broken, and waiting for a patch."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "This setting enable XMPP clients to connect to the built-in Prosody server. For now, this option **only allows connections from localhost clients**."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "As example, this option can allow an instance of Matterbridge (once it could use anonymous login) *on the same machine* to bridge your chat with another services like a Matrix room."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "This settings enable XMPP external components to connect to the server. For now, this option **only allows connections from localhost components**."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "This feature could be used to connect bridges or bots."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: build/documentation/pot_in/documentation/admin/settings.md
2023-07-17 13:14:27 +00:00
msgid "More informations on Prosody external components [here](https://prosody.im/doc/components)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/_index.md
#, fuzzy, no-wrap
msgid "Plugin documentation"
msgstr "ドキュメンテーション"
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid "For now, the plugin only works out of the box for x86_64 and arm64 CPU architecture. Here are some instructions for other CPU architectures."
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid "Known issues: CPU Compatibility"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "The Prosody AppImage included in the plugin will only work on x86_64 and arm64 CPU. It is not compatible with other CPU architectures."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "To use the plugin, you will have to manually install Prosody on your server (see below)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid ""
"Note: the plugin requires Prosody >= 0.12.0.\n"
"If you are using an older version, Chat Federation could be broken, and it could have some unexpected behaviour.\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "Once it is done, you have to check `Use system Prosody` in the plugin settings."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid "On non-docker Peertube installation"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "For standard installation, you just have to install the official `prosody` package for your linux distribution."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "For example, on Debian/Ubuntu:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid "sudo apt install prosody\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "You can then disable the service that starts automatically when you install Prosody (the plugin will launch a Prosody process, there is no need for the service to run). For example, on Debian/Ubuntu (and other Systemd based linux distributions):"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (bash)
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid "sudo systemctl disable prosody && sudo systemctl stop prosody\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "Warning: do not disable Prosody if it is used for another service on your server, like for example Jitsi."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid "Docker"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "You will have to generate a Peertube image that includes Prosody in the same container that Peertube. I know this is not the standard way to do this with Docker, but keep in mind it is a temporary workaround."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "To generate and use such an image, please refer to the Docker documentation. The Docker file to generate the image should be:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (Docker)
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid ""
"FROM chocobozzz/peertube:production-bullseye\n"
"\n"
"RUN apt -y update && apt install -y prosody && apt -y clean\n"
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
#, no-wrap
msgid "Yunohost"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "You have to disable `metronome` (the XMPP server provided by Yunohost), and install `prosody`."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "This is already done by the Yunohost Peertube application, as it was required for the plugin before the v6.0.0."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/cpu_compatibility.md
2023-07-17 13:14:27 +00:00
msgid "But it may be removed in a near feature (to avoid drawbacks of this method). I have to discuss with Yunohost team, to decide how we can do to minimize drawbacks, and maximize compatibility."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/installation/_index.md
#, fuzzy, no-wrap
msgid "Plugin peertube-plugin-livechat installation guide"
msgstr "PeerTube ライブチャットプラグイン"
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/installation/_index.md
#, no-wrap
msgid "Installation guide"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/_index.md
#: support/documentation/content/en/_index.md
2023-07-17 13:14:27 +00:00
msgid "Before updating to a major release, please read the release notes and breaking changes list : [CHANGELOG](https://github.com/JohnXLivingston/peertube-plugin-livechat/blob/main/CHANGELOG.md)."
2023-07-17 14:03:47 +00:00
msgstr ""
"メジャーリリースのアップデート実施前に、リリースノートをお読み頂き、"
"変更をご確認ください : [変更履歴](https://github.com/JohnXLivingston/"
"peertube-plugin-livechat/blob/main/CHANGELOG.md)."
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/documentation/installation/_index.md
2023-07-17 13:14:27 +00:00
msgid "To install or update the plugin, **just use the Peertube web admin interface**."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/_index.md
2023-07-17 13:14:27 +00:00
msgid "Here are some other more specific instructions:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/installation/upgrade_before_6.0.0.md
#, no-wrap
msgid "Important notes when upgrading for an older version."
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/installation/upgrade_before_6.0.0.md
#, no-wrap
msgid "Upgrade from version older than 6.0.0"
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/installation/upgrade_before_6.0.0.md
#, no-wrap
msgid "IMPORTANT NOTE"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/upgrade_before_6.0.0.md
2023-07-17 13:14:27 +00:00
msgid "Since version v6.0.0, this plugin does not need any Prosody installation."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/upgrade_before_6.0.0.md
2023-07-17 13:14:27 +00:00
msgid "If you were using this plugin before this version, and if you had installed Prosody manually, you can safely uninstall Prosody."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/installation/upgrade_before_6.0.0.md
2023-07-17 13:14:27 +00:00
msgid "If you were using the custom Peertube docker image that is embedding Prosody, you can switch back to the official Peertube image."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/user/_index.md
#, fuzzy, no-wrap
msgid "Plugin peertube-plugin-livechat user documentation"
msgstr "PeerTube ライブチャットプラグイン"
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/user/_index.md
#, fuzzy, no-wrap
msgid "User documentation"
msgstr "ドキュメンテーション"
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/user/moderation.md
#, fuzzy, no-wrap
msgid "Plugin peertube-plugin-livechat moderation"
msgstr "PeerTube ライブチャットプラグイン"
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/user/moderation.md
#, fuzzy, no-wrap
msgid "Moderation"
msgstr "ドキュメンテーション"
#. type: Plain text
#: support/documentation/content/en/documentation/user/moderation.md
2023-07-17 13:14:27 +00:00
msgid "You can access room settings and moderation tools by opening the chat in a new window, and using the dropdown menu at the top right."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/moderation.md
2023-07-17 13:14:27 +00:00
msgid "You can list all existing chatrooms: in the plugin settings screen, there is a button «List rooms»."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/moderation.md
2023-07-17 13:14:27 +00:00
msgid "You can delete old rooms: join the room, and use the menu on the top to destroy the room."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/user/moderation.md
#, no-wrap
msgid "Notes"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/moderation.md
2023-07-17 13:14:27 +00:00
msgid "All instance moderators and admins will be owner of created chat rooms. If the video is local (not from a remote Peertube), the video owner will be admin in the chat room."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/moderation.md
2023-07-17 13:14:27 +00:00
msgid "You can use [ConverseJS moderation commands](https://conversejs.org/docs/html/features.html#moderating-chatrooms) to moderate the room. When you open the chat room in full screen, there will also be a menu with dedicated commands on the top right."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/user/obs.md
#, no-wrap
msgid "Documentation to stream the chat content using OBS."
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/user/obs.md
#, no-wrap
msgid "OBS"
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/user/obs.md
#, no-wrap
msgid "OBS Overlay"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/obs.md
2023-07-17 13:14:27 +00:00
msgid "If you are using OBS for streaming, you can easily include the chat in your stream."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/obs.md
2023-07-17 13:14:27 +00:00
msgid "You can use the «share chat link» feature to generate an URL to your chat. The button should be near the chat if you are the video owner (unless it was desactivated by your server admins)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/obs.md
2023-07-17 13:14:27 +00:00
msgid "Check the «readonly» checkbox in the modal. Then use this link as a «web browser source» in OBS."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/obs.md
2023-07-17 13:14:27 +00:00
msgid "You can use the «Transparent background» to have a transparent background in OBS. If you want to customize the background transparency, you can add this CSS in your OBS browser source's settings:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Fenced code block (css)
#: support/documentation/content/en/documentation/user/obs.md
#, no-wrap
msgid ""
":root {\n"
" --livechat-transparent: rgba(255 255 255 / 90%) !important;\n"
"}\n"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/obs.md
2023-07-17 13:14:27 +00:00
msgid "Note: you can customize colors. This is undocumented yet, but you can try this: in the modal, check «use curent theme colors», then you can try to manually change color values in the URL. You must use valid CSS color values, and they must be properly URL encoded."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title ##
#: support/documentation/content/en/documentation/user/obs.md
#, no-wrap
msgid "Mixing multiple chats in your live stream"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/obs.md
2023-07-17 13:14:27 +00:00
msgid "You can use the [social_stream browser extension](https://github.com/steveseguin/social_stream#readme) to mix multiple chat source (from Peertube, Twitch, Youtube, Facebook, ...) and include their contents in your live stream. The compatibility with this plugin was added in recent versions."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/documentation/user/xmpp_clients.md
#, no-wrap
msgid "Connect to chat using a XMPP client"
msgstr ""
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/documentation/user/xmpp_clients.md
#, no-wrap
msgid "XMPP Clients"
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "This chat plugin relies on the XMPP protocol (also known as Jabber). It is therefore possible to connect to the chats using [XMPP client software](https://en.wikipedia.org/wiki/XMPP#Clients). This can be useful for example to facilitate moderation operations."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "The features described on this page must be enabled and configured by your Peertube instance's administrators. You may therefore not have access to them."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "If this feature is enabled on your instance, you can connect to Peertube chats using any XMPP account."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "To get the address of the room you want to join, you can use the \"share chat\" button that is located above the chat:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "![Share button](/peertube-plugin-livechat/images/share_button.png?classes=shadow,border&height=200px)"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "By default, the share button is only visible to the owner of the video, and the admins/moderators of the instance. However, admins can decide to display this button for everyone."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Then, choose \"Connect using XMPP\":"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "![Share XMPP](/peertube-plugin-livechat/images/share_xmpp_dialog.png?classes=shadow,border&height=200px)"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Plain text
#: support/documentation/content/en/documentation/user/xmpp_clients.md
2023-07-17 13:14:27 +00:00
msgid "Then you just have to click on \"open\" or copy/paste the address of the chat room into your XMPP client (using the \"join a room\" feature)."
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Title #
#: support/documentation/content/en/_index.md
#, fuzzy, no-wrap
msgid "PeerTube plugin livechat"
msgstr "PeerTube ライブチャットプラグイン"
#. type: Plain text
#: support/documentation/content/en/_index.md
#: support/documentation/content/en/intro/_index.md
2023-07-17 13:14:27 +00:00
#, fuzzy
msgid "You can use the language selector in the left menu to view this documentation in different languages. Some translations are missing or incomplete. In this case, you'll see the English version of the text."
2023-07-17 14:03:47 +00:00
msgstr "左側のメニューにある言語セレクターを使って、このドキュメントをさまざまな言語"
"で表示することができます。"
2023-07-14 17:15:30 +00:00
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/intro/_index.md
#, fuzzy, no-wrap
msgid "Introduction"
msgstr "はじめに"
#. type: Plain text
#: support/documentation/content/en/intro/_index.md
2023-07-17 13:14:27 +00:00
msgid "This [Peertube](https://joinpeertube.org/) plugin is meant to provide chat system for Peertube videos."
2023-07-17 14:03:47 +00:00
msgstr ""
"この[Peertube](https://joinpeertube.org/)プラグインは、お使いのPeerTubeインス"
"タンスの動画に対してチャットシステムを提供します。"
2023-07-14 17:15:30 +00:00
2023-07-17 14:01:00 +00:00
#. type: Plain text
#: support/documentation/content/en/intro/_index.md
msgid "![Chat screenshot](/peertube-plugin-livechat/images/chat.png?classes=shadow,border&height=200px)"
msgstr ""
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/intro/_index.md
2023-07-17 14:01:00 +00:00
msgid "![Fullscreen chat screenshot](/peertube-plugin-livechat/images/fullscreen.png?classes=shadow,border&height=200px)"
2023-07-14 17:15:30 +00:00
msgstr ""
2023-07-17 14:03:47 +00:00
"![チャット画面のスクリーンショット](/peertube-plugin-livechat/images/chat."
"png?classes=shadow,border&height=200px)"
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/intro/_index.md
2023-07-17 13:14:27 +00:00
msgid "See a [demo](https://www.yiny.org/w/399a8d13-d4cf-4ef2-b843-98530a8ccbae)."
2023-07-17 14:03:47 +00:00
msgstr ""
"実際の動きを[デモ](https://www.yiny.org/w/399a8d13-d4cf-"
"4ef2-b843-98530a8ccbae)でご確認頂けます。"
2023-07-14 17:15:30 +00:00
#. type: Yaml Front Matter Hash Value: description
#: support/documentation/content/en/issues/_index.md
#, fuzzy, no-wrap
msgid "Bug tracking / New features requests"
msgstr "新規機能のリクエスト / バグトラッキング"
#. type: Yaml Front Matter Hash Value: title
#: support/documentation/content/en/issues/_index.md
#, fuzzy, no-wrap
msgid "Bug tracking & new features"
msgstr "新規機能のリクエスト / バグトラッキング"
#. type: Plain text
#: support/documentation/content/en/issues/_index.md
2023-07-17 13:14:27 +00:00
msgid "If you have new feature requests, bugs, or difficulties to setup the plugin, you can use the [Github issue tracker](https://github.com/JohnXLivingston/peertube-plugin-livechat/issues). If possible, try using english or french."
2023-07-17 14:03:47 +00:00
msgstr ""
"新しい機能のリクエスト、バグ、プラグインのセットアップ時に問題が発生した場合"
"は、[Github issue tracker](https://github.com/JohnXLivingston/"
"peertube-plugin-livechat/issues)から報告してください。"
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/issues/_index.md
2023-07-17 13:14:27 +00:00
msgid "To have a glimpse to the roadmap for upcoming features, please refer to:"
2023-07-14 17:15:30 +00:00
msgstr ""
#. type: Bullet: '- '
#: support/documentation/content/en/issues/_index.md
2023-07-17 13:14:27 +00:00
msgid "this [github project](https://github.com/users/JohnXLivingston/projects/1)."
2023-07-17 14:03:47 +00:00
msgstr ""
2023-07-14 17:15:30 +00:00
#. type: Bullet: '- '
#: support/documentation/content/en/issues/_index.md
2023-07-17 13:14:27 +00:00
msgid "the [milestones on github](https://github.com/JohnXLivingston/peertube-plugin-livechat/milestones)."
2023-07-17 14:03:47 +00:00
msgstr ""
2023-07-14 17:15:30 +00:00
#. type: Plain text
#: support/documentation/content/en/issues/_index.md
2023-07-17 13:14:27 +00:00
msgid "If you are a webdesigner or a ConverseJS/Prosody/XMPP expert, and want to help improve this plugin, you are welcome."
2023-07-17 14:03:47 +00:00
msgstr ""
"あなたがWebデザイナーの方または、ConverseJS/Prosody/XMPP上級者の方の場合は、"
"このプラグインをより良くする為に力を貸してください、歓迎致します。"
2023-07-14 17:15:30 +00:00
#, fuzzy, no-wrap
#~ msgid "Documentation translation"
#~ msgstr "ドキュメンテーション"
#, fuzzy, no-wrap
#~ msgid ""
#~ "If you think there is a missing locale, please check first if it is handled in Peertube.\n"
#~ "If so, you can [open an issue](https://github.com/JohnXLivingston/peertube-plugin-livechat/issues) to ask for it.\n"
#~ msgstr "新しい機能のリクエスト、バグ、プラグインのセットアップ時に問題が発生した場合は、[Github issue tracker](https://github.com/JohnXLivingston/peertube-plugin-livechat/issues)から報告してください。\n"