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

script: add option "reload" for command /script, fix completion of /script, add examples in /help script

This commit is contained in:
Sebastien Helleu
2012-08-17 09:55:02 +02:00
parent 43894db0bc
commit 2485831d4a
18 changed files with 436 additions and 126 deletions
+9 -1
View File
@@ -3,7 +3,7 @@
........................................
/script list
show <script>
load|unload <script> [<script>...]
load|unload|reload <script> [<script>...]
install|remove|hold <script> [<script>...]
upgrade
update
@@ -12,6 +12,7 @@
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
install: install/upgrade script(s)
remove: remove script(s)
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
@@ -44,5 +45,12 @@ Input allowed on script buffer:
s: reset sort (use default sort)
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* remove filter
Examples:
/script install iset.pl buffers.pl
/script remove iset.pl
/script hold urlserver.py
/script reload urlserver
/script upgrade
........................................
+9 -1
View File
@@ -3,7 +3,7 @@
........................................
/script list
show <script>
load|unload <script> [<script>...]
load|unload|reload <script> [<script>...]
install|remove|hold <script> [<script>...]
upgrade
update
@@ -12,6 +12,7 @@
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
install: install/upgrade script(s)
remove: remove script(s)
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
@@ -44,5 +45,12 @@ Input allowed on script buffer:
s: reset sort (use default sort)
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* remove filter
Examples:
/script install iset.pl buffers.pl
/script remove iset.pl
/script hold urlserver.py
/script reload urlserver
/script upgrade
........................................
+9 -1
View File
@@ -3,7 +3,7 @@
........................................
/script list
show <script>
load|unload <script> [<script>...]
load|unload|reload <script> [<script>...]
install|remove|hold <script> [<script>...]
upgrade
update
@@ -12,6 +12,7 @@
show: afficher des infos détaillées sur le script
load: charger un ou plusieurs scripts
unload: décharger un ou plusieurs scripts
reload: recharger un ou plusieurs scripts
install: installer/mettre à jour un ou plusieurs scripts
remove: supprimer un ou plusieurs scripts
hold: figer/défiger un ou plusieurs scripts (un script figé ne sera plus mis à jour et ne peut pas être supprimé)
@@ -44,5 +45,12 @@ Entrée autorisée sur le tampon des scripts :
s: réinitialiser le tri (utiliser le tri par défaut)
word(s) filtrer les scripts: recherche du/des mot(s) dans les scripts (description, étiquettes, ...)
* supprimer le filtre
Exemples:
/script install iset.pl buffers.pl
/script remove iset.pl
/script hold urlserver.py
/script reload urlserver
/script upgrade
........................................
+9 -1
View File
@@ -3,7 +3,7 @@
........................................
/script list
show <script>
load|unload <script> [<script>...]
load|unload|reload <script> [<script>...]
install|remove|hold <script> [<script>...]
upgrade
update
@@ -12,6 +12,7 @@
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
install: install/upgrade script(s)
remove: remove script(s)
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
@@ -44,5 +45,12 @@ Input allowed on script buffer:
s: reset sort (use default sort)
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* remove filter
Examples:
/script install iset.pl buffers.pl
/script remove iset.pl
/script hold urlserver.py
/script reload urlserver
/script upgrade
........................................
+9 -1
View File
@@ -3,7 +3,7 @@
........................................
/script list
show <script>
load|unload <script> [<script>...]
load|unload|reload <script> [<script>...]
install|remove|hold <script> [<script>...]
upgrade
update
@@ -12,6 +12,7 @@
show: show detailed info about a script
load: load script(s)
unload: unload script(s)
reload: reload script(s)
install: install/upgrade script(s)
remove: remove script(s)
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
@@ -44,5 +45,12 @@ Input allowed on script buffer:
s: reset sort (use default sort)
word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* remove filter
Examples:
/script install iset.pl buffers.pl
/script remove iset.pl
/script hold urlserver.py
/script reload urlserver
/script upgrade
........................................
+21 -9
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:01+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8200,6 +8200,10 @@ msgstr "načteny %s skripty:"
msgid "%s: unknown language for script \"%s\""
msgstr "%s: odebírám skript \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: skript \"%s\" nenačten"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: odebírám skript \"%s\""
@@ -8221,13 +8225,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s%s: skript \"%s\" nenalezen"
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s%s: skript \"%s\" nenačten"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "%s: skript \"%s\" odebrán"
#, fuzzy, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr "%s%s: server \"%s\" již existuje, nemohu jej vytvořít!"
@@ -8322,8 +8322,8 @@ msgid "WeeChat scripts manager"
msgstr "stránka WeeChat"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -8331,6 +8331,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -8365,7 +8366,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -8965,3 +8973,7 @@ msgstr ""
msgid "Constants"
msgstr ""
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "%s: skript \"%s\" odebrán"
+21 -9
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:01+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n"
@@ -8772,6 +8772,10 @@ msgstr "Installierte \"%s\" Skripten:"
msgid "%s: unknown language for script \"%s\""
msgstr "%s: Deinstalliere das Skript \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: Das Skript \"%s\" wurde nicht installiert"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: Deinstalliere das Skript \"%s\""
@@ -8793,13 +8797,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s%s: Skript \"%s\" wurde nicht gefunden"
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s%s: Das Skript \"%s\" wurde nicht installiert"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "%s: Das Skript \"%s\" wurde deinstalliert"
#, fuzzy, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr ""
@@ -8896,8 +8896,8 @@ msgid "WeeChat scripts manager"
msgstr "WeeChat Seite"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -8905,6 +8905,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -8939,7 +8940,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -9548,3 +9556,7 @@ msgstr "Type"
msgid "Constants"
msgstr "Konstanten"
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "%s: Das Skript \"%s\" wurde deinstalliert"
+21 -9
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:01+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8473,6 +8473,10 @@ msgstr "scripts en %s cargados:"
msgid "%s: unknown language for script \"%s\""
msgstr "%s: descargando el script \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: el script \"%s\" no está cargado"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: descargando el script \"%s\""
@@ -8494,13 +8498,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s%s: script \"%s\" no encontrado"
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s%s: el script \"%s\" no está cargado"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "%s: script \"%s\" descargado"
#, fuzzy, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr "%s%s: el servidor \"%s\" ya existe, ¡no se puede crear!"
@@ -8595,8 +8595,8 @@ msgid "WeeChat scripts manager"
msgstr "sitio web de WeeChat"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -8604,6 +8604,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -8638,7 +8639,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -9248,3 +9256,7 @@ msgstr "Tipo"
msgid "Constants"
msgstr "Constantes"
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "%s: script \"%s\" descargado"
+32 -13
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"PO-Revision-Date: 2012-08-16 12:19+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-17 08:07+0200\n"
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: French\n"
@@ -8549,6 +8549,10 @@ msgstr "Scripts chargés:"
msgid "%s: unknown language for script \"%s\""
msgstr "%s: langage inconnu pour le script \"%s\""
#, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s: script \"%s\" non chargé"
#, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s%s: erreur de téléchargement du script \"%s\": %s"
@@ -8570,13 +8574,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" non trouvé"
#, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s: le script \"%s\" n'est plus figé"
#, c-format
msgid "%s: script \"%s\" held"
msgstr "%s: script \"%s\" figé"
#, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr "%s: le script \"%s\" est déjà installé et à jour"
@@ -8670,17 +8670,18 @@ msgid "WeeChat scripts manager"
msgstr "Gestionnaire de scripts WeeChat"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgid ""
" list: list loaded scripts (all languages)\n"
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -8715,12 +8716,20 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
" list: lister les scripts chargés (tous les langages)\n"
" show: afficher des infos détaillées sur le script\n"
" load: charger un ou plusieurs scripts\n"
" unload: décharger un ou plusieurs scripts\n"
" reload: recharger un ou plusieurs scripts\n"
" install: installer/mettre à jour un ou plusieurs scripts\n"
" remove: supprimer un ou plusieurs scripts\n"
" hold: figer/défiger un ou plusieurs scripts (un script figé ne sera plus "
@@ -8756,7 +8765,14 @@ msgstr ""
" s: réinitialiser le tri (utiliser le tri par défaut)\n"
" word(s) filtrer les scripts: recherche du/des mot(s) dans les scripts "
"(description, étiquettes, ...)\n"
" * supprimer le filtre"
" * supprimer le filtre\n"
"\n"
"Exemples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgid "list of scripts in repository"
msgstr "liste des scripts du repository"
@@ -9370,3 +9386,6 @@ msgstr "Type"
msgid "Constants"
msgstr "Constantes"
#~ msgid "%s: script \"%s\" held"
#~ msgstr "%s: script \"%s\" figé"
+21 -9
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:01+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7680,6 +7680,10 @@ msgstr "FIFO cső bezárva\n"
msgid "%s: unknown language for script \"%s\""
msgstr "folyamat: \"%s\" szerver betöltése\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "folyamat: \"%s\" szerver betöltése\n"
@@ -7701,13 +7705,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "A \"%s\" modul eltávolítva.\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr "%s a \"%s\" szerver már létezik, nem hozhatja létre!\n"
@@ -7803,8 +7803,8 @@ msgid "WeeChat scripts manager"
msgstr "WeeChat szlogen"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -7812,6 +7812,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -7846,7 +7847,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -8462,3 +8470,7 @@ msgstr ""
msgid "Constants"
msgstr ""
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "A \"%s\" modul eltávolítva.\n"
+21 -9
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:01+0200\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8463,6 +8463,10 @@ msgstr "script %s caricati:"
msgid "%s: unknown language for script \"%s\""
msgstr "%s: scaricamento dello script \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: script \"%s\" non caricato"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: scaricamento dello script \"%s\""
@@ -8484,13 +8488,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s%s: script \"%s\" non trovato"
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s%s: script \"%s\" non caricato"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "%s: script \"%s\" scaricato"
#, fuzzy, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr "%s%s: script \"%s\" già registrato (funzione register ignorata)"
@@ -8585,8 +8585,8 @@ msgid "WeeChat scripts manager"
msgstr "sito di WeeChat"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -8594,6 +8594,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -8628,7 +8629,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -9225,3 +9233,7 @@ msgstr "Tipo"
msgid "Constants"
msgstr "Costanti"
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "%s: script \"%s\" scaricato"
+21 -9
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:01+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/WeeChat>\n"
@@ -8262,6 +8262,10 @@ msgstr "ロードされた %s スクリプト:"
msgid "%s: unknown language for script \"%s\""
msgstr "%s: スクリプト \"%s\" のアンロード中"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: スクリプト \"%s\" はロードされていません"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: スクリプト \"%s\" のアンロード中"
@@ -8283,13 +8287,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s%s: スクリプト \"%s\" が見つかりません"
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s%s: スクリプト \"%s\" はロードされていません"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "%s: スクリプト \"%s\" がアンロードされました"
#, fuzzy, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr "%s%s: サーバ \"%s\" は既に登録済みです (登録しませんでした)"
@@ -8384,8 +8384,8 @@ msgid "WeeChat scripts manager"
msgstr "WeeChat サイト"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -8393,6 +8393,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -8427,7 +8428,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -9018,3 +9026,7 @@ msgstr "タイプ"
msgid "Constants"
msgstr "定数"
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "%s: スクリプト \"%s\" がアンロードされました"
+21 -9
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:01+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8396,6 +8396,10 @@ msgstr "załadowano skrypt %s:"
msgid "%s: unknown language for script \"%s\""
msgstr "%s: wyładowuję skrypt \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: skrypt \"%s\" nie załadowany"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: wyładowuję skrypt \"%s\""
@@ -8417,13 +8421,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s%s: nie znaleziono skryptu \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s%s: skrypt \"%s\" nie załadowany"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "%s: skrypt \"%s\" wyładowano"
#, fuzzy, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr "%s%s: serwer \"%s\" już istnieje, nie mogę go utworzyć!"
@@ -8518,8 +8518,8 @@ msgid "WeeChat scripts manager"
msgstr "Strona WeeChat"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -8527,6 +8527,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -8561,7 +8562,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -9157,3 +9165,7 @@ msgstr "Typ"
msgid "Constants"
msgstr "Stałe"
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "%s: skrypt \"%s\" wyładowano"
+21 -9
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:02+0200\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7831,6 +7831,10 @@ msgstr "scripts %s carregados:"
msgid "%s: unknown language for script \"%s\""
msgstr "%s: descarregando script \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: script \"%s\" não carregado"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: descarregando script \"%s\""
@@ -7852,13 +7856,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s%s: script \"%s\" não encontrado"
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s%s: script \"%s\" não carregado"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "%s: script \"%s\" descarregado"
#, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr ""
@@ -7953,8 +7953,8 @@ msgid "WeeChat scripts manager"
msgstr "site do WeeChat"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -7962,6 +7962,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -7996,7 +7997,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -8603,3 +8611,7 @@ msgstr ""
msgid "Constants"
msgstr ""
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "%s: script \"%s\" descarregado"
+21 -9
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.9-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: 2012-08-16 12:02+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7703,6 +7703,10 @@ msgstr "FIFO pipe закрыт\n"
msgid "%s: unknown language for script \"%s\""
msgstr "сессия: загружаю сервер \"%s\"\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr "сессия: загружаю сервер \"%s\"\n"
@@ -7724,13 +7728,9 @@ msgid "%s: script \"%s\" not found"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" not held any more"
msgid "%s: script \"%s\" is not held any more"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" held"
msgstr "Plugin \"%s\" выгружен.\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" is already installed and up-to-date"
msgstr "%s сервер \"%s\" уже существует, не могу создать его!\n"
@@ -7826,8 +7826,8 @@ msgid "WeeChat scripts manager"
msgstr "слоган WeeChat"
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -7835,6 +7835,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -7869,7 +7870,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
#, fuzzy
@@ -8481,3 +8489,7 @@ msgstr ""
msgid "Constants"
msgstr ""
#, fuzzy
#~ msgid "%s: script \"%s\" held"
#~ msgstr "Plugin \"%s\" выгружен.\n"
+17 -9
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2012-08-16 12:18+0200\n"
"POT-Creation-Date: 2012-08-17 08:43+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -6761,6 +6761,10 @@ msgstr ""
msgid "%s: unknown language for script \"%s\""
msgstr ""
#, c-format
msgid "%s: script \"%s\" is not loaded"
msgstr ""
#, c-format
msgid "%s%s: error downloading script \"%s\": %s"
msgstr ""
@@ -6782,11 +6786,7 @@ msgid "%s: script \"%s\" not found"
msgstr ""
#, c-format
msgid "%s: script \"%s\" not held any more"
msgstr ""
#, c-format
msgid "%s: script \"%s\" held"
msgid "%s: script \"%s\" is not held any more"
msgstr ""
#, c-format
@@ -6879,8 +6879,8 @@ msgid "WeeChat scripts manager"
msgstr ""
msgid ""
"list || show <script> || load|unload <script> [<script>...] || install|"
"remove|hold <script> [<script>...] || upgrade || update"
"list || show <script> || load|unload|reload <script> [<script>...] || "
"install|remove|hold <script> [<script>...] || upgrade || update"
msgstr ""
msgid ""
@@ -6888,6 +6888,7 @@ msgid ""
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any more "
@@ -6922,7 +6923,14 @@ msgid ""
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in scripts (description, "
"tags, ...)\n"
" * remove filter"
" * remove filter\n"
"\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"
msgstr ""
msgid "list of scripts in repository"
+136 -12
View File
@@ -96,7 +96,7 @@ script_action_list ()
*/
void
script_action_load (const char *name)
script_action_load (const char *name, int quiet)
{
char *pos, str_command[1024];
int language;
@@ -107,9 +107,12 @@ script_action_load (const char *name)
language = script_language_search_by_extension (pos + 1);
if (language < 0)
{
weechat_printf (NULL,
_("%s: unknown language for script \"%s\""),
SCRIPT_PLUGIN_NAME, name);
if (!quiet)
{
weechat_printf (NULL,
_("%s: unknown language for script \"%s\""),
SCRIPT_PLUGIN_NAME, name);
}
return;
}
@@ -126,7 +129,7 @@ script_action_load (const char *name)
*/
void
script_action_unload (const char *name)
script_action_unload (const char *name, int quiet)
{
char *pos, hdata_name[128], *filename, *ptr_base_name, str_command[1024];
const char *ptr_filename, *ptr_registered_name;
@@ -142,9 +145,12 @@ script_action_unload (const char *name)
language = script_language_search_by_extension (pos + 1);
if (language < 0)
{
weechat_printf (NULL,
_("%s: unknown language for script \"%s\""),
SCRIPT_PLUGIN_NAME, name);
if (!quiet)
{
weechat_printf (NULL,
_("%s: unknown language for script \"%s\""),
SCRIPT_PLUGIN_NAME, name);
}
return;
}
/*
@@ -213,6 +219,117 @@ script_action_unload (const char *name)
}
}
}
if (!quiet)
{
weechat_printf (NULL,
_("%s: script \"%s\" is not loaded"),
SCRIPT_PLUGIN_NAME, name);
}
}
/*
* script_action_reload: reload a script
*/
void
script_action_reload (const char *name, int quiet)
{
char *pos, hdata_name[128], *filename, *ptr_base_name, str_command[1024];
const char *ptr_filename, *ptr_registered_name;
int language, found, i;
struct t_hdata *hdata;
void *ptr_script;
language = -1;
pos = strrchr (name, '.');
if (pos)
{
/* reload script by using name + extension (example: "iset.pl") */
language = script_language_search_by_extension (pos + 1);
if (language < 0)
{
if (!quiet)
{
weechat_printf (NULL,
_("%s: unknown language for script \"%s\""),
SCRIPT_PLUGIN_NAME, name);
}
return;
}
/*
* search registered name of script using name with extension,
* for example with "iset.pl" we should find "iset"
*/
snprintf (hdata_name, sizeof (hdata_name),
"%s_script", script_language[language]);
hdata = weechat_hdata_get (hdata_name);
ptr_script = weechat_hdata_get_list (hdata, "scripts");
while (ptr_script)
{
found = 0;
ptr_filename = weechat_hdata_string (hdata, ptr_script, "filename");
if (ptr_filename)
{
filename = strdup (ptr_filename);
if (filename)
{
ptr_base_name = basename (filename);
if (strcmp (ptr_base_name, name) == 0)
found = 1;
free (filename);
}
}
if (found)
{
ptr_registered_name = weechat_hdata_string (hdata, ptr_script,
"name");
if (ptr_registered_name)
{
snprintf (str_command, sizeof (str_command),
"/%s reload %s",
script_language[language],
ptr_registered_name);
weechat_command (NULL, str_command);
}
return;
}
ptr_script = weechat_hdata_move (hdata, ptr_script, 1);
}
}
else
{
/* reload script by using name (example: "iset") */
for (i = 0; script_language[i]; i++)
{
snprintf (hdata_name, sizeof (hdata_name),
"%s_script", script_language[i]);
hdata = weechat_hdata_get (hdata_name);
ptr_script = weechat_hdata_get_list (hdata, "scripts");
while (ptr_script)
{
ptr_registered_name = weechat_hdata_string (hdata, ptr_script,
"name");
if (strcmp (ptr_registered_name, name) == 0)
{
snprintf (str_command, sizeof (str_command),
"/%s reload %s",
script_language[i],
name);
weechat_command (NULL, str_command);
return;
}
ptr_script = weechat_hdata_move (hdata, ptr_script, 1);
}
}
}
if (!quiet)
{
weechat_printf (NULL,
_("%s: script \"%s\" is not loaded"),
SCRIPT_PLUGIN_NAME, name);
}
}
/*
@@ -411,7 +528,7 @@ script_action_hold (const char *name, int quiet)
if (!quiet)
{
weechat_printf (NULL,
_("%s: script \"%s\" not "
_("%s: script \"%s\" is not "
"held any more"),
SCRIPT_PLUGIN_NAME, name);
}
@@ -422,7 +539,7 @@ script_action_hold (const char *name, int quiet)
if (!quiet)
{
weechat_printf (NULL,
_("%s: script \"%s\" held"),
_("%s: script \"%s\" is held"),
SCRIPT_PLUGIN_NAME, name);
}
}
@@ -538,14 +655,21 @@ script_action_run ()
{
for (j = 1; j < argc; j++)
{
script_action_load (argv[j]);
script_action_load (argv[j], quiet);
}
}
else if (weechat_strcasecmp (argv[0], "unload") == 0)
{
for (j = 1; j < argc; j++)
{
script_action_unload (argv[j]);
script_action_unload (argv[j], quiet);
}
}
else if (weechat_strcasecmp (argv[0], "reload") == 0)
{
for (j = 1; j < argc; j++)
{
script_action_reload (argv[j], quiet);
}
}
else if (weechat_strcasecmp (argv[0], "install") == 0)
+17 -6
View File
@@ -109,7 +109,8 @@ script_command_script (void *data, struct t_gui_buffer *buffer, int argc,
}
if ((weechat_strcasecmp (argv[1], "load") == 0)
|| (weechat_strcasecmp (argv[1], "unload") == 0))
|| (weechat_strcasecmp (argv[1], "unload") == 0)
|| (weechat_strcasecmp (argv[1], "reload") == 0))
{
script_command_action (buffer,
argv[1],
@@ -214,13 +215,14 @@ script_command_init ()
weechat_hook_command ("script",
N_("WeeChat scripts manager"),
N_("list || show <script>"
" || load|unload <script> [<script>...]"
" || load|unload|reload <script> [<script>...]"
" || install|remove|hold <script> [<script>...]"
" || upgrade || update"),
N_(" list: list loaded scripts (all languages)\n"
" show: show detailed info about a script\n"
" load: load script(s)\n"
" unload: unload script(s)\n"
" reload: reload script(s)\n"
" install: install/upgrade script(s)\n"
" remove: remove script(s)\n"
" hold: hold/unhold script(s) (a script held "
@@ -255,16 +257,25 @@ script_command_init ()
" s: reset sort (use default sort)\n"
" word(s) filter scripts: search word(s) in "
"scripts (description, tags, ...)\n"
" * remove filter"),
" * remove filter\n\n"
"Examples:\n"
" /script install iset.pl buffers.pl\n"
" /script remove iset.pl\n"
" /script hold urlserver.py\n"
" /script reload urlserver\n"
" /script upgrade"),
"list"
" || show %(script_scripts)"
" || load %(script_files)"
" || load %(script_files)|%*"
" || unload %(python_script)|%(perl_script)|"
"%(ruby_script)|%(tcl_script)|%(lua_script)|"
"%(guile_script)"
"%(guile_script)|%*"
" || reload %(python_script)|%(perl_script)|"
"%(ruby_script)|%(tcl_script)|%(lua_script)|"
"%(guile_script)|%*"
" || install %(script_scripts)|%*"
" || remove %(script_scripts_installed)|%*"
" || hold %(script_scripts)"
" || hold %(script_scripts)|%*"
" || update"
" || upgrade",
&script_command_script, NULL);