1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 10:43:13 +02:00

core: add command line option --build-info / -i to display information about build options (closes #449)

This commit is contained in:
Sébastien Helleu
2024-08-12 21:35:04 +02:00
parent f09855540e
commit 071f8f87e7
22 changed files with 422 additions and 166 deletions
+1
View File
@@ -30,6 +30,7 @@
### Added
- core: add command line option `--build-info` / `-i` to display information about build options ([#449](https://github.com/weechat/weechat/issues/449))
- irc: add option `-export` in command `/list`, add option irc.look.list_buffer_format_export
- relay: add option relay.network.websocket_permessage_deflate ([#1549](https://github.com/weechat/weechat/issues/1549))
- relay: add option relay.look.raw_messages_max_length ([#2122](https://github.com/weechat/weechat/issues/2122))
-1
View File
@@ -260,7 +260,6 @@ add_subdirectory(icons)
if(ENABLE_NLS)
find_package(Gettext REQUIRED)
add_definitions(-DENABLE_NLS)
find_package(Intl REQUIRED)
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
add_subdirectory(po)
+40
View File
@@ -1,3 +1,39 @@
#cmakedefine01 ENABLE_NCURSES
#cmakedefine01 ENABLE_HEADLESS
#cmakedefine01 ENABLE_NLS
#cmakedefine01 ENABLE_LARGEFILE
#cmakedefine01 ENABLE_ZSTD
#cmakedefine01 ENABLE_CJSON
#cmakedefine01 ENABLE_ALIAS
#cmakedefine01 ENABLE_BUFLIST
#cmakedefine01 ENABLE_CHARSET
#cmakedefine01 ENABLE_EXEC
#cmakedefine01 ENABLE_FIFO
#cmakedefine01 ENABLE_FSET
#cmakedefine01 ENABLE_IRC
#cmakedefine01 ENABLE_LOGGER
#cmakedefine01 ENABLE_RELAY
#cmakedefine01 ENABLE_SCRIPT
#cmakedefine01 ENABLE_SCRIPTS
#cmakedefine01 ENABLE_PERL
#cmakedefine01 ENABLE_PYTHON
#cmakedefine01 ENABLE_RUBY
#cmakedefine01 ENABLE_LUA
#cmakedefine01 ENABLE_TCL
#cmakedefine01 ENABLE_GUILE
#cmakedefine01 ENABLE_JAVASCRIPT
#cmakedefine01 ENABLE_PHP
#cmakedefine01 ENABLE_SPELL
#cmakedefine01 ENABLE_ENCHANT
#cmakedefine01 ENABLE_TRIGGER
#cmakedefine01 ENABLE_TYPING
#cmakedefine01 ENABLE_XFER
#cmakedefine01 ENABLE_MAN
#cmakedefine01 ENABLE_DOC
#cmakedefine01 ENABLE_DOC_INCOMPLETE
#cmakedefine01 ENABLE_TESTS
#cmakedefine01 ENABLE_CODE_COVERAGE
#cmakedefine HAVE_SYS_RESOURCE_H
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
@@ -11,6 +47,10 @@
#cmakedefine HAVE_ASPELL_VERSION_STRING
#cmakedefine HAVE_ENCHANT_GET_VERSION
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
#cmakedefine CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
#cmakedefine CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
+13 -10
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: cs\n"
@@ -102,6 +102,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5585,6 +5586,16 @@ msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\""
msgid "Reloading configuration file %s"
msgstr "Znovunačítám konfigurační soubor %s"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
#| msgid "(old options?)"
msgid "Build options:\n"
msgstr "(staré volby?)"
msgid "Windows tree:"
msgstr "Strom oken:"
@@ -17083,11 +17094,3 @@ msgstr "%s%s: vypršel časový limit \"%s\" pro %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: nemohu se připojit\" neočekávaná chyba (%d)"
#, fuzzy
#~ msgid ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "použije IPv6 pro komunikaci se serverem (vyzkouší IPv6 a pokud selže "
#~ "použije IPv4); pokud je vypnuta použije pouze IPv4"
+90 -66
View File
@@ -26,8 +26,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-08-12 12:04+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"Language: de_DE\n"
@@ -98,6 +98,32 @@ msgstr ""
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Aufruf: %s [Option...] [Erweiterung:Option...]\n"
#, fuzzy
#| msgid ""
#| " -a, --no-connect disable auto-connect to servers at startup\n"
#| " -c, --colors display default colors in terminal and exit\n"
#| " -d, --dir <path> force a single WeeChat home directory\n"
#| " or 5 different directories separated by colons "
#| "(in this order: config, data, state, cache, runtime)\n"
#| " (environment variable WEECHAT_HOME is read if "
#| "this option is not given)\n"
#| " -t, --temp-dir create a temporary WeeChat home directory and "
#| "delete it on exit\n"
#| " (incompatible with option \"-d\")\n"
#| " -h, --help display this help and exit\n"
#| " -l, --license display WeeChat license and exit\n"
#| " -p, --no-plugin don't load any plugin at startup\n"
#| " -P, --plugins <plugins> load only these plugins at startup\n"
#| " (see /help weechat.plugin.autoload)\n"
#| " -r, --run-command <cmd> run command(s) after startup;\n"
#| " many commands can be separated by semicolons "
#| "and are evaluated,\n"
#| " this option can be given multiple times\n"
#| " -s, --no-script don't load any script at startup\n"
#| " --upgrade upgrade WeeChat using session files (see /help "
#| "upgrade in WeeChat)\n"
#| " -v, --version display WeeChat version and exit\n"
#| " plugin:option option for plugin (see man weechat)\n"
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
@@ -110,6 +136,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -2138,11 +2165,11 @@ msgstr ""
"undOperatoren (+, -, *, /, //, %, **)"
msgid ""
" - ${random:min,max}: a random integer number between \"min\" and "
"\"max\" (inclusive)"
" - ${random:min,max}: a random integer number between \"min\" and \"max\" "
"(inclusive)"
msgstr ""
" - ${random:min,max}: eine zufällige ganze Zahl zwischen \"min\" "
"und\"max\" (einschließlich)"
" - ${random:min,max}: eine zufällige ganze Zahl zwischen \"min\" und\"max\" "
"(einschließlich)"
msgid " - ${translate:string}: the translated string"
msgstr " - ${translate:string}: die übersetzte Zeichenkette"
@@ -3082,8 +3109,8 @@ msgid ""
" raw[chat(xxx)]: chat area for buffer with name \"xxx\" (full name "
"including plugin)"
msgstr ""
" raw[chat(xxx)]: Chatbereich für einen Buffer mit dem Namen "
"\"xxx\" (vollständiger Name, mit Erweiterung)"
" raw[chat(xxx)]: Chatbereich für einen Buffer mit dem Namen \"xxx\" "
"(vollständiger Name, mit Erweiterung)"
msgid " raw[bar(*)]: any bar"
msgstr " raw[bar(*)]: beliebige Bar"
@@ -5033,8 +5060,8 @@ msgstr ""
"\"-yes\" ausgeführt werden (siehe /help quit)"
msgid ""
"if set, /upgrade command must be confirmed with extra argument \"-"
"yes\" (see /help upgrade)"
"if set, /upgrade command must be confirmed with extra argument \"-yes\" "
"(see /help upgrade)"
msgstr ""
"ist diese Einstellung aktiviert, muss der \"/upgrade\" Befehl mit dem "
"Argument \"-yes\" ausgeführt werden (siehe /help upgrade)"
@@ -5090,10 +5117,10 @@ msgid ""
"weechat.color.emphasized* are used"
msgstr ""
"Attribute um Textpassagen hervorzuheben: Das setzen von ein- oder mehreren "
"Attributen ist möglich (\"%\" für blinkenden Text, \".\" zum "
"\"dimmen\" (halbe Helligkeit),\"*\" für fett, \"!\" für invertiert, \"/\" "
"für kursiv, \"_\" für unterstrichen); wenn die Zeichenkette leer ist, werden "
"die Farben genutzt die durch weechat.color.emphasized* definiert sind"
"Attributen ist möglich (\"%\" für blinkenden Text, \".\" zum \"dimmen\" "
"(halbe Helligkeit),\"*\" für fett, \"!\" für invertiert, \"/\" für kursiv, "
"\"_\" für unterstrichen); wenn die Zeichenkette leer ist, werden die Farben "
"genutzt die durch weechat.color.emphasized* definiert sind"
msgid ""
"comma separated list of words to highlight; case insensitive comparison (use "
@@ -6381,6 +6408,16 @@ msgstr ""
msgid "Reloading configuration file %s"
msgstr "Konfigurationsdatei \"%s\" wird erneut geladen"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
#| msgid "(old options?)"
msgid "Build options:\n"
msgstr "(alte Einstellungen?)"
msgid "Windows tree:"
msgstr "Fensterstruktur:"
@@ -7066,24 +7103,24 @@ msgstr ""
"Bedingungen um eine Infobar anzuzeigen. Eine einfache Bedingung: \"active\", "
"\"inactive\", \"nicklist\" (Fenster muss aktiv/inaktiv sein oder der Buffer "
"enthält eine Benutzerliste), oder man nutzt einen Ausdruck mit Bedingungen "
"(siehe /help eval). Beispiele: \"${nicklist} && ${info:term_width} > "
"100\" (lokale Variablen für den Ausdruck sind ${active}, ${inactive} und "
"(siehe /help eval). Beispiele: \"${nicklist} && ${info:term_width} > 100\" "
"(lokale Variablen für den Ausdruck sind ${active}, ${inactive} und "
"${nicklist})"
msgid "bar position (bottom, top, left, right)"
msgstr "Position der Infobar (unten, oben, links, rechts)"
msgid ""
"bar filling direction (\"horizontal\" (from left to right) or "
"\"vertical\" (from top to bottom)) when bar position is top or bottom"
"bar filling direction (\"horizontal\" (from left to right) or \"vertical\" "
"(from top to bottom)) when bar position is top or bottom"
msgstr ""
"Darstellung innerhalb der Infobar, falls die Infobar oben/unten angezeigt "
"wird (\"horizontal\" (von links nach rechts) oder \"vertikal\" (von oben "
"nach unten))"
msgid ""
"bar filling direction (\"horizontal\" (from left to right) or "
"\"vertical\" (from top to bottom)) when bar position is left or right"
"bar filling direction (\"horizontal\" (from left to right) or \"vertical\" "
"(from top to bottom)) when bar position is left or right"
msgstr ""
"Darstellung innerhalb der Infobar, falls die Infobar links/rechts angezeigt "
"wird (\"horizontal\" (von links nach rechts) oder \"vertikal\" (von oben "
@@ -7123,9 +7160,9 @@ msgid "separator line between bar and other bars/windows"
msgstr "Trennzeichen zwischen verschieden Infobars und Fenstern"
msgid ""
"items of bar, they can be separated by comma (space between items) or \"+"
"\" (glued items); special syntax \"@buffer:item\" can be used to force "
"buffer used when displaying the bar item"
"items of bar, they can be separated by comma (space between items) or \"+\" "
"(glued items); special syntax \"@buffer:item\" can be used to force buffer "
"used when displaying the bar item"
msgstr ""
"Items einer Bar können entweder durch Kommata (\",\") voneinander getrennt "
"(setzt ein Leerzeichen zwischen die Items), oder durch ein \"+\" Zeichen "
@@ -8883,8 +8920,8 @@ msgid " - ${description}: option description (translated)"
msgstr " - ${description}: Beschreibung der Option (übersetzt)"
msgid ""
" - ${description2}: option description (translated), \"(no "
"description)\" (translated) if there's no description"
" - ${description2}: option description (translated), \"(no description)\" "
"(translated) if there's no description"
msgstr ""
" - ${description2}: Beschreibung der Option (übersetzt), \"(keine "
"Beschreibung)\" (übersetzt) falls keine Beschreibung vorhanden"
@@ -9575,8 +9612,8 @@ msgstr ""
#, c-format
msgid ""
"%s%s: if you want to add a standard server, use the command \"/server "
"add\" (see /help server); if you really want to add a temporary server (NOT "
"%s%s: if you want to add a standard server, use the command \"/server add\" "
"(see /help server); if you really want to add a temporary server (NOT "
"SAVED), turn on the option irc.look.temporary_servers"
msgstr ""
"%s%s: falls ein Standardserver erstellt werden soll, muss der Befehl \"/"
@@ -12796,8 +12833,8 @@ msgid ""
"interval between two checks for notify with IRC command \"whois\" (in "
"minutes)"
msgstr ""
"Intervall zwischen zwei notify Überprüfungen mit dem IRC Befehl "
"\"whois\" (in Minuten)"
"Intervall zwischen zwei notify Überprüfungen mit dem IRC Befehl \"whois\" "
"(in Minuten)"
msgid ""
"cause SASL authentication failure when SASL is requested but unavailable on "
@@ -15154,19 +15191,19 @@ msgstr "%s%s: Interpreter kann nicht freigeben werden"
#, c-format
msgid ""
"%s%s: too few arguments received from client %s%s%s for resource "
"\"%s\" (received: %d arguments, expected: at least %d)"
"%s%s: too few arguments received from client %s%s%s for resource \"%s\" "
"(received: %d arguments, expected: at least %d)"
msgstr ""
"%s%s: Zu wenige Argumente von Client %s%s%s für die Ressource \"%s\" "
"erhalten (Empfangen: %d Argumente, mindestens erwartet: %d)"
#, c-format
msgid ""
"%s%s: too many arguments received from client %s%s%s for resource "
"\"%s\" (received: %d arguments, expected: at most %d)"
"%s%s: too many arguments received from client %s%s%s for resource \"%s\" "
"(received: %d arguments, expected: at most %d)"
msgstr ""
"%s%s: Zu viele Argumente von Client erhalten %s%s%s für die Ressource "
"\"%s\" (Empfangen: %d Argumente, höchstens erwartet: %d)"
"%s%s: Zu viele Argumente von Client erhalten %s%s%s für die Ressource \"%s\" "
"(Empfangen: %d Argumente, höchstens erwartet: %d)"
#, c-format
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
@@ -16341,8 +16378,8 @@ msgid ""
"%s%s: error: file with TLS certificate/key is not readable: \"%s\" (option "
"relay.network.tls_cert_key)"
msgstr ""
"%s%s: Fehler: Datei mit TLS Zertifikat/Schlüssel ist nicht lesbar: "
"\"%s\" (Option relay.network.tls_cert_key)"
"%s%s: Fehler: Datei mit TLS Zertifikat/Schlüssel ist nicht lesbar: \"%s\" "
"(Option relay.network.tls_cert_key)"
#, c-format
msgid "%s%s: unable to initialize priority for TLS"
@@ -16494,8 +16531,8 @@ msgstr ""
#, c-format
msgid ""
"%s%s: too few arguments received from client %s%s%s for command "
"\"%s\" (received: %d arguments, expected: at least %d)"
"%s%s: too few arguments received from client %s%s%s for command \"%s\" "
"(received: %d arguments, expected: at least %d)"
msgstr ""
"%s%s: Zu wenige Argumente von Client %s%s%s für den Befehl \"%s\" erhalten "
"(Empfangen: %d Argumente, mindestens Erwartet: %d)"
@@ -17681,22 +17718,22 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"[\"<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>...] || "
"show <name> || del <name>|<mask> [<name>|<mask>...] || restore <name>|<mask> "
"[<name>|<mask>...] || default -yes || monitor [<filter>]"
"<name> <hook> [\"<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>...] || show <name> || del <name>|<mask> "
"[<name>|<mask>...] || restore <name>|<mask> [<name>|<mask>...] || default -"
"yes || monitor [<filter>]"
msgstr ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"[\"<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>...] || "
"show <name> || del <name>|<mask> [<name>|<mask>...] || restore <name>|<mask> "
"[<name>|<mask>...] || default -yes || monitor [<filter>]"
"<name> <hook> [\"<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>...] || show <name> || del <name>|<mask> "
"[<name>|<mask>...] || restore <name>|<mask> [<name>|<mask>...] || default -"
"yes || monitor [<filter>]"
msgid "raw[list]: list triggers (without argument, this list is displayed)"
msgstr ""
@@ -18689,16 +18726,3 @@ msgstr "%s%s: Zeitüberschreitung für \"%s\" mit %s"
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr ""
"%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)"
#~ msgid ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "bei der Kommunikation mit dem Server wird das IPv6 Protokoll genutzt "
#~ "(sollte IPv6 nicht verfügbar sein dann wird automatisch auf IPv4 "
#~ "umgeschaltet); wird die Funktion deaktiviert, dann wird ausschließlich "
#~ "IPv4 genutzt"
#, c-format
#~ msgid "Remote: %s"
#~ msgstr "Remote: %s"
+11 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -128,6 +128,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5770,6 +5771,15 @@ msgstr "%sAtención: %s, línea %d: valor inválido para la opción: %s"
msgid "Reloading configuration file %s"
msgstr "Recargando archivo de configuración %s"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
msgid "Build options:\n"
msgstr "(opciones por defecto)"
msgid "Windows tree:"
msgstr "Árbol de ventanas:"
+13 -13
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-08-11 12:15+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -102,6 +102,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -129,6 +130,8 @@ msgstr ""
"le supprimer en quittant\n"
" (incompatible avec l'option \"-d\")\n"
" -h, --help afficher cette aide et quitter\n"
" -i, --build-info afficher les informations de construction et "
"quitter\n"
" -l, --license afficher la licence WeeChat et quitter\n"
" -p, --no-plugin ne charger aucune extension au démarrage\n"
" -P, --plugins <exts> charger uniquement ces extensions au démarrage\n"
@@ -6239,6 +6242,14 @@ msgstr ""
msgid "Reloading configuration file %s"
msgstr "Rechargement du fichier de configuration %s"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr "WeeChat %s, compilé le %s %s\n"
msgid "Build options:\n"
msgstr "Options de construction:\n"
msgid "Windows tree:"
msgstr "Arbre des fenêtres :"
@@ -18331,14 +18342,3 @@ 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 ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "utiliser le protocole IPv6 pour la communication avec le serveur (essayer "
#~ "IPv6 puis repli sur l'IPv4) ; si désactivé, seulement l'IPv4 est utilisé"
#, c-format
#~ msgid "Remote: %s"
#~ msgstr "Remote : %s"
+11 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -96,6 +96,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5279,6 +5280,15 @@ msgstr "%s %s, %d. sor: érvénytelen opció: \"%s\"\n"
msgid "Reloading configuration file %s"
msgstr "Beállítások mentése a lemezre\n"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
msgid "Build options:\n"
msgstr "konfigurációs paraméterek beállítása"
#, fuzzy
msgid "Windows tree:"
msgstr "a /who lista vége"
+12 -9
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: it\n"
@@ -100,6 +100,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5700,6 +5701,15 @@ msgstr "%sAttenzione: %s, riga %d: valore non valido per l'opzione: %s"
msgid "Reloading configuration file %s"
msgstr "Ricaricamento del file di configurazione %s"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
msgid "Build options:\n"
msgstr "(opzioni predefinite?)"
msgid "Windows tree:"
msgstr "Albero delle finestre:"
@@ -17468,10 +17478,3 @@ msgstr "%s%s: timeout per \"%s\" con %s"
#, fuzzy, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: impossibile connettersi al mittente"
#~ msgid ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "usa il protocollo IPv6 per le comunicazioni con il server (prova con "
#~ "IPv6, se non disponibile usa IPv4); se disabilitato, viene usato solo IPv4"
+13 -9
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
"translation/ja_JP>\n"
@@ -104,6 +104,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5879,6 +5880,16 @@ msgstr "%s警告: %s、行 %d: オプションに対する無効な値: %s"
msgid "Reloading configuration file %s"
msgstr "設定ファイル %s のリロード中"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
#| msgid "(old options?)"
msgid "Build options:\n"
msgstr "(古いオプション?)"
msgid "Windows tree:"
msgstr "ウィンドウツリー:"
@@ -17989,10 +18000,3 @@ msgstr "%s%s: \"%s\" のタイムアウト %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: 接続できません: 未定義のエラー (%d)"
#~ msgid ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "サーバ接続に IPv6 プロトコルを利用 (IPv6 の利用に失敗したら IPv4 を利用); "
#~ "無効の場合には IPv4 を利用"
+39 -13
View File
@@ -22,8 +22,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-06-22 19:43+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: pl\n"
@@ -93,6 +93,32 @@ msgstr ""
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Użycie: %s [argumenty...] [wtyczka:opcje...]\n"
#, fuzzy
#| msgid ""
#| " -a, --no-connect disable auto-connect to servers at startup\n"
#| " -c, --colors display default colors in terminal and exit\n"
#| " -d, --dir <path> force a single WeeChat home directory\n"
#| " or 5 different directories separated by colons "
#| "(in this order: config, data, state, cache, runtime)\n"
#| " (environment variable WEECHAT_HOME is read if "
#| "this option is not given)\n"
#| " -t, --temp-dir create a temporary WeeChat home directory and "
#| "delete it on exit\n"
#| " (incompatible with option \"-d\")\n"
#| " -h, --help display this help and exit\n"
#| " -l, --license display WeeChat license and exit\n"
#| " -p, --no-plugin don't load any plugin at startup\n"
#| " -P, --plugins <plugins> load only these plugins at startup\n"
#| " (see /help weechat.plugin.autoload)\n"
#| " -r, --run-command <cmd> run command(s) after startup;\n"
#| " many commands can be separated by semicolons "
#| "and are evaluated,\n"
#| " this option can be given multiple times\n"
#| " -s, --no-script don't load any script at startup\n"
#| " --upgrade upgrade WeeChat using session files (see /help "
#| "upgrade in WeeChat)\n"
#| " -v, --version display WeeChat version and exit\n"
#| " plugin:option option for plugin (see man weechat)\n"
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
@@ -105,6 +131,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -6049,6 +6076,16 @@ msgstr ""
msgid "Reloading configuration file %s"
msgstr "Przeładowanie pliku konfiguracyjnego %s"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
#| msgid "(old options?)"
msgid "Build options:\n"
msgstr "(stare opcje?)"
msgid "Windows tree:"
msgstr "Drzewo okien:"
@@ -17866,14 +17903,3 @@ 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 ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "używaj protokołu IPv6 do komunikacji z serwerem (próbuj IPv6 później wróć "
#~ "do IPv4); jeśli wyłączone używane jest tylko IPv4"
#, c-format
#~ msgid "Remote: %s"
#~ msgstr "Zdalny pośrednik: %s"
+13 -9
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:35+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
"Language: pt\n"
@@ -102,6 +102,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5916,6 +5917,16 @@ msgstr "%sAviso: %s, linha %d: valor inválido na opção: %s"
msgid "Reloading configuration file %s"
msgstr "A recarregar o ficheiro de configuração %s"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
#| msgid "(old options?)"
msgid "Build options:\n"
msgstr "(opções antigas?)"
msgid "Windows tree:"
msgstr "Árvore de janelas:"
@@ -17911,10 +17922,3 @@ 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 ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "usar o protocolo IPv6 na comunicação com o servidor (tentar IPv6 ou "
#~ "recorrer a IPv4); se desativado, apenas é usado IPv4"
+11 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -122,6 +122,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5657,6 +5658,15 @@ msgstr "%sAviso: %s, linha %d: valor \"%s\" inválido para opção"
msgid "Reloading configuration file %s"
msgstr "Recarregando arquivo de configuração %s"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
msgid "Build options:\n"
msgstr "(opções padrão)"
msgid "Windows tree:"
msgstr "Árvore de janelas:"
+11 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -99,6 +99,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5310,6 +5311,15 @@ msgstr "%s %s, строка %d: некорректный параметр \"%s\"
msgid "Reloading configuration file %s"
msgstr "Сохраняю конфигурацию\n"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
msgid "Build options:\n"
msgstr "настроить параметры конфигурации"
#, fuzzy
msgid "Windows tree:"
msgstr "конец списка /who"
+39 -13
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-07-10 11:29+0400\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:36+0200\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: sr\n"
@@ -90,6 +90,32 @@ msgstr ""
msgid "Usage: %s [option...] [plugin:option...]\n"
msgstr "Употреба: %s [опција...] [додатак:опција...]\n"
#, fuzzy
#| msgid ""
#| " -a, --no-connect disable auto-connect to servers at startup\n"
#| " -c, --colors display default colors in terminal and exit\n"
#| " -d, --dir <path> force a single WeeChat home directory\n"
#| " or 5 different directories separated by colons "
#| "(in this order: config, data, state, cache, runtime)\n"
#| " (environment variable WEECHAT_HOME is read if "
#| "this option is not given)\n"
#| " -t, --temp-dir create a temporary WeeChat home directory and "
#| "delete it on exit\n"
#| " (incompatible with option \"-d\")\n"
#| " -h, --help display this help and exit\n"
#| " -l, --license display WeeChat license and exit\n"
#| " -p, --no-plugin don't load any plugin at startup\n"
#| " -P, --plugins <plugins> load only these plugins at startup\n"
#| " (see /help weechat.plugin.autoload)\n"
#| " -r, --run-command <cmd> run command(s) after startup;\n"
#| " many commands can be separated by semicolons "
#| "and are evaluated,\n"
#| " this option can be given multiple times\n"
#| " -s, --no-script don't load any script at startup\n"
#| " --upgrade upgrade WeeChat using session files (see /help "
#| "upgrade in WeeChat)\n"
#| " -v, --version display WeeChat version and exit\n"
#| " plugin:option option for plugin (see man weechat)\n"
msgid ""
" -a, --no-connect disable auto-connect to servers at startup\n"
" -c, --colors display default colors in terminal and exit\n"
@@ -102,6 +128,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -6040,6 +6067,16 @@ msgstr ""
msgid "Reloading configuration file %s"
msgstr "Поновно учитавање конфигурационог фајла %s"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
#| msgid "(old options?)"
msgid "Build options:\n"
msgstr "(старе опције?)"
msgid "Windows tree:"
msgstr "Стабло прозора:"
@@ -17821,14 +17858,3 @@ msgstr "%s%s: тајмаут за „%s” са %s"
#, c-format
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr "%s%s: повезивање није успело: неочекивана грешка (%d)"
#~ msgid ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "за комуникацију са сервером се користи IPv6 протокол (покушава се IPv6 па "
#~ "се прелази на IPv4 ако не ради); ако је искључено, користи се само IPv4"
#, c-format
#~ msgid "Remote: %s"
#~ msgstr "Удаљени: %s"
+13 -9
View File
@@ -20,8 +20,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"PO-Revision-Date: 2024-06-11 07:49+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\n"
"PO-Revision-Date: 2024-08-12 21:36+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: tr\n"
@@ -126,6 +126,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -5938,6 +5939,16 @@ msgstr "%sUyarı: %s, %d. satır: Seçenek için geçersiz değer: %s"
msgid "Reloading configuration file %s"
msgstr "%s yapılandırma dosyası yeniden yükleniyor"
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
#, fuzzy
#| msgid "(old options?)"
msgid "Build options:\n"
msgstr "(eski seçenekler?)"
msgid "Windows tree:"
msgstr "Pencereler ağacı:"
@@ -18245,10 +18256,3 @@ 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 ""
#~ "use IPv6 protocol for server communication (try IPv6 then fallback to "
#~ "IPv4); if disabled, only IPv4 is used"
#~ msgstr ""
#~ "sunucu iletişimi için IPv6 protokolünü kullanın (önce IPv6 deneyin, "
#~ "olmazsa IPv4'e dönün); devre dışı ise yalnızca IPv4 kullanılır"
+10 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2024-08-11 12:15+0200\n"
"POT-Creation-Date: 2024-08-12 21:29+0200\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"
@@ -93,6 +93,7 @@ msgid ""
"delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -4909,6 +4910,14 @@ msgstr ""
msgid "Reloading configuration file %s"
msgstr ""
#. TRANSLATORS: "%s %s" after "compiled on" is date and time
#, c-format
msgid "WeeChat %s, compiled on %s %s\n"
msgstr ""
msgid "Build options:\n"
msgstr ""
msgid "Windows tree:"
msgstr ""
+66
View File
@@ -55,6 +55,7 @@
#include "core-string.h"
#include "core-utf8.h"
#include "core-util.h"
#include "core-version.h"
#include "../gui/gui-bar.h"
#include "../gui/gui-bar-item.h"
#include "../gui/gui-buffer.h"
@@ -69,6 +70,13 @@
#include "../gui/gui-window.h"
#include "../plugins/plugin.h"
#define DEBUG_DISPLAY_BUILD_OPTION_STR(OPTION) \
string_fprintf (stdout, " %s: \"%s\"\n", #OPTION, OPTION);
#define DEBUG_DISPLAY_BUILD_OPTION_BOOL(OPTION) \
string_fprintf (stdout, \
" %s: %s\n", \
#OPTION, \
(OPTION) ? "ON" : "OFF");
int debug_dump_active = 0;
@@ -76,6 +84,64 @@ long long debug_long_callbacks = 0; /* callbacks taking more than */
/* N microseconds will be traced */
/*
* Displays build information on stdout.
*/
void
debug_build_info ()
{
/* display version and compilation date/time */
string_fprintf (
stdout,
/* TRANSLATORS: "%s %s" after "compiled on" is date and time */
_("WeeChat %s, compiled on %s %s\n"),
version_get_version_with_git (),
version_get_compilation_date (),
version_get_compilation_time ());
/* display build options */
string_fprintf (stdout, _("Build options:\n"));
DEBUG_DISPLAY_BUILD_OPTION_STR(CMAKE_BUILD_TYPE);
DEBUG_DISPLAY_BUILD_OPTION_STR(CMAKE_INSTALL_PREFIX);
DEBUG_DISPLAY_BUILD_OPTION_STR(WEECHAT_HOME);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_ALIAS);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_BUFLIST);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_CHARSET);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_CJSON);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_CODE_COVERAGE);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_DOC);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_DOC_INCOMPLETE);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_ENCHANT);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_EXEC);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_FIFO);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_FSET);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_GUILE);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_HEADLESS);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_IRC);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_JAVASCRIPT);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_LARGEFILE);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_LOGGER);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_LUA);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_MAN);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_NCURSES);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_NLS);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_PERL);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_PHP);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_PYTHON);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_RELAY);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_RUBY);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_SCRIPT);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_SCRIPTS);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_SPELL);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_TCL);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_TESTS);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_TRIGGER);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_TYPING);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_XFER);
DEBUG_DISPLAY_BUILD_OPTION_BOOL(ENABLE_ZSTD);
}
/*
* Writes dump of data to WeeChat log file.
*/
+1
View File
@@ -26,6 +26,7 @@ struct t_gui_window_tree;
extern long long debug_long_callbacks;
extern void debug_build_info ();
extern void debug_sigsegv_cb ();
extern void debug_windows_tree ();
extern void debug_memory ();
+4 -4
View File
@@ -1701,9 +1701,9 @@ doc_generate (const char *path)
NULL,
};
char lang[3];
#ifdef ENABLE_NLS
#if ENABLE_NLS == 1
char *localedir;
#endif
#endif /* ENABLE_NLS == 1 */
rc_doc_gen = 0;
num_files = 0;
@@ -1733,11 +1733,11 @@ doc_generate (const char *path)
* (this is used to generate documentation without installing WeeChat,
* that means no need to run `make install`)
*/
#ifdef ENABLE_NLS
#if ENABLE_NLS == 1
localedir = getenv ("WEECHAT_DOCGEN_LOCALEDIR");
if (localedir && localedir[0])
bindtextdomain (PACKAGE, localedir);
#endif /* ENABLE_NLS */
#endif /* ENABLE_NLS == 1 */
for (i = 0; locales[i]; i++)
{
+9 -3
View File
@@ -187,6 +187,7 @@ weechat_display_usage ()
"directory and delete it on exit\n"
" (incompatible with option \"-d\")\n"
" -h, --help display this help and exit\n"
" -i, --build-info display build information and exit\n"
" -l, --license display WeeChat license and exit\n"
" -p, --no-plugin don't load any plugin at startup\n"
" -P, --plugins <plugins> load only these plugins at startup\n"
@@ -258,6 +259,7 @@ weechat_parse_args (int argc, char *argv[])
{ "dir", required_argument, NULL, 'd' },
{ "temp-dir", no_argument, NULL, 't' },
{ "help", no_argument, NULL, 'h' },
{ "build-info", no_argument, NULL, 'i' },
{ "license", no_argument, NULL, 'l' },
{ "no-plugin", no_argument, NULL, 'p' },
{ "plugins", required_argument, NULL, 'P' },
@@ -287,7 +289,7 @@ weechat_parse_args (int argc, char *argv[])
opterr = 0;
while ((opt = getopt_long (argc, argv,
":acd:thlpP:r:sv",
":acd:thilpP:r:sv",
long_options, NULL)) != -1)
{
switch (opt)
@@ -316,6 +318,10 @@ weechat_parse_args (int argc, char *argv[])
weechat_display_usage ();
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'i': /* -i / --build-info */
debug_build_info ();
weechat_shutdown (EXIT_SUCCESS, 0);
break;
case 'l': /* -l / --license */
weechat_display_copyright ();
string_fprintf (stdout, "\n");
@@ -601,11 +607,11 @@ void
weechat_init_gettext ()
{
weechat_locale_ok = (setlocale (LC_ALL, "") != NULL); /* init gettext */
#ifdef ENABLE_NLS
#if ENABLE_NLS == 1
bindtextdomain (PACKAGE, LOCALEDIR);
bind_textdomain_codeset (PACKAGE, "UTF-8");
textdomain (PACKAGE);
#endif /* ENABLE_NLS */
#endif /* ENABLE_NLS == 1 */
#ifdef HAVE_LANGINFO_CODESET
weechat_local_charset = strdup (nl_langinfo (CODESET));
+2 -2
View File
@@ -32,7 +32,7 @@
#include <locale.h>
#if defined(ENABLE_NLS) && !defined(_)
#if ENABLE_NLS == 1 && !defined(_)
#include <libintl.h>
#define _(string) gettext(string)
#define NG_(single,plural,number) ngettext(single,plural,number)
@@ -41,7 +41,7 @@
#else
#define N_(string) (string)
#endif /* gettext_noop */
#endif /* defined(ENABLE_NLS) && !defined(_) */
#endif /* ENABLE_NLS == 1 && !defined(_) */
#if !defined(_)
#define _(string) (string)
#define NG_(single,plural,number) ((number == 1) ? single : plural)