From 7d75d82f6a291b3d872847b30ce75cfa5cb3f068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 8 May 2021 08:19:11 +0200 Subject: [PATCH] doc: use XDG config directory in chapter on IRC server certificate (user's guide) (issue #1285) --- doc/de/weechat_user.de.adoc | 18 ++++++++++++++---- doc/en/weechat_user.en.adoc | 16 ++++++++++++---- doc/fr/weechat_user.fr.adoc | 16 ++++++++++++---- doc/it/weechat_user.it.adoc | 18 ++++++++++++++---- doc/ja/weechat_user.ja.adoc | 18 ++++++++++++++---- doc/pl/weechat_user.pl.adoc | 18 ++++++++++++++---- 6 files changed, 80 insertions(+), 24 deletions(-) diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index d07e8e90b..379dfe05a 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -2900,10 +2900,15 @@ die Verbindung mit einer vorherigen Version (<0.3.1) funktioniert hat. * Importieren Sie die Zertifikate in einer Shell: ---- -$ mkdir -p ~/.weechat/ssl -$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt +$ mkdir -p ~/.config/weechat/ssl +$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt ---- +// TRANSLATION MISSING +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + [NOTE] Es ist möglich mehrere Zertifikate in der Datei CAs.pem zu verwenden. @@ -2919,11 +2924,16 @@ Es ist möglich mehrere Zertifikate in der Datei CAs.pem zu verwenden. * Erstellen Sie ein Zertifikat in der Shell: ---- -$ mkdir -p ~/.weechat/ssl -$ cd ~/.weechat/ssl +$ mkdir -p ~/.config/weechat/ssl +$ cd ~/.config/weechat/ssl $ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem ---- +// TRANSLATION MISSING +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + * In WeeChat, sofern der Server "oftc" schon hinzufügt wurde: ---- diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index ec8bf99db..7987bad6f 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -2849,10 +2849,14 @@ even if it was OK with versions prior to 0.3.1. * Import certificate in shell: ---- -$ mkdir -p ~/.weechat/ssl -$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt +$ mkdir -p ~/.config/weechat/ssl +$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt ---- +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + [NOTE] It is possible to concatenate many certificates in file CAs.pem. @@ -2868,11 +2872,15 @@ It is possible to concatenate many certificates in file CAs.pem. * Create certificate in shell: ---- -$ mkdir -p ~/.weechat/ssl -$ cd ~/.weechat/ssl +$ mkdir -p ~/.config/weechat/ssl +$ cd ~/.config/weechat/ssl $ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem ---- +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + * In WeeChat, with "oftc" server already added: ---- diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index b0c3c3cd5..61a5bb0e1 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -2952,10 +2952,14 @@ et peut échouer, même si cela pouvait être OK dans les versions inférieures * Importer le certificat sous le shell : ---- -$ mkdir -p ~/.weechat/ssl -$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt +$ mkdir -p ~/.config/weechat/ssl +$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt ---- +[NOTE] +Vous devez remplacer `~/.config/weechat` par le chemin vers votre répertoire de +config WeeChat qui peut aussi être par exemple `~/.weechat`. + [NOTE] Il est possible de concaténer plusieurs certificats dans le fichier CAs.pem. @@ -2971,11 +2975,15 @@ Il est possible de concaténer plusieurs certificats dans le fichier CAs.pem. * Créer le certificat sous le shell : ---- -$ mkdir -p ~/.weechat/ssl -$ cd ~/.weechat/ssl +$ mkdir -p ~/.config/weechat/ssl +$ cd ~/.config/weechat/ssl $ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem ---- +[NOTE] +Vous devez remplacer `~/.config/weechat` par le chemin vers votre répertoire de +config WeeChat qui peut aussi être par exemple `~/.weechat`. + * Sous WeeChat, avec le serveur "oftc" déjà ajouté : ---- diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index c84ab8f7e..d8349e222 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -3065,10 +3065,15 @@ la 0.3.1. * Importare certificati nella shell: ---- -$ mkdir -p ~/.weechat/ssl -$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt +$ mkdir -p ~/.config/weechat/ssl +$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt ---- +// TRANSLATION MISSING +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + // TRANSLATION MISSING [NOTE] E possibile concatenare più certificati nel file CAs.pem. @@ -3086,11 +3091,16 @@ E possibile concatenare più certificati nel file CAs.pem. * Creare un certificato nella shell: ---- -$ mkdir -p ~/.weechat/ssl -$ cd ~/.weechat/ssl +$ mkdir -p ~/.config/weechat/ssl +$ cd ~/.config/weechat/ssl $ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem ---- +// TRANSLATION MISSING +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + // TRANSLATION MISSING * In WeeChat, with "oftc" server already added: diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index 51fcad35e..9ac0b4c71 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -2916,10 +2916,15 @@ irc.server.xxx.ssl_verify:: * シェルを使って証明書をインポート: ---- -$ mkdir -p ~/.weechat/ssl -$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt +$ mkdir -p ~/.config/weechat/ssl +$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt ---- +// TRANSLATION MISSING +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + [NOTE] CAs.pem ファイル中で複数の証明書を連結することもできます。 @@ -2935,11 +2940,16 @@ CAs.pem ファイル中で複数の証明書を連結することもできます * シェルで証明書を作成: ---- -$ mkdir -p ~/.weechat/ssl -$ cd ~/.weechat/ssl +$ mkdir -p ~/.config/weechat/ssl +$ cd ~/.config/weechat/ssl $ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem ---- +// TRANSLATION MISSING +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + * WeeChat では、"oftc" サーバが既に追加されています: ---- diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index 5d2f4e148..ecfd94627 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -2873,10 +2873,15 @@ się nie powieść, nawet jeśli wszystko było OK w wersjach przed 0.3.1. * Import certyfikatu w kosoli: ---- -$ mkdir -p ~/.weechat/ssl -$ wget -O ~/.weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt +$ mkdir -p ~/.config/weechat/ssl +$ wget -O ~/.config/weechat/ssl/CAs.pem https://www.spi-inc.org/ca/spi-cacert.crt ---- +// TRANSLATION MISSING +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + [NOTE] Możliwe jest umieszczenie wielu certyfikatów w pliku CAs.pem. @@ -2892,11 +2897,16 @@ Możliwe jest umieszczenie wielu certyfikatów w pliku CAs.pem. * Tworzenie certyfikatu w konsoli: ---- -$ mkdir -p ~/.weechat/ssl -$ cd ~/.weechat/ssl +$ mkdir -p ~/.config/weechat/ssl +$ cd ~/.config/weechat/ssl $ openssl req -nodes -newkey rsa:2048 -keyout nick.pem -x509 -days 365 -out nick.pem ---- +// TRANSLATION MISSING +[NOTE] +You must replace `~/.config/weechat` by the path to your WeeChat config directory +which can also be for example `~/.weechat`. + * W WeeChat z dodanym wcześniej serwerem "oftc": ----