mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
api: add optional argument with version in info "version_number"
This commit is contained in:
@@ -35,6 +35,7 @@ New features::
|
||||
* core, plugins: make many identifiers case sensitive (issue #1872, issue #398, bug #32213)
|
||||
* core: add item "mouse_status" in default status bar, change default color to lightgreen
|
||||
* api: add function config_set_version (issue #1238)
|
||||
* api: add optional argument with version in info "version_number"
|
||||
* alias: use lower case for default aliases, rename all aliases to lower case on upgrade (issue #1872)
|
||||
* irc: rename "ssl" options to "tls", connect with TLS and port 6697 by default
|
||||
* irc: add command `/rules` (issue #1864)
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-03-25 21:13+0100\n"
|
||||
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -10989,6 +10989,10 @@ msgstr "verze WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "verze WeeChat (jako číslo)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -26,7 +26,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-04-13 20:09+0200\n"
|
||||
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
|
||||
"Language-Team: German - Germany <weechatter@arcor.de>\n"
|
||||
@@ -13341,6 +13341,10 @@ msgstr "WeeChat-Version"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "WeeChat-Version (als Zahl)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-03-25 21:13+0100\n"
|
||||
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -11723,6 +11723,10 @@ msgstr "versión de WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "versión de WeeChat (como un número)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"PO-Revision-Date: 2023-04-13 20:08+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-04-15 11:04+0200\n"
|
||||
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: fr\n"
|
||||
@@ -13074,6 +13074,12 @@ msgstr "version de WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "version de WeeChat (sous forme de nombre)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
"version (optionnelle, par défaut la version du WeeChat en cours d'exécution "
|
||||
"est retournée)"
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -10390,6 +10390,10 @@ msgstr "WeeChat szlogen"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "WeeChat szlogen"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-03-25 21:13+0100\n"
|
||||
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -11443,6 +11443,10 @@ msgstr "versione di WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "versione di WeeChat (come numero)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-03-25 21:13+0100\n"
|
||||
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
|
||||
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
|
||||
@@ -12616,6 +12616,10 @@ msgstr "WeeChat のバージョン"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "WeeChat のバージョン (数字)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-04-13 20:09+0200\n"
|
||||
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
|
||||
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
|
||||
@@ -13589,6 +13589,10 @@ msgstr "Wersja WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "Wersja WeeChat (jako liczba)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-03-25 21:13+0100\n"
|
||||
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
|
||||
"Language-Team: Portuguese <>\n"
|
||||
@@ -12403,6 +12403,10 @@ msgstr "versão do WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "versão do WeeChat (forma numérica)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
+5
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-03-25 21:13+0100\n"
|
||||
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -10930,6 +10930,10 @@ msgstr "versão do WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "versão do WeeChat (como um número)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-03-25 21:13+0100\n"
|
||||
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -10428,6 +10428,10 @@ msgstr "слоган WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "слоган WeeChat"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-04-13 20:10+0200\n"
|
||||
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -13279,6 +13279,10 @@ msgstr "верзија програма WeeChat"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "верзија програма WeeChat (као број)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+0200\n"
|
||||
"PO-Revision-Date: 2023-03-25 21:13+0100\n"
|
||||
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -13541,6 +13541,10 @@ msgstr "WeeChat sürümü"
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr "WeeChat sürümü (sayı olarak)"
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
+5
-1
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2023-04-13 13:49+0200\n"
|
||||
"POT-Creation-Date: 2023-04-15 11:04+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"
|
||||
@@ -9390,6 +9390,10 @@ msgstr ""
|
||||
msgid "WeeChat version (as number)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"version (optional, by default the version of the running WeeChat is returned)"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"WeeChat git version (output of command \"git describe\" for a development "
|
||||
"version only, empty for a stable release)"
|
||||
|
||||
@@ -96,8 +96,10 @@ plugin_api_info_version_number_cb (const void *pointer, void *data,
|
||||
(void) info_name;
|
||||
(void) arguments;
|
||||
|
||||
snprintf (version_number, sizeof (version_number), "%d",
|
||||
util_version_number (version_get_version ()));
|
||||
snprintf (
|
||||
version_number, sizeof (version_number), "%d",
|
||||
util_version_number (
|
||||
(arguments && arguments[0]) ? arguments : version_get_version ()));
|
||||
return strdup (version_number);
|
||||
}
|
||||
|
||||
@@ -1880,7 +1882,9 @@ plugin_api_info_init ()
|
||||
NULL, &plugin_api_info_version_cb, NULL, NULL);
|
||||
hook_info (NULL, "version_number",
|
||||
N_("WeeChat version (as number)"),
|
||||
NULL, &plugin_api_info_version_number_cb, NULL, NULL);
|
||||
N_("version (optional, by default the version of the running "
|
||||
"WeeChat is returned)"),
|
||||
&plugin_api_info_version_number_cb, NULL, NULL);
|
||||
hook_info (NULL, "version_git",
|
||||
N_("WeeChat git version (output of command \"git describe\" "
|
||||
"for a development version only, empty for a stable "
|
||||
|
||||
Reference in New Issue
Block a user