1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 06:46:38 +02:00

script: rename parameters up/down/go to -up/-down/-go in command /script

This commit is contained in:
Sébastien Helleu
2023-09-15 08:43:37 +02:00
parent e62ff286ff
commit 85b5bacfe3
17 changed files with 284 additions and 91 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ New features::
* irc: remove default CTCP replies FINGER and USERINFO (issue #1974)
* irc, xfer: add support of passive DCC (issue #2004, issue #487)
* python: make stub (weechat.pyi) compatible with Python 3.8 and 3.9 (issue #2006)
* script: allow jump to the last script with command `/script go end`
* script: rename parameters up/down/go to -up/-down/-go in command `/script`
* script: allow jump to the last script with command `/script -go end`
* script: allow commands `/script autoload`, `/script noautoload`, `/script toggleautoload` with scripts not present in the repository (issue #1980)
* trigger: add options `-o`, `-ol`, `-i` and `-il` in command `/trigger list` (issue #1953)
+5 -5
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13000,7 +13000,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
"seznam [-o|-i] || hledej <text> || ukaž <script> || načti|uvolni|znovu načís "
"<script> [<script>...] || automaticky načti|nenačítejtej automaticky|přepni "
@@ -13035,9 +13035,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+101 -5
View File
@@ -26,7 +26,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-14 08:44+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -15624,17 +15624,113 @@ msgid "WeeChat script manager"
msgstr "WeeChat Skriptmanager"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
#| msgid ""
#| "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|"
#| "reload <script> [<script>...] || autoload|noautoload|toggleautoload "
#| "<script> [<script>...] || install|remove|installremove|hold [-q] <script> "
#| "[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
#, fuzzy
#| msgid ""
#| " list: list loaded scripts (all languages)\n"
#| " -o: send list of loaded scripts to buffer (string in "
#| "English)\n"
#| " -ol: send list of loaded scripts to buffer (translated "
#| "string)\n"
#| " -i: copy list of loaded scripts in command line (for sending "
#| "to buffer) (string in English)\n"
#| " -il: copy list of loaded scripts in command line (for sending "
#| "to buffer) (translated string)\n"
#| " search: search scripts by tags, language (python, perl, ...), "
#| "filename extension (py, pl, ...) or text; result is displayed on scripts "
#| "buffer\n"
#| " show: show detailed info about a script\n"
#| " load: load script(s)\n"
#| " unload: unload script(s)\n"
#| " reload: reload script(s)\n"
#| " autoload: autoload the script\n"
#| " noautoload: do not autoload the script\n"
#| "toggleautoload: toggle autoload\n"
#| " install: install/upgrade script(s)\n"
#| " remove: remove script(s)\n"
#| " installremove: install or remove script(s), depending on current state\n"
#| " hold: hold/unhold script(s) (a script held will not be upgraded "
#| "any more and cannot be removed)\n"
#| " -q: quiet mode: do not display messages\n"
#| " upgrade: upgrade all installed scripts which are obsolete (new "
#| "version available)\n"
#| " update: update local scripts cache\n"
#| " up: move the selected line up by \"number\" lines\n"
#| " down: move the selected line down by \"number\" lines\n"
#| " go: select a line by number, first line number is 0 (\"end\" "
#| "to select the last line)\n"
#| "\n"
#| "Without argument, this command opens a buffer with list of scripts.\n"
#| "\n"
#| "On script buffer, the possible status for each script are:\n"
#| " * i a H r N\n"
#| " | | | | | |\n"
#| " | | | | | obsolete (new version available)\n"
#| " | | | | running (loaded)\n"
#| " | | | held\n"
#| " | | autoloaded\n"
#| " | installed\n"
#| " popular script\n"
#| "\n"
#| "In output of /script list, the possible status for each script are:\n"
#| " * ? i a H N\n"
#| " | | | | | |\n"
#| " | | | | | obsolete (new version available)\n"
#| " | | | | held\n"
#| " | | | autoloaded\n"
#| " | | installed\n"
#| " | unknown script (can not be downloaded/updated)\n"
#| " popular script\n"
#| "\n"
#| "Keys on script buffer:\n"
#| " alt+i install script\n"
#| " alt+r remove script\n"
#| " alt+l load script\n"
#| " alt+L reload script\n"
#| " alt+u unload script\n"
#| " alt+A autoload script\n"
#| " alt+h (un)hold script\n"
#| " alt+v view script\n"
#| "\n"
#| "Input allowed on script buffer:\n"
#| " i/r/l/L/u/A/h/v action on script (same as keys above)\n"
#| " q close buffer\n"
#| " $ refresh buffer\n"
#| " s:x,y sort buffer using keys x and y (see /help script.look."
#| "sort)\n"
#| " s: reset sort (use default sort)\n"
#| " word(s) filter scripts: search word(s) in scripts "
#| "(description, tags, ...)\n"
#| " * remove filter\n"
#| "\n"
#| "Mouse actions on script buffer:\n"
#| " wheel scroll list\n"
#| " left button select script\n"
#| " right button install/remove script\n"
#| "\n"
#| "Examples:\n"
#| " /script search url\n"
#| " /script install go.py urlserver.py\n"
#| " /script remove go.py\n"
#| " /script hold urlserver.py\n"
#| " /script reload urlserver\n"
#| " /script upgrade"
msgid ""
" list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer (string in English)\n"
@@ -15662,9 +15758,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13743,7 +13743,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
msgid ""
@@ -13773,9 +13773,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+10 -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: 2023-09-14 19:39+0200\n"
"PO-Revision-Date: 2023-09-14 20:10+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-15 08:41+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -15353,12 +15353,12 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
"list [-o|-ol|-i|-il] || search <texte> || show <script> || load|unload|"
"reload <script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<nombre>] || go <ligne>|end"
"[<script>...] || upgrade || update || -up|-down [<nombre>] || -go <ligne>|end"
msgid ""
" list: list loaded scripts (all languages)\n"
@@ -15387,9 +15387,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
@@ -15477,11 +15477,11 @@ msgstr ""
" upgrade : mettre à jour les scripts obsolètes (avec nouvelle version "
"disponible)\n"
" update : mettre à jour le cache local des scripts\n"
" up : déplacer la ligne sélectionnée de \"nombre\" lignes vers le "
" -up : déplacer la ligne sélectionnée de \"nombre\" lignes vers le "
"haut\n"
" down : déplacer la ligne sélectionnée de \"nombre\" lignes vers le "
" -down : déplacer la ligne sélectionnée de \"nombre\" lignes vers le "
"bas\n"
" go : sélectionner une ligne par numéro, la première ligne est 0 "
" -go : sélectionner une ligne par numéro, la première ligne est 0 "
"(\"end\" pour sélectionner la dernière ligne)\n"
"\n"
"Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.\n"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12325,7 +12325,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
msgid ""
@@ -12355,9 +12355,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13498,7 +13498,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
msgid ""
@@ -13528,9 +13528,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -14838,7 +14838,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
@@ -14873,9 +14873,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -16188,7 +16188,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
"list [-o|-ol|-i|-il] || search <tekst> || show <skrypt> || load|unload|"
"reload <skrypt> [<skrypt>...] || autoload|noautoload|toggleautoload <skrypt> "
@@ -16308,9 +16308,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -14512,7 +14512,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
"list [-o|-i] || search <texto> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
@@ -14547,9 +14547,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12956,7 +12956,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
msgid ""
@@ -12986,9 +12986,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12367,7 +12367,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
msgid ""
@@ -12397,9 +12397,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+101 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -15069,17 +15069,113 @@ msgid "WeeChat script manager"
msgstr "Менаџер WeeChat скрипти"
#. TRANSLATORS: only text between angle brackets (eg: "<name>") must be translated
#, fuzzy
#| msgid ""
#| "list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|"
#| "reload <script> [<script>...] || autoload|noautoload|toggleautoload "
#| "<script> [<script>...] || install|remove|installremove|hold [-q] <script> "
#| "[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
"list [-o|-ol|-i|-il] || search <текст> || show <скрипта> || load|unload|"
"reload <скрипта> [<скрипта>...] || autoload|noautoload|toggleautoload "
"<скрипта> [<скрипта>...] || install|remove|installremove|hold [-q] <скрипта> "
"[<скрипта>...] || upgrade || update || up|down [<број>] || go <линија>|end"
#, fuzzy
#| msgid ""
#| " list: list loaded scripts (all languages)\n"
#| " -o: send list of loaded scripts to buffer (string in "
#| "English)\n"
#| " -ol: send list of loaded scripts to buffer (translated "
#| "string)\n"
#| " -i: copy list of loaded scripts in command line (for sending "
#| "to buffer) (string in English)\n"
#| " -il: copy list of loaded scripts in command line (for sending "
#| "to buffer) (translated string)\n"
#| " search: search scripts by tags, language (python, perl, ...), "
#| "filename extension (py, pl, ...) or text; result is displayed on scripts "
#| "buffer\n"
#| " show: show detailed info about a script\n"
#| " load: load script(s)\n"
#| " unload: unload script(s)\n"
#| " reload: reload script(s)\n"
#| " autoload: autoload the script\n"
#| " noautoload: do not autoload the script\n"
#| "toggleautoload: toggle autoload\n"
#| " install: install/upgrade script(s)\n"
#| " remove: remove script(s)\n"
#| " installremove: install or remove script(s), depending on current state\n"
#| " hold: hold/unhold script(s) (a script held will not be upgraded "
#| "any more and cannot be removed)\n"
#| " -q: quiet mode: do not display messages\n"
#| " upgrade: upgrade all installed scripts which are obsolete (new "
#| "version available)\n"
#| " update: update local scripts cache\n"
#| " up: move the selected line up by \"number\" lines\n"
#| " down: move the selected line down by \"number\" lines\n"
#| " go: select a line by number, first line number is 0 (\"end\" "
#| "to select the last line)\n"
#| "\n"
#| "Without argument, this command opens a buffer with list of scripts.\n"
#| "\n"
#| "On script buffer, the possible status for each script are:\n"
#| " * i a H r N\n"
#| " | | | | | |\n"
#| " | | | | | obsolete (new version available)\n"
#| " | | | | running (loaded)\n"
#| " | | | held\n"
#| " | | autoloaded\n"
#| " | installed\n"
#| " popular script\n"
#| "\n"
#| "In output of /script list, the possible status for each script are:\n"
#| " * ? i a H N\n"
#| " | | | | | |\n"
#| " | | | | | obsolete (new version available)\n"
#| " | | | | held\n"
#| " | | | autoloaded\n"
#| " | | installed\n"
#| " | unknown script (can not be downloaded/updated)\n"
#| " popular script\n"
#| "\n"
#| "Keys on script buffer:\n"
#| " alt+i install script\n"
#| " alt+r remove script\n"
#| " alt+l load script\n"
#| " alt+L reload script\n"
#| " alt+u unload script\n"
#| " alt+A autoload script\n"
#| " alt+h (un)hold script\n"
#| " alt+v view script\n"
#| "\n"
#| "Input allowed on script buffer:\n"
#| " i/r/l/L/u/A/h/v action on script (same as keys above)\n"
#| " q close buffer\n"
#| " $ refresh buffer\n"
#| " s:x,y sort buffer using keys x and y (see /help script.look."
#| "sort)\n"
#| " s: reset sort (use default sort)\n"
#| " word(s) filter scripts: search word(s) in scripts "
#| "(description, tags, ...)\n"
#| " * remove filter\n"
#| "\n"
#| "Mouse actions on script buffer:\n"
#| " wheel scroll list\n"
#| " left button select script\n"
#| " right button install/remove script\n"
#| "\n"
#| "Examples:\n"
#| " /script search url\n"
#| " /script install go.py urlserver.py\n"
#| " /script remove go.py\n"
#| " /script hold urlserver.py\n"
#| " /script reload urlserver\n"
#| " /script upgrade"
msgid ""
" list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer (string in English)\n"
@@ -15107,9 +15203,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+0200\n"
"PO-Revision-Date: 2023-09-06 19:13+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -15626,7 +15626,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
"list [-o|-ol|-i|-il] || search <metin> || show <betik> || load|unload|reload "
"<betik> [<betik>...] || autoload|noautoload|toggleautoload <betik> "
@@ -15746,9 +15746,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+5 -5
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-09-14 19:39+0200\n"
"POT-Creation-Date: 2023-09-15 08:41+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"
@@ -11189,7 +11189,7 @@ msgid ""
"list [-o|-ol|-i|-il] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update || up|down [<number>] || go <line>|end"
"[<script>...] || upgrade || update || -up|-down [<number>] || -go <line>|end"
msgstr ""
msgid ""
@@ -11219,9 +11219,9 @@ msgid ""
" upgrade: upgrade all installed scripts which are obsolete (new "
"version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 (\"end\" to "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 (\"end\" to "
"select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
+4 -4
View File
@@ -1094,8 +1094,8 @@ void
script_buffer_set_keys (struct t_hashtable *hashtable)
{
char *keys[][2] = {
{ "up", "up" },
{ "down", "down" },
{ "up", "-up" },
{ "down", "-down" },
{ "meta-A", "toggleautoload" },
{ "meta-l", "load" },
{ "meta-u", "unload" },
@@ -1113,8 +1113,8 @@ script_buffer_set_keys (struct t_hashtable *hashtable)
for (i = 0; keys[i][0]; i++)
{
if (weechat_config_boolean (script_config_look_use_keys)
|| (strcmp (keys[i][1], "up") == 0)
|| (strcmp (keys[i][1], "down") == 0))
|| (strcmp (keys[i][1], "-up") == 0)
|| (strcmp (keys[i][1], "-down") == 0))
{
snprintf (str_key, sizeof (str_key), "key_bind_%s", keys[i][0]);
snprintf (str_command, sizeof (str_command), "/script %s", keys[i][1]);
+11 -11
View File
@@ -202,7 +202,7 @@ script_command_script (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
if (weechat_strcmp (argv[1], "go") == 0)
if (weechat_strcmp (argv[1], "-go") == 0)
{
if ((argc > 2) && script_buffer && !script_buffer_detail_script)
{
@@ -227,7 +227,7 @@ script_command_script (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
if (weechat_strcmp (argv[1], "up") == 0)
if (weechat_strcmp (argv[1], "-up") == 0)
{
if (script_buffer)
{
@@ -261,7 +261,7 @@ script_command_script (const void *pointer, void *data,
return WEECHAT_RC_OK;
}
if (weechat_strcmp (argv[1], "down") == 0)
if (weechat_strcmp (argv[1], "-down") == 0)
{
if (script_buffer)
{
@@ -317,8 +317,8 @@ script_command_init ()
" || install|remove|installremove|hold [-q] <script> [<script>...]"
" || upgrade"
" || update"
" || up|down [<number>]"
" || go <line>|end"),
" || -up|-down [<number>]"
" || -go <line>|end"),
N_(" list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer "
"(string in English)\n"
@@ -348,9 +348,9 @@ script_command_init ()
" upgrade: upgrade all installed scripts which are obsolete "
"(new version available)\n"
" update: update local scripts cache\n"
" up: move the selected line up by \"number\" lines\n"
" down: move the selected line down by \"number\" lines\n"
" go: select a line by number, first line number is 0 "
" -up: move the selected line up by \"number\" lines\n"
" -down: move the selected line down by \"number\" lines\n"
" -go: select a line by number, first line number is 0 "
"(\"end\" to select the last line)\n"
"\n"
"Without argument, this command opens a buffer with list of scripts.\n"
@@ -427,8 +427,8 @@ script_command_init ()
" || hold %(script_scripts)|%*"
" || update"
" || upgrade"
" || up 1|2|3|4|5"
" || down 1|2|3|4|5"
" || go 0|end",
" || -up 1|2|3|4|5"
" || -down 1|2|3|4|5"
" || -go 0|end",
&script_command_script, NULL, NULL);
}