diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-15 21:43:32 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-15 21:44:14 +0100 |
commit | 41fb29bbd0aac35e7365ea28e7987465c93ee9bb (patch) | |
tree | b99365ad138bd31fe7d98d0beaf56a6a65d6a7e1 | |
parent | ea86f75319ad470112697f2a06928e7b1dbf4914 (diff) | |
download | weechat-41fb29bbd0aac35e7365ea28e7987465c93ee9bb.zip |
core: convert option weechat.look.hotlist_sort to a list of fields (closes #2097)
-rw-r--r-- | ChangeLog.adoc | 1 | ||||
-rw-r--r-- | po/cs.po | 24 | ||||
-rw-r--r-- | po/de.po | 82 | ||||
-rw-r--r-- | po/es.po | 24 | ||||
-rw-r--r-- | po/fr.po | 51 | ||||
-rw-r--r-- | po/hu.po | 24 | ||||
-rw-r--r-- | po/it.po | 24 | ||||
-rw-r--r-- | po/ja.po | 50 | ||||
-rw-r--r-- | po/pl.po | 55 | ||||
-rw-r--r-- | po/pt.po | 40 | ||||
-rw-r--r-- | po/pt_BR.po | 26 | ||||
-rw-r--r-- | po/ru.po | 24 | ||||
-rw-r--r-- | po/sr.po | 54 | ||||
-rw-r--r-- | po/tr.po | 51 | ||||
-rw-r--r-- | po/weechat.pot | 24 | ||||
-rw-r--r-- | src/core/core-config.c | 98 | ||||
-rw-r--r-- | src/core/core-config.h | 4 | ||||
-rw-r--r-- | src/gui/gui-hotlist.c | 124 |
18 files changed, 531 insertions, 249 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index dec91f702..2b4de3fbd 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -15,6 +15,7 @@ For a list of important changes that require manual actions, please look at rele New features:: + * core: convert option weechat.look.hotlist_sort to a list of fields (issue #2097) * core: rename variables with creation time in hdata "hotlist": "creation_time.tv_sec" to "time" and "creation_time.tv_usec" to "time_usec" * core: add unique identifier "id" in buffer (issue #2081) * core: add option `malloc_trim` in command `/sys` @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-06 20:32+0100\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4123,6 +4123,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "příkaz pro klávesu: \"%s\"" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "úroveň ladění pro plugin (\"core\" pro jádro WeeChat)" @@ -4561,10 +4565,12 @@ msgstr "" "hotlistu (začíná po první '.' ve jméně)" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" #, fuzzy @@ -12766,10 +12772,6 @@ msgstr "ukazatel logeru (volitelné)" msgid "Support of lua scripts" msgstr "podpora skriptů v lua" -#, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: nemohu přesměrovat stdout a stderr" - #, fuzzy, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: nemůžu načíst soubor \"%s\"" @@ -13511,6 +13513,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: nemohu přesměrovat stderr" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: nemohu přesměrovat stdout a stderr" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: nemohu spustit globální interpreter" @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-07 11:51+0100\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German <kde-i18n-de@kde.org>\n" @@ -1027,7 +1027,6 @@ msgid "Option created: " msgstr "Einstellung erstellt: " #, c-format -#| msgid "%s: warning: dictionary \"%s\" is not available on your system" msgid "%sFunction \"%s\" is not available on this system" msgstr "%sFunktion \"%s\" ist auf dem Rechner nicht verfügbar" @@ -3844,7 +3843,6 @@ msgstr "" msgid "system actions" msgstr "Systemaktionen" -#| msgid "get rlimit|rusage || suspend || waitpid <number>" msgid "" "get rlimit|rusage || malloc_trim [<size>] || suspend || waitpid <number>" msgstr "" @@ -3867,17 +3865,17 @@ msgid "" "raw[malloc_trim]: call function malloc_trim to release free memory from the " "heap" msgstr "" -"raw[malloc_trim]: ruft die Funktion malloc_trim auf, um freien Speicher vom" -" Heap freizugeben" +"raw[malloc_trim]: ruft die Funktion malloc_trim auf, um freien Speicher vom " +"Heap freizugeben" msgid "" "size: amount of free space to leave untrimmed at the top of the heap " "(default is 0: only the minimum amount of memory is maintained at the top of " "the heap)" msgstr "" -"size: Menge an freiem Speicherplatz, der oben auf dem Heap ungekürzt bleiben" -" soll (Standard ist 0: Nur die minimale Speichermenge wird oberhalb des Heap" -" beibehalten)" +"size: Menge an freiem Speicherplatz, der oben auf dem Heap ungekürzt bleiben " +"soll (Standard ist 0: Nur die minimale Speichermenge wird oberhalb des Heap " +"beibehalten)" msgid "" "raw[suspend]: suspend WeeChat and go back to the shell, by sending signal " @@ -4593,6 +4591,11 @@ msgstr "Veraltete Taste konvertiert: \"%s\" => \"%s\"" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Befehl für Taste konvertiert: \"%s\": \"%s\" => \"%s\"" +#, fuzzy, c-format +#| msgid "Legacy key converted: \"%s\" => \"%s\"" +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "Veraltete Taste konvertiert: \"%s\" => \"%s\"" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "Debug-Level für Erweiterung (\"core\" für den WeeChat Core)" @@ -5146,16 +5149,27 @@ msgstr "" "Buffer in der Hotlist dargestellt (die Darstellung geschieht nach dem ersten " "\".\" im Namen)" -msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +#, fuzzy +#| msgid "" +#| "comma-separated list of fields to sort options (see /help fset for a list " +#| "of fields); char \"-\" can be used before field to reverse order, char " +#| "\"~\" can be used to do a case insensitive comparison; example: \"-" +#| "~name\" for case insensitive and reverse sort on option name" +msgid "" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" -"Sortierung der Hotlist: group_time_*: nach Benachrichtigungstufe (Highlights " -"zuerst) und dann nach Uhrzeit, group_number_*: nach Benachrichtigungstufe " -"(Highlights zuerst) und dann nach Buffer-Nummer, number_*: sortiert nach " -"Buffer-Nummer; asc = aufsteigende Sortierung, desc = absteigende Sortierung" +"durch Kommata getrennte Liste von Feldern um die Optionen zu sortieren " +"(siehe /help fset um eine Auflistung der Felder zu erhalten); wird das \"-\" " +"Zeichen vor einem Feld angewendet, wird die Ausgabe umgekehrt, um bei einem " +"Vergleich nicht zwischen Groß- und Kleinschreibung zu unterscheiden wird das " +"Zeichen \"~\" verwendet; Beispiel: \"-~name\" sortiert die Optionsnamen in " +"umgekehrter Reihenfolge und es wird dabei nicht zwischen Groß-und " +"Kleinschreibung unterschieden" msgid "text displayed at the end of the hotlist" msgstr "Text der am Ende der Hotlist angezeigt werden soll" @@ -9732,9 +9746,6 @@ msgstr "" "Server verbunden sind" #. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated -#| msgid "" -#| "[-current] [-parted] [-exclude=<channel>[,<channel>...]] <command> || [-" -#| "current] [-parted] -include=<channel>[,<channel>...] <command>" msgid "" "[-current] [-parted|-all] [-exclude=<channel>[,<channel>...]] <command> || [-" "current] [-parted|-all] -include=<channel>[,<channel>...] <command>" @@ -9747,15 +9758,13 @@ msgstr "" "raw[-current]: führt einen Befehl aus, der für alle Kanäle, des aktuellen " "Servers, Anwendung findet" -#| msgid "raw[-parted]: execute on parted channels only" msgid "" "raw[-parted]: execute command on parted channels (by default: execute " "command on active channels only)" msgstr "" -"raw[-parted]: Befehl wird für alle getrennten Kanäle ausgeführt" -" (standardmäßig: Ausführung von Befehlen bei aktiven Kanälen)" +"raw[-parted]: Befehl wird für alle getrennten Kanäle ausgeführt " +"(standardmäßig: Ausführung von Befehlen bei aktiven Kanälen)" -#| msgid "raw[-parted]: execute on parted channels only" msgid "raw[-all]: execute command on all channels (active and parted)" msgstr "raw[-all]: Befehl wird für alle Kanäle ausgeführt (aktiv und getrennt)" @@ -14152,10 +14161,6 @@ msgid "Support of lua scripts" msgstr "Unterstützung von Lua-Skripten" #, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: Weiterleitung von stdout und stderr nicht möglich" - -#, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: Quelltext kann nicht geladen werden" @@ -14923,6 +14928,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: Standardfehlerausgabe (stderr) kann nicht weitergeleitet werden" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: Weiterleitung von stdout und stderr nicht möglich" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: globaler Interpreter kann nicht gestartet werden" @@ -16951,8 +16960,7 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat" msgid "" "list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "<name> <hook> " -"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<" -"return_code>\" [\"<post_action>\"]]]]]] " +"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|" "<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || " @@ -16961,8 +16969,7 @@ msgid "" msgstr "" "list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace " "<name> <hook> " -"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<" -"return_code>\" [\"<post_action>\"]]]]]] " +"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] " "|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> " "<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|" "<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || " @@ -17961,3 +17968,14 @@ msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "" "%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)" +#~ msgid "" +#~ "sort of hotlist: group_time_*: group by notify level (highlights first) " +#~ "then sort by time, group_number_*: group by notify level (highlights " +#~ "first) then sort by number, number_*: sort by number; asc = ascending " +#~ "sort, desc = descending sort" +#~ msgstr "" +#~ "Sortierung der Hotlist: group_time_*: nach Benachrichtigungstufe " +#~ "(Highlights zuerst) und dann nach Uhrzeit, group_number_*: nach " +#~ "Benachrichtigungstufe (Highlights zuerst) und dann nach Buffer-Nummer, " +#~ "number_*: sortiert nach Buffer-Nummer; asc = aufsteigende Sortierung, " +#~ "desc = absteigende Sortierung" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-06 20:32+0100\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4226,6 +4226,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Comando para el atajo: \"%s\"" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "nivel de depurado para el plugin (\"core\" para el núcleo de WeeChat)" @@ -4689,10 +4693,12 @@ msgstr "" "en la lista de actividad (empieza después del primer '.' en el nombre)" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" #, fuzzy @@ -13068,10 +13074,6 @@ msgstr "puntero del registro (opcional)" msgid "Support of lua scripts" msgstr "Soporte para scripts en lua" -#, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: no es posible redirigir stdout y stderr" - #, fuzzy, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: no es posible cargar el archivo \"%s\"" @@ -13827,6 +13829,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: no es posible redirigir la salida stderr" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: no es posible redirigir stdout y stderr" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: no es posible iniciar el intérprete global" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" -"PO-Revision-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" +"PO-Revision-Date: 2024-03-15 19:18+0100\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -4495,6 +4495,10 @@ msgstr "Ancienne touche convertie : \"%s\" => \"%s\"" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Commande convertie pour la touche \"%s\" : \"%s\" => \"%s\"" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "Valeur de l'option \"%s.%s.%s\" convertie : \"%s\" => \"%s\"" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "niveau de debug pour l'extension (\"core\" pour le cœur de WeeChat)" @@ -5029,16 +5033,21 @@ msgstr "" "hotlist (commence après le premier \".\" dans le nom)" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" -"type de tri pour la liste d'activité : group_time_* : grouper par niveau de " -"notification (les highlights en premier) puis tri par date, group_number_* : " -"grouper par niveau de notification (les highlights en premier) puis tri par " -"numéro, number_* : tri par numéro ; asc = tri ascendant, desc = tri " -"descendant" +"liste de champs séparés par des virgules pour trier la hotlist ; chaque " +"champ est une variable hdata de la hotlist (\"var\") ou une variable hdata " +"du tampon (\"buffer.var\") ; le caractère \"-\" peut être utilisé pour " +"inverser l'ordre, le caractère \"~\" peut être utilisé pour effectuer une " +"comparaison insensible à la casse ; exemples : \"-priority,buffer.number\" " +"pour un tri sur la priorité de la hotlist puis par numéro de tampon, \"-" +"~buffer.full_name\" pour un tri insensible à la casse et inversé sur le nom " +"complet du tampon" msgid "text displayed at the end of the hotlist" msgstr "chaîne affichée à la fin de la hotlist" @@ -13856,10 +13865,6 @@ msgid "Support of lua scripts" msgstr "Support des scripts lua" #, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s : impossible de rediriger stdout et stderr" - -#, c-format msgid "%s%s: unable to load source code" msgstr "%s%s : impossible de charger le code source" @@ -14614,6 +14619,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s : impossible de rediriger stderr" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s : impossible de rediriger stdout et stderr" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s : impossible de lancer l'interpréteur global" @@ -17609,3 +17618,15 @@ msgstr "%s%s : délai d'attente dépassé pour \"%s\" avec %s" #, c-format msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s : impossible de se connecter : erreur inattendue (%d)" + +#~ msgid "" +#~ "sort of hotlist: group_time_*: group by notify level (highlights first) " +#~ "then sort by time, group_number_*: group by notify level (highlights " +#~ "first) then sort by number, number_*: sort by number; asc = ascending " +#~ "sort, desc = descending sort" +#~ msgstr "" +#~ "type de tri pour la liste d'activité : group_time_* : grouper par niveau " +#~ "de notification (les highlights en premier) puis tri par date, " +#~ "group_number_* : grouper par niveau de notification (les highlights en " +#~ "premier) puis tri par numéro, number_* : tri par numéro ; asc = tri " +#~ "ascendant, desc = tri descendant" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2023-11-29 09:59+0100\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -3932,6 +3932,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "" @@ -4301,10 +4305,12 @@ msgid "" msgstr "" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" #, fuzzy @@ -12226,10 +12232,6 @@ msgid "Support of lua scripts" msgstr "Aliaszok listája:\n" #, fuzzy, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s nem sikerült a szervert létrehozni\n" - -#, fuzzy, c-format msgid "%s%s: unable to load source code" msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n" @@ -12982,6 +12984,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s nem sikerült a szervert létrehozni\n" #, fuzzy, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s nem sikerült a szervert létrehozni\n" + +#, fuzzy, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s nem sikerült a szervert létrehozni\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-06 20:32+0100\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4132,6 +4132,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Comando per il tasto \"%s\"" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "livello di debug per il plugin (\"core\" per il core di WeeChat)" @@ -4599,10 +4603,12 @@ msgstr "" "hotlist (inizia dopo il primo '.' nel nome)" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" msgid "text displayed at the end of the hotlist" @@ -13079,10 +13085,6 @@ msgstr "puntatore al logger (opzionale)" msgid "Support of lua scripts" msgstr "Supporto agli script lua" -#, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: impossibile reindirizzare verso stdout e stderr" - #, fuzzy, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: impossibile caricare il file \"%s\"" @@ -13841,6 +13843,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: impossibile reindirizzare stderr" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: impossibile reindirizzare verso stdout e stderr" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: impossibile avviare l'interprete globale" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-06 20:32+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -4256,6 +4256,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "キーに対するコマンド: \"%s\"" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "プラグイン (\"core\" は WeeChat コア) のデバッグレベル" @@ -4764,16 +4768,25 @@ msgstr "" "セットされた場合、ホットリストではバッファ名に短い名前を使う (名前に含まれる" "最初の \".\" 以降)" +#, fuzzy +#| msgid "" +#| "comma-separated list of fields to sort options (see /help fset for a list " +#| "of fields); char \"-\" can be used before field to reverse order, char " +#| "\"~\" can be used to do a case insensitive comparison; example: \"-" +#| "~name\" for case insensitive and reverse sort on option name" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" -"ホットリストのソート: group_time_*: 通知レベルでグループ化した (ハイライトを" -"前にした) 後に時間でソート、group_number_*: 通知レベルでグループ化した (ハイ" -"ライトを前にした) 後に番号でソート、number_*: 番号でソート; asc = 昇順、desc " -"= 降順" +"ソートオプションのコンマ区切りリスト (フィールドのリストは /help fset を参照" +"してください); フィールドの先頭に \"-\" 文字を付けることでソート順を逆にする" +"ことも可能です。大文字小文字を区別せずに比較を行うには \"~\" 文字を使います; " +"例: \"-~name\" オプション名を基準に大文字小文字を区別せずにソートして、順番を" +"逆にします" msgid "text displayed at the end of the hotlist" msgstr "ホットリストの最後に表示されるテキスト" @@ -13498,10 +13511,6 @@ msgid "Support of lua scripts" msgstr "lua スクリプトサポート" #, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: 標準出力と標準エラーをリダイレクトできません" - -#, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: ソースコードをロードできません" @@ -14242,6 +14251,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: 標準エラーのリダイレクトに失敗" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: 標準出力と標準エラーをリダイレクトできません" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: グローバルインタプリタの起動に失敗" @@ -17141,3 +17154,14 @@ msgstr "%s%s: \"%s\" のタイムアウト %s" #, c-format msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: 接続できません: 未定義のエラー (%d)" + +#~ msgid "" +#~ "sort of hotlist: group_time_*: group by notify level (highlights first) " +#~ "then sort by time, group_number_*: group by notify level (highlights " +#~ "first) then sort by number, number_*: sort by number; asc = ascending " +#~ "sort, desc = descending sort" +#~ msgstr "" +#~ "ホットリストのソート: group_time_*: 通知レベルでグループ化した (ハイライト" +#~ "を前にした) 後に時間でソート、group_number_*: 通知レベルでグループ化した " +#~ "(ハイライトを前にした) 後に番号でソート、number_*: 番号でソート; asc = 昇" +#~ "順、desc = 降順" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-06 20:32+0100\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4352,6 +4352,11 @@ msgstr "Zmieniono stary skrót: „%s” => „%s”" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Komenda skonwertowana dla klawiszy \"%s\": \"%s\" => \"%s\"" +#, fuzzy, c-format +#| msgid "Legacy key converted: \"%s\" => \"%s\"" +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "Zmieniono stary skrót: „%s” => „%s”" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "poziom debugowania dla wtyczki (\"core\" dla rdzenia WeeChat)" @@ -4868,17 +4873,25 @@ msgstr "" "jeśli ustawione, używa krótkich nazw do wyświetlania nazw buforów w " "hotliście (zaczyna po pierwszym wystąpieniu '.' w nazwie)" -msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +#, fuzzy +#| msgid "" +#| "comma-separated list of fields to sort options (see /help fset for a list " +#| "of fields); char \"-\" can be used before field to reverse order, char " +#| "\"~\" can be used to do a case insensitive comparison; example: \"-" +#| "~name\" for case insensitive and reverse sort on option name" +msgid "" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" -"sortowanie hotlisty: group_time_*: grupuj po poziomie powiadomień " -"(powiadomienia pierwsze) następnie sortuj po czasie, group_number_*: grupuj " -"po poziomie powiadomień (powiadomienia pierwsze) następnie sortuj po " -"numerze, number_*: sortuj po numerze; asc = sortowanie rosnące, desc = " -"sortowanie malejące" +"oddzielona przecinkami lista pól do sortowania opcji (listę pól można " +"znaleźć w wyniku polecenia /help fset); znak \"-\" użyty przed nazwą pola " +"odwraca kolejność , znak \"~\" może zostać użyty do porównania bez " +"uwzględniania wielkości znaków; na przykład: \"-~name\" dla odwrócenia " +"wyniku sortowania z porównaniem nazwy bez uwzględnienia wielkości znaków" msgid "text displayed at the end of the hotlist" msgstr "ciąg znaków wyświetlany na końcu hotlisty" @@ -13460,10 +13473,6 @@ msgid "Support of lua scripts" msgstr "Wsparcie dla skryptów lua" #, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: nie można przekierować standardowego wyjścia i wyjścia błędu" - -#, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: nie można wczytać kodu źródłowego" @@ -14202,6 +14211,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: nie można przekierować wyjścia błędu" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: nie można przekierować standardowego wyjścia i wyjścia błędu" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: nie można uruchomić globalnego interpretera" @@ -17143,3 +17156,15 @@ msgstr "%s%s: przekroczono czas na \"%s\" z %s" #, c-format msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: nie można połączyć: niespodziewany błąd (%d)" + +#~ msgid "" +#~ "sort of hotlist: group_time_*: group by notify level (highlights first) " +#~ "then sort by time, group_number_*: group by notify level (highlights " +#~ "first) then sort by number, number_*: sort by number; asc = ascending " +#~ "sort, desc = descending sort" +#~ msgstr "" +#~ "sortowanie hotlisty: group_time_*: grupuj po poziomie powiadomień " +#~ "(powiadomienia pierwsze) następnie sortuj po czasie, group_number_*: " +#~ "grupuj po poziomie powiadomień (powiadomienia pierwsze) następnie sortuj " +#~ "po numerze, number_*: sortuj po numerze; asc = sortowanie rosnące, desc = " +#~ "sortowanie malejące" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-06 20:32+0100\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Language-Team: Portuguese <>\n" @@ -4266,6 +4266,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Comando para a tecla: \"%s\"" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "nível de depuração do plugin (\"core\" para o core WeeChat)" @@ -4788,15 +4792,13 @@ msgstr "" "hotlist (começar depois do primeiro \".\" no nome)" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" -"ordenar a hotlist: group_time_*: agrupar por nível de notificação (realces " -"primeiro) e ordenar por data/hora, group_number_*: agrupar por nível de " -"notificação (realces primeiro) e ordenar pelo número, numer_*: ordenar pelo " -"número; asc = ordenação ascendente; desc = ordenação descendente" msgid "text displayed at the end of the hotlist" msgstr "texto apresentado no fim da hotlist" @@ -13446,10 +13448,6 @@ msgstr "ponteiro para logger (opcional)" msgid "Support of lua scripts" msgstr "Suporte de scripts lua" -#, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: não foi possível redirecionar stdout nem stderr" - #, fuzzy, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: não foi possível carregar o ficheiro \"%s\"" @@ -14181,6 +14179,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: não foi possível redirecionar o erro padrão (stderr)" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: não foi possível redirecionar stdout nem stderr" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: não foi possível iniciar o interpretador global" @@ -17095,3 +17097,15 @@ msgstr "%s%s: tempo limite de \"%s\" com %s" #, c-format msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: não foi possível conectar: erro inesperado (%d)" + +#~ msgid "" +#~ "sort of hotlist: group_time_*: group by notify level (highlights first) " +#~ "then sort by time, group_number_*: group by notify level (highlights " +#~ "first) then sort by number, number_*: sort by number; asc = ascending " +#~ "sort, desc = descending sort" +#~ msgstr "" +#~ "ordenar a hotlist: group_time_*: agrupar por nível de notificação " +#~ "(realces primeiro) e ordenar por data/hora, group_number_*: agrupar por " +#~ "nível de notificação (realces primeiro) e ordenar pelo número, numer_*: " +#~ "ordenar pelo número; asc = ordenação ascendente; desc = ordenação " +#~ "descendente" diff --git a/po/pt_BR.po b/po/pt_BR.po index 3c4e9a638..9936a7be0 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: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-02-17 10:07+0100\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4165,6 +4165,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Comando para tecla: \"%s\"" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "" "nível de debug para o plugin (\"core\" para o componente principal do " @@ -4605,10 +4609,12 @@ msgstr "" "atividade atual (começa depois do primeiro '.' no nome" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" msgid "text displayed at the end of the hotlist" @@ -12618,11 +12624,6 @@ msgstr "ponteiro de registro (opcional)" msgid "Support of lua scripts" msgstr "list de scripts" -#, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "" -"%s%s: não foi possível redirecionar saídas padrão (stdout) e de erro (stderr)" - #, fuzzy, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: não foi possível carregar arquivo \"%s\"" @@ -13373,6 +13374,11 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: não foi possível redirecionar saída de erro (stderr)" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "" +"%s%s: não foi possível redirecionar saídas padrão (stdout) e de erro (stderr)" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: não foi possível executar interpretador global" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2023-11-29 09:59+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -3957,6 +3957,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "" @@ -4333,10 +4337,12 @@ msgid "" msgstr "" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" #, fuzzy @@ -12278,10 +12284,6 @@ msgid "Support of lua scripts" msgstr "Список сокращений:\n" #, fuzzy, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s не могу создать сервер\n" - -#, fuzzy, c-format msgid "%s%s: unable to load source code" msgstr "Не могу записать лог-файл \"%s\"\n" @@ -13033,6 +13035,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s не могу создать сервер\n" #, fuzzy, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s не могу создать сервер\n" + +#, fuzzy, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s не могу создать сервер\n" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-06 20:32+0100\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4365,6 +4365,11 @@ msgstr "Конвертовани тастер старе верзије: „%s msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Команда конвертована за тастер: „%s”: „%s” => „%s”" +#, fuzzy, c-format +#| msgid "Legacy key converted: \"%s\" => \"%s\"" +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "Конвертовани тастер старе верзије: „%s” => „%s”" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "дибаг ниво за додатак („core” за WeeChat језгро)" @@ -4877,16 +4882,25 @@ msgstr "" "ако је постављено, користи кратка имена за приказ имена бафера у врућој " "листи (почињу након првог „.” у имену)" -msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +#, fuzzy +#| msgid "" +#| "comma-separated list of fields to sort options (see /help fset for a list " +#| "of fields); char \"-\" can be used before field to reverse order, char " +#| "\"~\" can be used to do a case insensitive comparison; example: \"-" +#| "~name\" for case insensitive and reverse sort on option name" +msgid "" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" -"сортирање вруће листе: group_time_*: груписање по нивоу обавештавања (прво " -"истицања) па онда сортирање по времену, group_number_*: груписање по нивоу " -"обавештавања (прво истицања) па онда сортирање по броју, number_*: сортирање " -"по броју; asc = растући редослед, desc = опадајући редослед" +"листа поља за сортирање опција раздвојених запетама (погледајте /help fset " +"за листу поља); карактер „-” може да се користи испред поља чиме се обрће " +"редослед, карактер „~” може да се употреби за поређење које не прави разлику " +"у величини слова; пример: „-~name” за поређење које не прави разлику у " +"величини слова и обрнуто сортирање по имену опције" msgid "text displayed at the end of the hotlist" msgstr "текст који се приказује на крају вруће листе" @@ -13450,10 +13464,6 @@ msgid "Support of lua scripts" msgstr "Подршка за lua скрипте" #, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: није могуће преусмеравање stdout и stderr" - -#, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: није успело учитавање изворног кода" @@ -14194,6 +14204,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: није могуће преусмеравање stderr" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: није могуће преусмеравање stdout и stderr" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: није успело покретање глобалног интерпретера" @@ -17090,3 +17104,15 @@ msgstr "%s%s: тајмаут за „%s” са %s" #, c-format msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: повезивање није успело: неочекивана грешка (%d)" + +#~ msgid "" +#~ "sort of hotlist: group_time_*: group by notify level (highlights first) " +#~ "then sort by time, group_number_*: group by notify level (highlights " +#~ "first) then sort by number, number_*: sort by number; asc = ascending " +#~ "sort, desc = descending sort" +#~ msgstr "" +#~ "сортирање вруће листе: group_time_*: груписање по нивоу обавештавања " +#~ "(прво истицања) па онда сортирање по времену, group_number_*: груписање " +#~ "по нивоу обавештавања (прво истицања) па онда сортирање по броју, " +#~ "number_*: сортирање по броју; asc = растући редослед, desc = опадајући " +#~ "редослед" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2024-03-06 20:33+0100\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4284,6 +4284,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "Düğme komutu: \"%s\"" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "eklenti hata ayıklama düzeyi (WeeChat çekirdeği için \"core\")" @@ -4791,16 +4795,25 @@ msgstr "" "ayarlıysa sıcak listede arabellek adlarını görüntülemek için kısa adlar " "kullanır (addaki ilk \".\" sonrasında başlar)" +#, fuzzy +#| msgid "" +#| "comma-separated list of fields to sort options (see /help fset for a list " +#| "of fields); char \"-\" can be used before field to reverse order, char " +#| "\"~\" can be used to do a case insensitive comparison; example: \"-" +#| "~name\" for case insensitive and reverse sort on option name" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" -"sıcak listeyi sırala: group_time_*: bildirim düzeyine göre grupla (önce " -"vurgulamalar), sonra zamana göre sırala; group_number_*: bildirim düzeyine " -"göre grupla (önce vurgulamalar), sonra numaraya göre sırala; number_*: " -"numaraya göre sırala; asc = artan sıralama, desc = azalan sıralama" +"seçenekleri sıralamak için kullanılan alanların virgülle ayrılmış listesi " +"(alanların bir listesi için bkz. /help fset); sıralamayı tersine çevirmek " +"için \"-\" karakteri, BÜYÜK/küçük harf duyarsız bir kıyaslama yapmak için " +"\"~\" karakteri kullanılabilir; örnek: seçenek adında BÜYÜK/küçük harf " +"duyarsız ve ters sıralama yapmak için \"-~ad\" kullanın" msgid "text displayed at the end of the hotlist" msgstr "sıcak listenin sonunda görüntülenen metin" @@ -13645,10 +13658,6 @@ msgid "Support of lua scripts" msgstr "lua betikleri desteği" #, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "%s%s: stdout ve stderr yeniden yönlendirilemiyor" - -#, c-format msgid "%s%s: unable to load source code" msgstr "%s%s: Kaynak kod yüklenemiyor" @@ -14399,6 +14408,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "%s%s: stderr yeniden yönlendirilemiyor" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "%s%s: stdout ve stderr yeniden yönlendirilemiyor" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "%s%s: Global yorumlayıcı başlatılamıyor" @@ -17367,3 +17380,15 @@ msgstr "%s%s: \"%s\" için %s ile zaman aşımı" #, c-format msgid "%s%s: unable to connect: unexpected error (%d)" msgstr "%s%s: Bağlanılamıyor: Beklenmedik hata (%d)" + +#~ msgid "" +#~ "sort of hotlist: group_time_*: group by notify level (highlights first) " +#~ "then sort by time, group_number_*: group by notify level (highlights " +#~ "first) then sort by number, number_*: sort by number; asc = ascending " +#~ "sort, desc = descending sort" +#~ msgstr "" +#~ "sıcak listeyi sırala: group_time_*: bildirim düzeyine göre grupla (önce " +#~ "vurgulamalar), sonra zamana göre sırala; group_number_*: bildirim " +#~ "düzeyine göre grupla (önce vurgulamalar), sonra numaraya göre sırala; " +#~ "number_*: numaraya göre sırala; asc = artan sıralama, desc = azalan " +#~ "sıralama" diff --git a/po/weechat.pot b/po/weechat.pot index 47d10fd08..e09102ed5 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: 2024-03-06 22:50+0100\n" +"POT-Creation-Date: 2024-03-15 19:13+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -3686,6 +3686,10 @@ msgstr "" msgid "Command converted for key \"%s\": \"%s\" => \"%s\"" msgstr "" +#, c-format +msgid "Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\"" +msgstr "" + msgid "debug level for plugin (\"core\" for WeeChat core)" msgstr "" @@ -4037,10 +4041,12 @@ msgid "" msgstr "" msgid "" -"sort of hotlist: group_time_*: group by notify level (highlights first) then " -"sort by time, group_number_*: group by notify level (highlights first) then " -"sort by number, number_*: sort by number; asc = ascending sort, desc = " -"descending sort" +"comma-separated list of fields to sort hotlist; each field is a hdata " +"variable of hotlist (\"var\") or a hdata variable of buffer (\"buffer." +"var\"); char \"-\" can be used before field to reverse order, char \"~\" can " +"be used to do a case insensitive comparison; examples: \"-priority,buffer." +"number\" for sort on hotlist priority then by buffer number, \"-~buffer." +"full_name\" for case insensitive and reverse sort on buffer full name" msgstr "" msgid "text displayed at the end of the hotlist" @@ -11189,10 +11195,6 @@ msgid "Support of lua scripts" msgstr "" #, c-format -msgid "%s%s: unable to redirect stdout and stderr" -msgstr "" - -#, c-format msgid "%s%s: unable to load source code" msgstr "" @@ -11861,6 +11863,10 @@ msgid "%s%s: unable to redirect stderr" msgstr "" #, c-format +msgid "%s%s: unable to redirect stdout and stderr" +msgstr "" + +#, c-format msgid "%s%s: unable to launch global interpreter" msgstr "" diff --git a/src/core/core-config.c b/src/core/core-config.c index 5a5b5b4d5..0a0b07845 100644 --- a/src/core/core-config.c +++ b/src/core/core-config.c @@ -369,6 +369,8 @@ int config_num_eval_syntax_colors = 0; char *config_item_time_evaluated = NULL; char *config_buffer_time_same_evaluated = NULL; struct t_hashtable *config_hashtable_completion_partial_templates = NULL; +char **config_hotlist_sort_fields = NULL; +int config_num_hotlist_sort_fields = 0; /* @@ -1085,6 +1087,23 @@ config_change_hotlist_sort (const void *pointer, void *data, (void) data; (void) option; + if (config_hotlist_sort_fields) + { + string_free_split (config_hotlist_sort_fields); + config_hotlist_sort_fields = NULL; + } + config_num_hotlist_sort_fields = 0; + + config_hotlist_sort_fields = string_split ( + CONFIG_STRING(config_look_hotlist_sort), + ",", + NULL, + WEECHAT_STRING_SPLIT_STRIP_LEFT + | WEECHAT_STRING_SPLIT_STRIP_RIGHT + | WEECHAT_STRING_SPLIT_COLLAPSE_SEPS, + 0, + &config_num_hotlist_sort_fields); + gui_hotlist_resort (); } @@ -1563,6 +1582,8 @@ config_weechat_init_after_read () config_set_nick_colors (); config_change_look_nick_color_force (NULL, NULL, NULL); config_set_eval_syntax_colors (); + + config_change_hotlist_sort (NULL, NULL, NULL); } /* @@ -1575,7 +1596,7 @@ config_weechat_update_cb (const void *pointer, void *data, int version_read, struct t_hashtable *data_read) { - const char *ptr_section, *ptr_option, *ptr_value; + const char *ptr_config, *ptr_section, *ptr_option, *ptr_value; char *new_commands[][2] = { /* old command, new command */ { "/input jump_smart", "/buffer jump smart" }, @@ -1595,6 +1616,16 @@ config_weechat_update_cb (const void *pointer, void *data, { "/input zoom_merged_buffer", "/buffer zoom" }, { NULL, NULL }, }; + char *new_hotlist_sort[][2] = { + /* old hotlist sort (enum), new sort with fields */ + { "group_time_asc", "-priority,time,time.usec" }, + { "group_time_desc", "-priority,-time,-time.usec" }, + { "group_number_asc", "-priority,buffer.number" }, + { "group_number_desc", "-priority,-buffer.number" }, + { "number_asc", "buffer.number" }, + { "number_desc" "-buffer.number" }, + { NULL, NULL }, + }; char *new_option; int changes, i; @@ -1615,6 +1646,7 @@ config_weechat_update_cb (const void *pointer, void *data, * changes in v2 (WeeChat 4.0.0): * - new format for keys (eg: meta2-1;3D -> meta-left) * - keys removed: "meta2-200~" and "meta2-201~" + * - arguments changed in /input command */ ptr_section = hashtable_get (data_read, "section"); ptr_option = hashtable_get (data_read, "option"); @@ -1712,6 +1744,42 @@ config_weechat_update_cb (const void *pointer, void *data, } } + if (version_read < 3) + { + /* + * changes in v3 (WeeChat 4.3.0): + * - new format for option "weechat.look.hotlist_sort" + */ + ptr_config = hashtable_get (data_read, "config"); + ptr_section = hashtable_get (data_read, "section"); + ptr_option = hashtable_get (data_read, "option"); + ptr_value = hashtable_get (data_read, "value"); + if (ptr_config + && ptr_section + && ptr_option + && (strcmp (ptr_section, "look") == 0) + && (strcmp (ptr_option, "hotlist_sort") == 0)) + { + for (i = 0; new_hotlist_sort[i][0]; i++) + { + if (ptr_value && (strcmp (ptr_value, new_hotlist_sort[i][0]) == 0)) + { + gui_chat_printf ( + NULL, + _("Value of option \"%s.%s.%s\" has been converted: \"%s\" => \"%s\""), + ptr_config, + ptr_section, + ptr_option, + new_hotlist_sort[i][0], + new_hotlist_sort[i][1]); + hashtable_set (data_read, "value", new_hotlist_sort[i][1]); + changes++; + break; + } + } + } + } + return (changes) ? data_read : NULL; } @@ -3626,15 +3694,18 @@ config_weechat_init_options () NULL, NULL, NULL); config_look_hotlist_sort = config_file_new_option ( weechat_config_file, weechat_config_section_look, - "hotlist_sort", "enum", - N_("sort of hotlist: group_time_*: group by notify level " - "(highlights first) then sort by time, group_number_*: group " - "by notify level (highlights first) then sort by number, " - "number_*: sort by number; asc = ascending sort, desc = " - "descending sort"), - "group_time_asc|group_time_desc|group_number_asc|" - "group_number_desc|number_asc|number_desc", - 0, 0, "group_time_asc", NULL, 0, + "hotlist_sort", "string", + N_("comma-separated list of fields to sort hotlist; each field is " + "a hdata variable of hotlist (\"var\") or a hdata variable of " + "buffer (\"buffer.var\"); " + "char \"-\" can be used before field to reverse order, " + "char \"~\" can be used to do a case insensitive comparison; " + "examples: " + "\"-priority,buffer.number\" for sort on hotlist priority then by " + "buffer number, " + "\"-~buffer.full_name\" for case insensitive and reverse " + "sort on buffer full name"), + NULL, 0, 0, "-priority,time,time.usec", NULL, 0, NULL, NULL, NULL, &config_change_hotlist_sort, NULL, NULL, NULL, NULL, NULL); @@ -5465,4 +5536,11 @@ config_weechat_free () hashtable_free (config_hashtable_completion_partial_templates); config_hashtable_completion_partial_templates = NULL; } + + if (config_hotlist_sort_fields) + { + string_free_split (config_hotlist_sort_fields); + config_hotlist_sort_fields = NULL; + config_num_hotlist_sort_fields = 0; + } } diff --git a/src/core/core-config.h b/src/core/core-config.h index 55febe40f..13989a816 100644 --- a/src/core/core-config.h +++ b/src/core/core-config.h @@ -31,7 +31,7 @@ struct t_gui_buffer; #define WEECHAT_CONFIG_NAME "weechat" #define WEECHAT_CONFIG_PRIO_NAME "110000|weechat" -#define WEECHAT_CONFIG_VERSION 2 +#define WEECHAT_CONFIG_VERSION 3 #define TAB_MAX_WIDTH 64 @@ -404,6 +404,8 @@ extern char **config_eval_syntax_colors; extern int config_num_eval_syntax_colors; extern char *config_buffer_time_same_evaluated; extern struct t_hashtable *config_hashtable_completion_partial_templates; +extern char **config_hotlist_sort_fields; +extern int config_num_hotlist_sort_fields; extern void config_set_nick_colors (); extern struct t_config_option *config_weechat_debug_get (const char *plugin_name); diff --git a/src/gui/gui-hotlist.c b/src/gui/gui-hotlist.c index fdeb5985f..7c739cccc 100644 --- a/src/gui/gui-hotlist.c +++ b/src/gui/gui-hotlist.c @@ -229,6 +229,61 @@ gui_hotlist_check_buffer_notify (struct t_gui_buffer *buffer, } /* + * Compares two hotlists in order to add them in the sorted list. + * + * The comparison is made using the list of fields defined in the option + * "weechat.look.hotlist_sort". + * + * Returns: + * -1: hotlist1 < hotlist2 + * 0: hotlist1 == hotlist2 + * 1: hotlist1 > hotlist2 + */ + +int +gui_hotlist_compare_hotlists (struct t_hdata *hdata_hotlist, + struct t_gui_hotlist *hotlist1, + struct t_gui_hotlist *hotlist2) +{ + int i, reverse, case_sensitive, rc; + const char *ptr_field; + + for (i = 0; i < config_num_hotlist_sort_fields; i++) + { + rc = 0; + reverse = 1; + case_sensitive = 1; + ptr_field = config_hotlist_sort_fields[i]; + while ((ptr_field[0] == '-') || (ptr_field[0] == '~')) + { + if (ptr_field[0] == '-') + reverse *= -1; + else if (ptr_field[0] == '~') + case_sensitive ^= 1; + ptr_field++; + } + if (!hotlist1 && !hotlist2) + rc = 0; + else if (hotlist1 && !hotlist2) + rc = 1; + else if (!hotlist1 && hotlist2) + rc = -1; + else + { + rc = hdata_compare (hdata_hotlist, + hotlist1, hotlist2, + ptr_field, + case_sensitive); + } + rc *= reverse; + if (rc != 0) + return rc; + } + + return 0; +} + +/* * Searches for position of hotlist (to keep hotlist sorted). */ @@ -236,69 +291,20 @@ struct t_gui_hotlist * gui_hotlist_find_pos (struct t_gui_hotlist *hotlist, struct t_gui_hotlist *new_hotlist) { + struct t_hdata *hdata_hotlist; struct t_gui_hotlist *ptr_hotlist; - switch (CONFIG_ENUM(config_look_hotlist_sort)) + hdata_hotlist = hook_hdata_get (NULL, "hotlist"); + for (ptr_hotlist = hotlist; ptr_hotlist; + ptr_hotlist = ptr_hotlist->next_hotlist) { - case CONFIG_LOOK_HOTLIST_SORT_GROUP_TIME_ASC: - for (ptr_hotlist = hotlist; ptr_hotlist; - ptr_hotlist = ptr_hotlist->next_hotlist) - { - if ((new_hotlist->priority > ptr_hotlist->priority) - || ((new_hotlist->priority == ptr_hotlist->priority) - && (util_timeval_diff (&(new_hotlist->creation_time), - &(ptr_hotlist->creation_time)) > 0))) - return ptr_hotlist; - } - break; - case CONFIG_LOOK_HOTLIST_SORT_GROUP_TIME_DESC: - for (ptr_hotlist = hotlist; ptr_hotlist; - ptr_hotlist = ptr_hotlist->next_hotlist) - { - if ((new_hotlist->priority > ptr_hotlist->priority) - || ((new_hotlist->priority == ptr_hotlist->priority) - && (util_timeval_diff (&(new_hotlist->creation_time), - &(ptr_hotlist->creation_time)) < 0))) - return ptr_hotlist; - } - break; - case CONFIG_LOOK_HOTLIST_SORT_GROUP_NUMBER_ASC: - for (ptr_hotlist = hotlist; ptr_hotlist; - ptr_hotlist = ptr_hotlist->next_hotlist) - { - if ((new_hotlist->priority > ptr_hotlist->priority) - || ((new_hotlist->priority == ptr_hotlist->priority) - && (new_hotlist->buffer->number < ptr_hotlist->buffer->number))) - return ptr_hotlist; - } - break; - case CONFIG_LOOK_HOTLIST_SORT_GROUP_NUMBER_DESC: - for (ptr_hotlist = hotlist; ptr_hotlist; - ptr_hotlist = ptr_hotlist->next_hotlist) - { - if ((new_hotlist->priority > ptr_hotlist->priority) - || ((new_hotlist->priority == ptr_hotlist->priority) - && (new_hotlist->buffer->number > ptr_hotlist->buffer->number))) - return ptr_hotlist; - } - break; - case CONFIG_LOOK_HOTLIST_SORT_NUMBER_ASC: - for (ptr_hotlist = hotlist; ptr_hotlist; - ptr_hotlist = ptr_hotlist->next_hotlist) - { - if (new_hotlist->buffer->number < ptr_hotlist->buffer->number) - return ptr_hotlist; - } - break; - case CONFIG_LOOK_HOTLIST_SORT_NUMBER_DESC: - for (ptr_hotlist = hotlist; ptr_hotlist; - ptr_hotlist = ptr_hotlist->next_hotlist) - { - if (new_hotlist->buffer->number > ptr_hotlist->buffer->number) - return ptr_hotlist; - } - break; + if (gui_hotlist_compare_hotlists (hdata_hotlist, + new_hotlist, ptr_hotlist) < 0) + { + return ptr_hotlist; + } } + return NULL; } |