Skip to content

Commit

Permalink
core: add option weechat.look.config_permissions (closes #2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed May 18, 2024
1 parent 839ffc4 commit 2423fdb
Show file tree
Hide file tree
Showing 18 changed files with 333 additions and 62 deletions.
1 change: 1 addition & 0 deletions ChangeLog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ For a list of important changes that require manual actions, please look at rele

New features::

* core: add option weechat.look.config_permissions (issue #2057)
* core: add bar item "lag"
* core: add buffer properties "input_prompt" and "modes"
* core: send signal "buffer_line_added" on buffers with free content
Expand Down
23 changes: 19 additions & 4 deletions po/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-05-14 22:20+0200\n"
"POT-Creation-Date: 2024-05-18 09:15+0200\n"
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -4407,6 +4407,16 @@ msgid ""
"for /help"
msgstr ""

msgid ""
"permissions for configuration files (*.conf), as octal value (see man "
"chmod); it must be a number with 3 digits, each digit can be 0 (no "
"permissions), 2 (write only), 4 (read only) or 6 (read and write); the first "
"digit must be 6 so that the user can read and write the file; by default "
"configuration files can be read and written by the user only, for security "
"reasons; for example 660 = \"rw-rw-r--\" = file readable and writable by the "
"user and members of the group"
msgstr ""

msgid ""
"if set, /quit command must be confirmed with extra argument \"-yes\" (see /"
"help quit)"
Expand Down Expand Up @@ -5448,6 +5458,11 @@ msgstr "(výchozí volby)"
msgid "%sCannot create file \"%s\""
msgstr "%sChyba: nemohu vytvořit soubor \"%s\""

#, fuzzy, c-format
#| msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgid "%sWARNING: failed to set permissions on configuration file \"%s\" (%s)"
msgstr "%sVAROVÁNÍ: selhalo čtení konfiguračního souboru \"%s\" (%s)"

#, c-format
msgid "%sError writing configuration file \"%s\""
msgstr "%sChyba při zápisu konfiguračního souboru \"%s\""
Expand Down Expand Up @@ -6255,6 +6270,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr "%s-VÍCE(%d)-"

msgid "Lag"
msgstr "Lag"

msgid "away"
msgstr "pryč"

Expand Down Expand Up @@ -8151,9 +8169,6 @@ msgstr "%s%s: skript \"%s\" nenačten"
msgid "server"
msgstr "server"

msgid "Lag"
msgstr "Lag"

#. TRANSLATORS: this is displayed in a bar item and must be as short as possible
msgid "cleartext"
msgstr ""
Expand Down
26 changes: 19 additions & 7 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-05-14 22:20+0200\n"
"POT-Creation-Date: 2024-05-18 09:15+0200\n"
"PO-Revision-Date: 2024-05-15 18:07+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
Expand Down Expand Up @@ -4958,6 +4958,16 @@ msgstr ""
"ist diese Einstellung aktiviert werden unvollständige und eindeutige Befehle "
"akzeptiert, zum Beispiel /he für /help"

msgid ""
"permissions for configuration files (*.conf), as octal value (see man "
"chmod); it must be a number with 3 digits, each digit can be 0 (no "
"permissions), 2 (write only), 4 (read only) or 6 (read and write); the first "
"digit must be 6 so that the user can read and write the file; by default "
"configuration files can be read and written by the user only, for security "
"reasons; for example 660 = \"rw-rw-r--\" = file readable and writable by the "
"user and members of the group"
msgstr ""

msgid ""
"if set, /quit command must be confirmed with extra argument \"-yes\" (see /"
"help quit)"
Expand Down Expand Up @@ -6223,6 +6233,11 @@ msgstr "(Standardeinstellungen)"
msgid "%sCannot create file \"%s\""
msgstr "%sDie Datei \"%s\" kann nicht erstellt werden"

#, fuzzy, c-format
#| msgid "%sWARNING: failed to read configuration file \"%s\" (%s)"
msgid "%sWARNING: failed to set permissions on configuration file \"%s\" (%s)"
msgstr "%sWARNUNG: Konfigurationsdatei \"%s\" konnte nicht geladen werden (%s)"

#, c-format
msgid "%sError writing configuration file \"%s\""
msgstr ""
Expand Down Expand Up @@ -7097,6 +7112,9 @@ msgstr "Tastatur- und Maus-Debug ('q' zum Verlassen des Debug-Modus)"
msgid "%s-MORE(%d)-"
msgstr "%s-MEHR(%d)-"

msgid "Lag"
msgstr "Lag"

msgid "away"
msgstr "abwesend"

Expand Down Expand Up @@ -9337,9 +9355,6 @@ msgstr "%s%s: Das Skript \"%s\" wurde nicht installiert"
msgid "server"
msgstr "Server"

msgid "Lag"
msgstr "Lag"

#. TRANSLATORS: this is displayed in a bar item and must be as short as possible
msgid "cleartext"
msgstr "Klartext"
Expand Down Expand Up @@ -15630,7 +15645,6 @@ msgstr ""
"url: URL des Remote-Relays im Format https://example.com:9000 oder http://"
"example.com:9000 (Klartext-Verbindung, nicht empfohlen)"

#| msgid "option: extra option, for some servers"
msgid "option: set option for remote relay"
msgstr "option: zusätzliche Einstellung, für ein Remote-Relay"

Expand Down Expand Up @@ -15717,7 +15731,6 @@ msgstr ""
"example.com:9000 oder http://example.com:9000 (Klartext-Verbindung, nicht "
"empfohlen)"

#| msgid "raw[connect]: connect to a remote relay server"
msgid "auto-connect to the remote relay"
msgstr "automatische Verbindung zu einem Remote-Relay herstellen"

Expand Down Expand Up @@ -18419,4 +18432,3 @@ msgstr ""

#~ msgid "color for channel modes, near channel name"
#~ msgstr "Farbe der Kanal-Modes (neben des Kanalnamens)"

22 changes: 18 additions & 4 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-05-14 22:20+0200\n"
"POT-Creation-Date: 2024-05-18 09:15+0200\n"
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -4534,6 +4534,16 @@ msgid ""
"for /help"
msgstr ""

msgid ""
"permissions for configuration files (*.conf), as octal value (see man "
"chmod); it must be a number with 3 digits, each digit can be 0 (no "
"permissions), 2 (write only), 4 (read only) or 6 (read and write); the first "
"digit must be 6 so that the user can read and write the file; by default "
"configuration files can be read and written by the user only, for security "
"reasons; for example 660 = \"rw-rw-r--\" = file readable and writable by the "
"user and members of the group"
msgstr ""

msgid ""
"if set, /quit command must be confirmed with extra argument \"-yes\" (see /"
"help quit)"
Expand Down Expand Up @@ -5631,6 +5641,10 @@ msgstr "(opciones por defecto)"
msgid "%sCannot create file \"%s\""
msgstr "%sError: no es posible crear el archivo \"%s\""

#, fuzzy, c-format
msgid "%sWARNING: failed to set permissions on configuration file \"%s\" (%s)"
msgstr "Guardando archivo de configuración %s %s"

#, c-format
msgid "%sError writing configuration file \"%s\""
msgstr "%sError al escribir el archivo de configuración \"%s\""
Expand Down Expand Up @@ -6434,6 +6448,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr "%s-MÁS(%d)-"

msgid "Lag"
msgstr "Retraso"

msgid "away"
msgstr "ausente"

Expand Down Expand Up @@ -8343,9 +8360,6 @@ msgstr "%s%s: el script \"%s\" no está cargado"
msgid "server"
msgstr "servidor"

msgid "Lag"
msgstr "Retraso"

#. TRANSLATORS: this is displayed in a bar item and must be as short as possible
msgid "cleartext"
msgstr ""
Expand Down
34 changes: 29 additions & 5 deletions po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-05-14 22:20+0200\n"
"PO-Revision-Date: 2024-05-14 22:23+0200\n"
"POT-Creation-Date: 2024-05-18 09:15+0200\n"
"PO-Revision-Date: 2024-05-18 09:16+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
Expand Down Expand Up @@ -4849,6 +4849,24 @@ msgstr ""
"si activé, les commandes incomplètes et non ambiguës sont autorisées, par "
"exemple /he pour /help"

msgid ""
"permissions for configuration files (*.conf), as octal value (see man "
"chmod); it must be a number with 3 digits, each digit can be 0 (no "
"permissions), 2 (write only), 4 (read only) or 6 (read and write); the first "
"digit must be 6 so that the user can read and write the file; by default "
"configuration files can be read and written by the user only, for security "
"reasons; for example 660 = \"rw-rw-r--\" = file readable and writable by the "
"user and members of the group"
msgstr ""
"permissions pour les fichiers de configuration (*.conf), sous forme de "
"valeur octale (voir man chmod) ; doit être un nombre avec 3 chiffres, chaque "
"chiffre peut être 0 (aucune permission), 2 (écriture seule), 4 (lecture "
"seule) ou 6 (lecture et écriture) ; le premier chiffre doit être 6 pour que "
"l'utilisateur puisse lire et écrire le fichier ; par défaut les fichiers de "
"configuration peuvent être lus et écrits par l'utilisateur seulement, pour "
"des raisons de sécurité ; par exemple 660 = \"rw-rw-r--\" = fichier en "
"lecture et écriture pour l'utilisateur et les membres du groupe"

msgid ""
"if set, /quit command must be confirmed with extra argument \"-yes\" (see /"
"help quit)"
Expand Down Expand Up @@ -6084,6 +6102,12 @@ msgstr "(options par défaut)"
msgid "%sCannot create file \"%s\""
msgstr "%sImpossible de créer le fichier \"%s\""

#, c-format
msgid "%sWARNING: failed to set permissions on configuration file \"%s\" (%s)"
msgstr ""
"%sATTENTION : échec de changement des permissions sur le fichier de "
"configuration \"%s\" (%s)"

#, c-format
msgid "%sError writing configuration file \"%s\""
msgstr "%sErreur d'écriture du fichier de configuration \"%s\""
Expand Down Expand Up @@ -6955,6 +6979,9 @@ msgstr "debug clavier et souris ('q' pour quitter le mode de debug)"
msgid "%s-MORE(%d)-"
msgstr "%s-PLUS(%d)-"

msgid "Lag"
msgstr "Lag"

msgid "away"
msgstr "absent"

Expand Down Expand Up @@ -9167,9 +9194,6 @@ msgstr "%s%s : script \"%s\" non chargé"
msgid "server"
msgstr "serveur"

msgid "Lag"
msgstr "Lag"

#. TRANSLATORS: this is displayed in a bar item and must be as short as possible
msgid "cleartext"
msgstr "en clair"
Expand Down
22 changes: 18 additions & 4 deletions po/hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-05-14 22:20+0200\n"
"POT-Creation-Date: 2024-05-18 09:15+0200\n"
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -4183,6 +4183,16 @@ msgid ""
"for /help"
msgstr ""

msgid ""
"permissions for configuration files (*.conf), as octal value (see man "
"chmod); it must be a number with 3 digits, each digit can be 0 (no "
"permissions), 2 (write only), 4 (read only) or 6 (read and write); the first "
"digit must be 6 so that the user can read and write the file; by default "
"configuration files can be read and written by the user only, for security "
"reasons; for example 660 = \"rw-rw-r--\" = file readable and writable by the "
"user and members of the group"
msgstr ""

msgid ""
"if set, /quit command must be confirmed with extra argument \"-yes\" (see /"
"help quit)"
Expand Down Expand Up @@ -5151,6 +5161,10 @@ msgstr ""
msgid "%sCannot create file \"%s\""
msgstr "%s nem sikerült a \"%s\" fájlt létrehozni\n"

#, fuzzy, c-format
msgid "%sWARNING: failed to set permissions on configuration file \"%s\" (%s)"
msgstr "beállítások mentése kilépéskor"

#, fuzzy, c-format
msgid "%sError writing configuration file \"%s\""
msgstr "szerver konfigurációs fájljának újraolvastatása"
Expand Down Expand Up @@ -5937,6 +5951,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr "-TOVÁBB-"

msgid "Lag"
msgstr ""

msgid "away"
msgstr ""

Expand Down Expand Up @@ -7807,9 +7824,6 @@ msgstr "%s a \"%s\" szerver nem található\n"
msgid "server"
msgstr "szerver"

msgid "Lag"
msgstr ""

#. TRANSLATORS: this is displayed in a bar item and must be as short as possible
msgid "cleartext"
msgstr ""
Expand Down
22 changes: 18 additions & 4 deletions po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-05-14 22:20+0200\n"
"POT-Creation-Date: 2024-05-18 09:15+0200\n"
"PO-Revision-Date: 2024-04-07 14:50+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
Expand Down Expand Up @@ -4443,6 +4443,16 @@ msgid ""
"for /help"
msgstr ""

msgid ""
"permissions for configuration files (*.conf), as octal value (see man "
"chmod); it must be a number with 3 digits, each digit can be 0 (no "
"permissions), 2 (write only), 4 (read only) or 6 (read and write); the first "
"digit must be 6 so that the user can read and write the file; by default "
"configuration files can be read and written by the user only, for security "
"reasons; for example 660 = \"rw-rw-r--\" = file readable and writable by the "
"user and members of the group"
msgstr ""

msgid ""
"if set, /quit command must be confirmed with extra argument \"-yes\" (see /"
"help quit)"
Expand Down Expand Up @@ -5561,6 +5571,10 @@ msgstr "(opzioni predefinite)"
msgid "%sCannot create file \"%s\""
msgstr "%sErrore: impossibile creare il file \"%s\""

#, fuzzy, c-format
msgid "%sWARNING: failed to set permissions on configuration file \"%s\" (%s)"
msgstr "Salvataggio del file di configurazione %s %s"

#, c-format
msgid "%sError writing configuration file \"%s\""
msgstr "%sErrore: impossibile scrivere sul file di configurazione \"%s\""
Expand Down Expand Up @@ -6388,6 +6402,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr "%s-ANCORA(%d)-"

msgid "Lag"
msgstr "Ritardo"

msgid "away"
msgstr "assente"

Expand Down Expand Up @@ -8338,9 +8355,6 @@ msgstr "%s%s: script \"%s\" non caricato"
msgid "server"
msgstr "server"

msgid "Lag"
msgstr "Ritardo"

#. TRANSLATORS: this is displayed in a bar item and must be as short as possible
msgid "cleartext"
msgstr ""
Expand Down

0 comments on commit 2423fdb

Please sign in to comment.