From a02a2fbaaea197df68630fefb2e6d1d2003de8dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 14 Mar 2021 13:38:50 +0100 Subject: [PATCH] doc: use full path /usr/bin/pass in example for option sec.crypt.passphrase_command --- ReleaseNotes.adoc | 2 +- doc/de/includes/autogen_user_commands.de.adoc | 2 +- doc/de/includes/autogen_user_options.de.adoc | 2 +- doc/de/weechat_user.de.adoc | 2 +- doc/en/includes/autogen_user_commands.en.adoc | 2 +- doc/en/includes/autogen_user_options.en.adoc | 2 +- doc/en/weechat_user.en.adoc | 2 +- doc/fr/includes/autogen_user_commands.fr.adoc | 2 +- doc/fr/includes/autogen_user_options.fr.adoc | 2 +- doc/fr/weechat_user.fr.adoc | 2 +- doc/it/includes/autogen_user_commands.it.adoc | 2 +- doc/it/includes/autogen_user_options.it.adoc | 2 +- doc/it/weechat_user.it.adoc | 2 +- doc/ja/includes/autogen_user_commands.ja.adoc | 2 +- doc/ja/includes/autogen_user_options.ja.adoc | 2 +- doc/ja/weechat_user.ja.adoc | 2 +- doc/pl/includes/autogen_user_commands.pl.adoc | 2 +- doc/pl/includes/autogen_user_options.pl.adoc | 2 +- doc/pl/weechat_user.pl.adoc | 2 +- po/cs.po | 8 +++++--- po/de.po | 15 +++++++++------ po/es.po | 8 +++++--- po/fr.po | 15 +++++++++------ po/hu.po | 8 +++++--- po/it.po | 8 +++++--- po/ja.po | 8 +++++--- po/pl.po | 16 ++++++++++------ po/pt.po | 8 +++++--- po/pt_BR.po | 19 +++++++++++-------- po/ru.po | 8 +++++--- po/tr.po | 8 +++++--- po/weechat.pot | 8 +++++--- src/core/wee-command.c | 3 ++- src/core/wee-secure-config.c | 3 ++- 34 files changed, 107 insertions(+), 74 deletions(-) diff --git a/ReleaseNotes.adoc b/ReleaseNotes.adoc index 8f6549ec6..616c597e2 100644 --- a/ReleaseNotes.adoc +++ b/ReleaseNotes.adoc @@ -40,7 +40,7 @@ the clear password. + For example with password-store (command `pass`): ---- -/set sec.crypt.passphrase_command "pass show weechat/passphrase" +/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" ---- [[v3.1_window_splitv]] diff --git a/doc/de/includes/autogen_user_commands.de.adoc b/doc/de/includes/autogen_user_commands.de.adoc index 4c774ca15..65ccc4d3d 100644 --- a/doc/de/includes/autogen_user_commands.de.adoc +++ b/doc/de/includes/autogen_user_commands.de.adoc @@ -1885,7 +1885,7 @@ Beispiele: festlegen eine Passphrase: /secure passphrase Dies ist meine Passphrase nutze Programm "pass" um die Passphrase beim Start auszulesen: - /set sec.crypt.passphrase_command "pass show weechat/passphrase" + /set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" verschlüsselt freenode SASL Passwort: /secure set freenode meinPasswort /set irc.server.freenode.sasl_password "${sec.data.freenode}" diff --git a/doc/de/includes/autogen_user_options.de.adoc b/doc/de/includes/autogen_user_options.de.adoc index 9f100112f..cbf9ce760 100644 --- a/doc/de/includes/autogen_user_options.de.adoc +++ b/doc/de/includes/autogen_user_options.de.adoc @@ -17,7 +17,7 @@ ** Standardwert: `+sha256+` * [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* -** Beschreibung: pass:none[Auslesen der Passphrase aus der Ausgabe des angegebenen Befehls (nur die erste Zeile wird verwendet und darf kein zusätzliches Zeichen enthalten); Diese Option wird nur verwendet, wenn die Datei sec.conf gelesen wird und wenn die Umgebungsvariable "WEECHAT_PASSPHRASE" nicht festgelegt ist (die Umgebungsvariable hat eine höhere Priorität); Beispiel mit Passwortspeicher: "pass show weechat / passphrase"] +** Beschreibung: pass:none[Auslesen der Passphrase aus der Ausgabe des angegebenen Befehls (nur die erste Zeile wird verwendet und darf kein zusätzliches Zeichen enthalten); Diese Option wird nur verwendet, wenn die Datei sec.conf gelesen wird und wenn die Umgebungsvariable "WEECHAT_PASSPHRASE" nicht festgelegt ist (die Umgebungsvariable hat eine höhere Priorität); Beispiel mit Passwortspeicher: "/usr/bin/pass show weechat / passphrase"] ** Typ: Zeichenkette ** Werte: beliebige Zeichenkette ** Standardwert: `+""+` diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 867f700b8..e492aea6d 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -2336,7 +2336,7 @@ Wenn Sie einen Passwortmanager verwenden, können Sie ein externes Programm ausf anstatt sie beim Start von WeeChat manuell eingeben zu müssen. Zum Beispiel mit Passwortspeicher (Befehl `pass`): ---- -/set sec.crypt.passphrase_command "pass show weechat/passphrase" +/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" ---- Das Programm fordert Sie möglicherweise auf, Ihren GPG-Schlüssel zu entsperren oder eine andere Passphrase diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc index 5ceba339c..8bf456075 100644 --- a/doc/en/includes/autogen_user_commands.en.adoc +++ b/doc/en/includes/autogen_user_commands.en.adoc @@ -1885,7 +1885,7 @@ Examples: set a passphrase: /secure passphrase this is my passphrase use program "pass" to read the passphrase on startup: - /set sec.crypt.passphrase_command "pass show weechat/passphrase" + /set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" encrypt freenode SASL password: /secure set freenode mypassword /set irc.server.freenode.sasl_password "${sec.data.freenode}" diff --git a/doc/en/includes/autogen_user_options.en.adoc b/doc/en/includes/autogen_user_options.en.adoc index b141a5418..41ff189ec 100644 --- a/doc/en/includes/autogen_user_options.en.adoc +++ b/doc/en/includes/autogen_user_options.en.adoc @@ -17,7 +17,7 @@ ** default value: `+sha256+` * [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* -** description: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "pass show weechat/passphrase"] +** description: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "/usr/bin/pass show weechat/passphrase"] ** type: string ** values: any string ** default value: `+""+` diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 6f45d1608..78788421c 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -2298,7 +2298,7 @@ the passphrase instead of having to type it manually on WeeChat startup. + For example with password-store (command `pass`): ---- -/set sec.crypt.passphrase_command "pass show weechat/passphrase" +/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" ---- The program may ask you unlock your GPG key or enter another passphrase to diff --git a/doc/fr/includes/autogen_user_commands.fr.adoc b/doc/fr/includes/autogen_user_commands.fr.adoc index 83132fe90..168484b98 100644 --- a/doc/fr/includes/autogen_user_commands.fr.adoc +++ b/doc/fr/includes/autogen_user_commands.fr.adoc @@ -1885,7 +1885,7 @@ Exemples : définir une phrase de chiffrement : /secure passphrase ceci est ma phrase de chiffrement utiliser le programme "pass" pour lire la phrase de chiffrement au démarrage : - /set sec.crypt.passphrase_command "pass show weechat/passphrase" + /set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" chiffrer le mot de passe freenode SASL : /secure set freenode motdepasse /set irc.server.freenode.sasl_password "${sec.data.freenode}" diff --git a/doc/fr/includes/autogen_user_options.fr.adoc b/doc/fr/includes/autogen_user_options.fr.adoc index f0194ff8f..d396932cf 100644 --- a/doc/fr/includes/autogen_user_options.fr.adoc +++ b/doc/fr/includes/autogen_user_options.fr.adoc @@ -17,7 +17,7 @@ ** valeur par défaut: `+sha256+` * [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* -** description: pass:none[lire la phrase de chiffrement depuis la sortie de cette commande système (seule la première ligne est utilisée et elle ne doit contenir aucun autre caractère) ; cette option est utilisée seulement pour lire le fichier sec.conf et si la variable d'environnement "WEECHAT_PASSPHRASE" n'est pas définie (la variable d'environnement a une priorité plus haute) ; exemple avec password-store : "pass show weechat/passphrase"] +** description: pass:none[lire la phrase de chiffrement depuis la sortie de cette commande système (seule la première ligne est utilisée et elle ne doit contenir aucun autre caractère) ; cette option est utilisée seulement pour lire le fichier sec.conf et si la variable d'environnement "WEECHAT_PASSPHRASE" n'est pas définie (la variable d'environnement a une priorité plus haute) ; exemple avec password-store : "/usr/bin/pass show weechat/passphrase"] ** type: chaîne ** valeurs: toute chaîne ** valeur par défaut: `+""+` diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index 809a59adb..8274f8241 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -2376,7 +2376,7 @@ un programme externe pour lire la phrase de chiffrement au lieu d'avoir Par exemple avec password-store (command `pass`) : ---- -/set sec.crypt.passphrase_command "pass show weechat/passphrase" +/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" ---- Le programme peut vous demander de déverrouiller votre clé GPG ou d'entrer une diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc index d417e0653..3edfb8f9d 100644 --- a/doc/it/includes/autogen_user_commands.it.adoc +++ b/doc/it/includes/autogen_user_commands.it.adoc @@ -1885,7 +1885,7 @@ Examples: set a passphrase: /secure passphrase this is my passphrase use program "pass" to read the passphrase on startup: - /set sec.crypt.passphrase_command "pass show weechat/passphrase" + /set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" encrypt freenode SASL password: /secure set freenode mypassword /set irc.server.freenode.sasl_password "${sec.data.freenode}" diff --git a/doc/it/includes/autogen_user_options.it.adoc b/doc/it/includes/autogen_user_options.it.adoc index 105f0b3c8..94c056eca 100644 --- a/doc/it/includes/autogen_user_options.it.adoc +++ b/doc/it/includes/autogen_user_options.it.adoc @@ -17,7 +17,7 @@ ** valore predefinito: `+sha256+` * [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* -** descrizione: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "pass show weechat/passphrase"] +** descrizione: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "/usr/bin/pass show weechat/passphrase"] ** tipo: stringa ** valori: qualsiasi stringa ** valore predefinito: `+""+` diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index 2ac8c081c..70d63701e 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -2466,7 +2466,7 @@ the passphrase instead of having to type it manually on WeeChat startup. + For example with password-store (command `pass`): ---- -/set sec.crypt.passphrase_command "pass show weechat/passphrase" +/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" ---- The program may ask you unlock your GPG key or enter another passphrase to diff --git a/doc/ja/includes/autogen_user_commands.ja.adoc b/doc/ja/includes/autogen_user_commands.ja.adoc index 36e67f1de..8840a3daf 100644 --- a/doc/ja/includes/autogen_user_commands.ja.adoc +++ b/doc/ja/includes/autogen_user_commands.ja.adoc @@ -1885,7 +1885,7 @@ Examples: set a passphrase: /secure passphrase this is my passphrase use program "pass" to read the passphrase on startup: - /set sec.crypt.passphrase_command "pass show weechat/passphrase" + /set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" encrypt freenode SASL password: /secure set freenode mypassword /set irc.server.freenode.sasl_password "${sec.data.freenode}" diff --git a/doc/ja/includes/autogen_user_options.ja.adoc b/doc/ja/includes/autogen_user_options.ja.adoc index 11efb5aa6..4925e6803 100644 --- a/doc/ja/includes/autogen_user_options.ja.adoc +++ b/doc/ja/includes/autogen_user_options.ja.adoc @@ -17,7 +17,7 @@ ** デフォルト値: `+sha256+` * [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* -** 説明: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "pass show weechat/passphrase"] +** 説明: pass:none[read the passphrase from the output of this system command (only the first line is used and it must not contain any extra character); this option is used only when reading file sec.conf and if the environment variable "WEECHAT_PASSPHRASE" is not set (the environment variable has higher priority); example with password-store: "/usr/bin/pass show weechat/passphrase"] ** タイプ: 文字列 ** 値: 未制約文字列 ** デフォルト値: `+""+` diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index 1c5cabcc9..05b1b1a03 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -2359,7 +2359,7 @@ the passphrase instead of having to type it manually on WeeChat startup. + For example with password-store (command `pass`): ---- -/set sec.crypt.passphrase_command "pass show weechat/passphrase" +/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" ---- The program may ask you unlock your GPG key or enter another passphrase to diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc index 5a8376df1..54e76cdc5 100644 --- a/doc/pl/includes/autogen_user_commands.pl.adoc +++ b/doc/pl/includes/autogen_user_commands.pl.adoc @@ -1884,7 +1884,7 @@ Przykłady: ustawienie hasła: /secure passphrase to jest moje hasło użyj programu "pass" do odczytania hasła przy uruchomieniu: - /set sec.crypt.passphrase_command "pass show weechat/passphrase" + /set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" zaszyfrowanie hasła dla freenode SASL: /secure set freenode mojehasło /set irc.server.freenode.sasl_password "${sec.data.freenode}" diff --git a/doc/pl/includes/autogen_user_options.pl.adoc b/doc/pl/includes/autogen_user_options.pl.adoc index 14c475b51..401277e96 100644 --- a/doc/pl/includes/autogen_user_options.pl.adoc +++ b/doc/pl/includes/autogen_user_options.pl.adoc @@ -17,7 +17,7 @@ ** domyślna wartość: `+sha256+` * [[option_sec.crypt.passphrase_command]] *sec.crypt.passphrase_command* -** opis: pass:none[czyta hasło z wyjścia komendy systemowej (tylko pierwsza linia jest używana i nie może zawierać żadnych dodatkowych znaków); ta opcja jest używana tylko podczas odczytu pliku sec.conf i jeśli zmienna środowiskowa "WEECHAT_PASSPHRASE" nie jest ustawiona (zmienna środowiskowa ma wyższy priorytet); przykład z magazynem haseł: "pass show weechat/passphrase"] +** opis: pass:none[czyta hasło z wyjścia komendy systemowej (tylko pierwsza linia jest używana i nie może zawierać żadnych dodatkowych znaków); ta opcja jest używana tylko podczas odczytu pliku sec.conf i jeśli zmienna środowiskowa "WEECHAT_PASSPHRASE" nie jest ustawiona (zmienna środowiskowa ma wyższy priorytet); przykład z magazynem haseł: "/usr/bin/pass show weechat/passphrase"] ** typ: ciąg ** wartości: dowolny ciąg ** domyślna wartość: `+""+` diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index 641cb2e3d..353a7fc50 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -2314,7 +2314,7 @@ odczytania hasła bez konieczności wprowadzania go ręcznie przy utuchomieniu W Na przykład dla password-store (komenda `pass`): ---- -/set sec.crypt.passphrase_command "pass show weechat/passphrase" +/set sec.crypt.passphrase_command "/usr/bin/pass show weechat/passphrase" ---- Program może poprosić o odblokowanie klucza GPG lub wprowadzenie innego hasła, diff --git a/po/cs.po b/po/cs.po index 256b8f40b..54def9b97 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-02-06 15:55+0100\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -2456,7 +2456,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -4421,7 +4422,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/po/de.po b/po/de.po index d399b03c8..0c81f60b6 100644 --- a/po/de.po +++ b/po/de.po @@ -24,8 +24,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" -"PO-Revision-Date: 2021-02-26 13:50+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" +"PO-Revision-Date: 2021-03-14 13:36+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de\n" @@ -2956,7 +2956,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -3006,7 +3007,8 @@ msgstr "" " festlegen eine Passphrase:\n" " /secure passphrase Dies ist meine Passphrase\n" " nutze Programm \"pass\" um die Passphrase beim Start auszulesen:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " verschlüsselt freenode SASL Passwort:\n" " /secure set freenode meinPasswort\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -5359,14 +5361,15 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" "Auslesen der Passphrase aus der Ausgabe des angegebenen Befehls (nur die " "erste Zeile wird verwendet und darf kein zusätzliches Zeichen enthalten); " "Diese Option wird nur verwendet, wenn die Datei sec.conf gelesen wird und " "wenn die Umgebungsvariable \"WEECHAT_PASSPHRASE\" nicht festgelegt ist (die " "Umgebungsvariable hat eine höhere Priorität); Beispiel mit Passwortspeicher: " -"\"pass show weechat / passphrase\"" +"\"/usr/bin/pass show weechat / passphrase\"" msgid "" "use salt when generating key used in encryption (recommended for maximum " diff --git a/po/es.po b/po/es.po index 25dc84ee1..dd1c10f37 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-02-06 15:55+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -2565,7 +2565,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -4609,7 +4610,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/po/fr.po b/po/fr.po index c26e5f03e..d897add41 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" -"PO-Revision-Date: 2021-02-25 18:41+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" +"PO-Revision-Date: 2021-03-14 13:35+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -2885,7 +2885,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -2933,7 +2934,8 @@ msgstr "" " /secure passphrase ceci est ma phrase de chiffrement\n" " utiliser le programme \"pass\" pour lire la phrase de chiffrement au " "démarrage :\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " chiffrer le mot de passe freenode SASL :\n" " /secure set freenode motdepasse\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -5231,14 +5233,15 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" "lire la phrase de chiffrement depuis la sortie de cette commande système " "(seule la première ligne est utilisée et elle ne doit contenir aucun autre " "caractère) ; cette option est utilisée seulement pour lire le fichier sec." "conf et si la variable d'environnement \"WEECHAT_PASSPHRASE\" n'est pas " "définie (la variable d'environnement a une priorité plus haute) ; exemple " -"avec password-store : \"pass show weechat/passphrase\"" +"avec password-store : \"/usr/bin/pass show weechat/passphrase\"" msgid "" "use salt when generating key used in encryption (recommended for maximum " diff --git a/po/hu.po b/po/hu.po index cb068991a..0b4ffb350 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-02-06 15:55+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -2189,7 +2189,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -3972,7 +3973,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/po/it.po b/po/it.po index b1b0fa481..26cd97a03 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-02-06 15:55+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -2611,7 +2611,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -4739,7 +4740,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/po/ja.po b/po/ja.po index b24c70444..d9bf2af7b 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-02-06 15:55+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish \n" "Language: pl\n" @@ -2859,7 +2859,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -2905,7 +2906,8 @@ msgstr "" " ustawienie hasła:\n" " /secure passphrase to jest moje hasło\n" " użyj programu \"pass\" do odczytania hasła przy uruchomieniu:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " zaszyfrowanie hasła dla freenode SASL:\n" " /secure set freenode mojehasło\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -5111,13 +5113,15 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" "czyta hasło z wyjścia komendy systemowej (tylko pierwsza linia jest używana " "i nie może zawierać żadnych dodatkowych znaków); ta opcja jest używana tylko " "podczas odczytu pliku sec.conf i jeśli zmienna środowiskowa " "\"WEECHAT_PASSPHRASE\" nie jest ustawiona (zmienna środowiskowa ma wyższy " -"priorytet); przykład z magazynem haseł: \"pass show weechat/passphrase\"" +"priorytet); przykład z magazynem haseł: \"/usr/bin/pass show weechat/" +"passphrase\"" msgid "" "use salt when generating key used in encryption (recommended for maximum " diff --git a/po/pt.po b/po/pt.po index 5284e7f0c..df00a2844 100644 --- a/po/pt.po +++ b/po/pt.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-02-06 15:55+0100\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -2766,7 +2766,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -5004,7 +5005,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/po/pt_BR.po b/po/pt_BR.po index c0fe66db9..ef0950764 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-03-05 20:43+0100\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" @@ -211,10 +211,10 @@ msgstr "" " -c, --colors exibe as cores padrões no terminal\n" " -d, --dir configura diretório do WeeChat (padrão: ~/." "weechat)\n" -" (a variável de ambiente WEECHAT_HOME é lida se" -"essa opção não for dada)\n" -" -t, --temp-dir cria um diretório temporário para o WeeChat e o" -"deleta na saída\n" +" (a variável de ambiente WEECHAT_HOME é lida " +"seessa opção não for dada)\n" +" -t, --temp-dir cria um diretório temporário para o WeeChat e " +"odeleta na saída\n" " -h, --help mostra esta ajuda\n" " -l, --license mostra a licença do WeeChat\n" " -p, --no-plugin não carrega nenhum plugin durante a " @@ -222,7 +222,8 @@ msgstr "" " -P, --plugins carregue apenas esses plugins na inicialização\n" " (veja /help weechat.plugin.autoload)\n" " -r, --run-command executa comandos após a inicialização;\n" -" vários comandos podem ser separados por ponto-e-vírgula,\n" +" vários comandos podem ser separados por ponto-e-" +"vírgula,\n" " essa opção pode ser utilizada mais de uma vez\n" " -s, --no-script não carrega nenhum script durante a " "inicialização\n" @@ -2589,7 +2590,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -4596,7 +4598,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/po/ru.po b/po/ru.po index 7dc93f5a4..ceb70c5d5 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-02-06 15:55+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -2212,7 +2212,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -4004,7 +4005,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/po/tr.po b/po/tr.po index 6500877ac..13f56b824 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2021-02-06 15:55+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -2004,7 +2004,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -3614,7 +3615,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/po/weechat.pot b/po/weechat.pot index 33daa8eef..536379461 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2021-02-25 18:40+0100\n" +"POT-Creation-Date: 2021-03-14 13:34+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -2002,7 +2002,8 @@ msgid "" " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" -" /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" +" /set sec.crypt.passphrase_command \"/usr/bin/pass show weechat/passphrase" +"\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" @@ -3603,7 +3604,8 @@ msgid "" "line is used and it must not contain any extra character); this option is " "used only when reading file sec.conf and if the environment variable " "\"WEECHAT_PASSPHRASE\" is not set (the environment variable has higher " -"priority); example with password-store: \"pass show weechat/passphrase\"" +"priority); example with password-store: \"/usr/bin/pass show weechat/" +"passphrase\"" msgstr "" msgid "" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 65567719e..49a904d24 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -8226,7 +8226,8 @@ command_init () " set a passphrase:\n" " /secure passphrase this is my passphrase\n" " use program \"pass\" to read the passphrase on startup:\n" - " /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n" + " /set sec.crypt.passphrase_command " + "\"/usr/bin/pass show weechat/passphrase\"\n" " encrypt freenode SASL password:\n" " /secure set freenode mypassword\n" " /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n" diff --git a/src/core/wee-secure-config.c b/src/core/wee-secure-config.c index ec8ed6650..d60a19166 100644 --- a/src/core/wee-secure-config.c +++ b/src/core/wee-secure-config.c @@ -487,7 +487,8 @@ secure_config_init_options () "character); this option is used only when reading file sec.conf " "and if the environment variable \"WEECHAT_PASSPHRASE\" is not set " "(the environment variable has higher priority); " - "example with password-store: \"pass show weechat/passphrase\""), + "example with password-store: " + "\"/usr/bin/pass show weechat/passphrase\""), NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL,