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

script: add control of autoload (enable/disable/toggle) (task #12393)

New option script.scripts.autoload, new options autoload/noautoload/toggleautoload
for command /script, new action "A" (meta-A) on script buffer (toggle autoload).
This commit is contained in:
Sebastien Helleu
2013-02-25 08:46:41 +01:00
parent 87b5096972
commit b60aec975b
35 changed files with 1227 additions and 535 deletions
+4 -1
View File
@@ -1,7 +1,7 @@
WeeChat ChangeLog WeeChat ChangeLog
================= =================
Sébastien Helleu <flashcode@flashtux.org> Sébastien Helleu <flashcode@flashtux.org>
v0.4.1-dev, 2013-02-23 v0.4.1-dev, 2013-02-25
This document lists all changes for each version. This document lists all changes for each version.
@@ -54,6 +54,9 @@ Version 0.4.1 (under dev!)
* rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new * rmodifier: rename default rmodifier "nickserv" to "command_auth" (with new
modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier modifier "irc_command_auth"), add default rmodifier "message_auth" (modifier
"irc_message_auth") "irc_message_auth")
* script: add option script.scripts.autoload, add options "autoload",
"noautoload" and "toggleautoload" for command /script, add action "A" (meta-A)
on script buffer (toggle autoload) (task #12393)
* scripts: do not allow empty script name in function "register" * scripts: do not allow empty script name in function "register"
Version 0.4.0 (2013-01-20) Version 0.4.0 (2013-01-20)
+48 -44
View File
@@ -5,62 +5,66 @@
search <text> search <text>
show <script> show <script>
load|unload|reload <script> [<script>...] load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...] install|remove|installremove|hold [-q] <script> [<script>...]
upgrade upgrade
update update
list: gibt alle geladenen Skripten im Buffer aus (unabhängig der Programmiersprache) list: list loaded scripts (all languages)
-o: gibt eine Liste der gestarteten Skripten im Buffer aus -o: send list of loaded scripts to buffer
-i: eine Liste der gestarteten Skripten wird in die Eingabezeile kopiert (um sie dann manuell in einen Buffer zu senden) -i: copy list of loaded scripts in command line (for sending to buffer)
search: sucht Skripten nach Schlagwörtern oder beliebigem Text. Das Ergebnis wird im Skripten-Buffer dargestellt search: search scripts by tags or text and display result on scripts buffer
show: zeigt detailliert Informationen zu einem Skript an show: show detailed info about a script
load: startet Skript(en) load: load script(s)
unload: beendet Skript(en) unload: unload script(s)
reload: Skript(en) werden neu geladen reload: reload script(s)
install: installiert/aktualisiert Skript(en) (physikalisch, auf dem Datenträger) autoload: autoload the script
remove: deinstalliert Skript(en) (physikalisch, vom Datenträger) noautoload: do not autoload the script
installremove: installiert oder deinstalliert Skript(en), abhängig davon welcher Status vorliegt toggleautoload: toggle autoload
hold: halten/freigeben von Skript(en) (ein Skript welches gehalten wird, kann weder aktualisiert noch entfernt werden) install: install/upgrade script(s)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben remove: remove script(s)
upgrade: aktualisiert alle installierten Skripten, die obsolet sind (wenn eine neue Version verfügbar ist) installremove: install or remove script(s), depending on current state
update: aktualisiert den lokalen Cache für die Skripten hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
Ohne Angaben von Argumenten öffnet dieser Befehl einen Buffer in welchem eine Liste der Skripten dargestellt wird. Without argument, this command opens a buffer with list of scripts.
Im Skript-Buffer, werden folgende Statusangaben zu einem Skript angezeigt: On script buffer, the possible status for each script are:
* i a H r N * i a H r N
| | | | | | | | | | | |
| | | | | obsolete (neue Version verfügbar) | | | | | obsolete (new version available)
| | | | Skript wird ausgeführt (geladen) | | | | running (loaded)
| | | gehalten | | | held
| | Skript wird beim Start, von Weechat, automatisch gestartet | | autoloaded
| Skript ist installiert (wird aber nicht ausgeführt) | installed
es wird empfohlen dieses Skript zu installieren popular script
Tastenbefehle die im Skript-Buffer genutzt werden können: Keys on script buffer:
alt+i installiert Skript (physikalisch) alt+i install script
alt+r deinstalliert Skript (physikalisch alt+r remove script
alt+l startet ein Skript (Skript wird ausgeführt) alt+l load script
alt+L Skript wird neu gestartet alt+L reload script
alt+u beendet ein Skript alt+u unload script
alt+h Skript wird gehalten bzw. freigegeben alt+h (un)hold script
alt+v Skript anzeigen alt+v view script
Befehle die in der Eingabezeile des Skript-Buffers eingegeben werden können: Input allowed on script buffer:
i/r/l/L/u/h Aktionen die für ein Skript ausgeführt werden können (siehe Tastenbefehle, weiter oben) i/r/l/L/u/h action on script (same as keys above)
q schließt den Buffer q close buffer
$ Buffer wird aktualisiert $ refresh buffer
s:x,y Buffer wird nach den Vorgaben x und y sortiert (siehe /help script.look.sort) s:x,y sort buffer using keys x and y (see /help script.look.sort)
s: die Sortierung des Buffers wird zurückgesetzt (Standardwerte werden genutzt) s: reset sort (use default sort)
word(s) Skripten werden gefiltert: sucht nach einem oder mehreren Wörtern in den Skripten (der Beschreibung, in den Schlagwörtern, ...) word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* Filter wird zurückgesetzt * remove filter
Mausbefehle innerhalb des Skripten-Buffer: Mouse actions on script buffer:
Mausrad in der Liste scrollen wheel scroll list
linke Maustaste Skript anwählen left button select script
rechte Maustaste Skript installieren/entfernen right button install/remove script
Beispiele: Examples:
/script search url /script search url
/script install iset.pl buffers.pl /script install iset.pl buffers.pl
/script remove iset.pl /script remove iset.pl
+5
View File
@@ -168,6 +168,11 @@
** Typ: boolesch ** Typ: boolesch
** Werte: on, off (Standardwert: `on`) ** Werte: on, off (Standardwert: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** Beschreibung: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire* * [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** Beschreibung: `Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = umgehend)` ** Beschreibung: `Ablaufdatum des lokalen Caches, in Minuten (-1 = ohne Ablaufdatum, 0 = umgehend)`
** Typ: integer ** Typ: integer
+19 -15
View File
@@ -5,25 +5,29 @@
search <text> search <text>
show <script> show <script>
load|unload|reload <script> [<script>...] load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...] install|remove|installremove|hold [-q] <script> [<script>...]
upgrade upgrade
update update
list: list loaded scripts (all languages) list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer -o: send list of loaded scripts to buffer
-i: copy list of loaded scripts in command line (for sending to buffer) -i: copy list of loaded scripts in command line (for sending to buffer)
search: search scripts by tags or text and display result on scripts buffer search: search scripts by tags or text and display result on scripts buffer
show: show detailed info about a script show: show detailed info about a script
load: load script(s) load: load script(s)
unload: unload script(s) unload: unload script(s)
reload: reload script(s) reload: reload script(s)
install: install/upgrade script(s) autoload: autoload the script
remove: remove script(s) noautoload: do not autoload the script
installremove: install or remove script(s), depending on current state toggleautoload: toggle autoload
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed) install: install/upgrade script(s)
-q: quiet mode: do not display messages remove: remove script(s)
upgrade: upgrade all installed scripts which are obsolete (new version available) installremove: install or remove script(s), depending on current state
update: update local scripts cache hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
Without argument, this command opens a buffer with list of scripts. Without argument, this command opens a buffer with list of scripts.
+5
View File
@@ -168,6 +168,11 @@
** type: boolean ** type: boolean
** values: on, off (default value: `on`) ** values: on, off (default value: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** description: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
** type: boolean
** values: on, off (default value: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire* * [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** description: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)` ** description: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
** type: integer ** type: integer
+19 -15
View File
@@ -5,25 +5,29 @@
search <texte> search <texte>
show <script> show <script>
load|unload|reload <script> [<script>...] load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...] install|remove|installremove|hold [-q] <script> [<script>...]
upgrade upgrade
update update
list: lister les scripts chargés (tous les langages) list: lister les scripts chargés (tous les langages)
-o: envoyer la liste des scripts chargés au tampon -o: envoyer la liste des scripts chargés au tampon
-i: copier la liste des scripts chargés dans la ligne de commande (pour envoi au tampon) -i: copier la liste des scripts chargés dans la ligne de commande (pour envoi au tampon)
search: chercher des scripts par étiquettes ou texte et afficher le résultat sur le tampon des scripts search: chercher des scripts par étiquettes ou texte et afficher le résultat sur le tampon des scripts
show: afficher des infos détaillées sur le script show: afficher des infos détaillées sur le script
load: charger un ou plusieurs scripts load: charger un ou plusieurs scripts
unload: décharger un ou plusieurs scripts unload: décharger un ou plusieurs scripts
reload: recharger un ou plusieurs scripts reload: recharger un ou plusieurs scripts
install: installer/mettre à jour un ou plusieurs scripts autoload: charger automatiquement un ou plusieurs scripts
remove: supprimer un ou plusieurs scripts noautoload: ne pas charger automatiquement un ou plusieurs scripts
installremove: installer ou supprimer un ou plusieurs scripts, selon l'état courant toggleautoload: activer/désactiver le chargement automatique
hold: figer/défiger un ou plusieurs scripts (un script figé ne sera plus mis à jour et ne peut pas être supprimé) install: installer/mettre à jour un ou plusieurs scripts
-q: mode silencieux: ne pas afficher de messages remove: supprimer un ou plusieurs scripts
upgrade: mettre à jour les scripts obsolètes (avec nouvelle version disponible) installremove: installer ou supprimer un ou plusieurs scripts, selon l'état courant
update: mettre à jour le cache local des scripts hold: figer/défiger un ou plusieurs scripts (un script figé ne sera plus mis à jour et ne peut pas être supprimé)
-q: mode silencieux: ne pas afficher de messages
upgrade: mettre à jour les scripts obsolètes (avec nouvelle version disponible)
update: mettre à jour le cache local des scripts
Sans paramètre, cette commande ouvre un tampon avec la liste des scripts. Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.
+5
View File
@@ -168,6 +168,11 @@
** type: booléen ** type: booléen
** valeurs: on, off (valeur par défaut: `on`) ** valeurs: on, off (valeur par défaut: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** description: `charger automatiquement les scripts installés (faire un lien dans le répertoire "autoload" vers le script dans le répertoire parent)`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire* * [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** description: `temps d'expiration du cache local, en minutes (-1 = n'expire jamais, 0 = expire toujours)` ** description: `temps d'expiration du cache local, en minutes (-1 = n'expire jamais, 0 = expire toujours)`
** type: entier ** type: entier
+19 -15
View File
@@ -5,25 +5,29 @@
search <text> search <text>
show <script> show <script>
load|unload|reload <script> [<script>...] load|unload|reload <script> [<script>...]
autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...] install|remove|installremove|hold [-q] <script> [<script>...]
upgrade upgrade
update update
list: list loaded scripts (all languages) list: list loaded scripts (all languages)
-o: send list of loaded scripts to buffer -o: send list of loaded scripts to buffer
-i: copy list of loaded scripts in command line (for sending to buffer) -i: copy list of loaded scripts in command line (for sending to buffer)
search: search scripts by tags or text and display result on scripts buffer search: search scripts by tags or text and display result on scripts buffer
show: show detailed info about a script show: show detailed info about a script
load: load script(s) load: load script(s)
unload: unload script(s) unload: unload script(s)
reload: reload script(s) reload: reload script(s)
install: install/upgrade script(s) autoload: autoload the script
remove: remove script(s) noautoload: do not autoload the script
installremove: install or remove script(s), depending on current state toggleautoload: toggle autoload
hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed) install: install/upgrade script(s)
-q: quiet mode: do not display messages remove: remove script(s)
upgrade: upgrade all installed scripts which are obsolete (new version available) installremove: install or remove script(s), depending on current state
update: update local scripts cache hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
Without argument, this command opens a buffer with list of scripts. Without argument, this command opens a buffer with list of scripts.
+5
View File
@@ -168,6 +168,11 @@
** tipo: bool ** tipo: bool
** valori: on, off (valore predefinito: `on`) ** valori: on, off (valore predefinito: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** descrizione: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire* * [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** descrizione: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)` ** descrizione: `local cache expiration time, in minutes (-1 = never expires, 0 = always expire)`
** tipo: intero ** tipo: intero
+50 -46
View File
@@ -1,66 +1,70 @@
[[command_script_script]] [[command_script_script]]
[command]*`script`* WeeChat スクリプトマネージャ:: [command]*`script`* WeeChat スクリプトマネージャ::
........................................ ........................................
/script list /script list [-o|-i]
search <text> search <text>
show <script> show <script>
load|unload|reload <script> [<script>...] load|unload|reload <script> [<script>...]
install|remove|hold <script> [<script>...] autoload|noautoload|toggleautoload <script> [<script>...]
install|remove|installremove|hold [-q] <script> [<script>...]
upgrade upgrade
update update
list: ロード済みスクリプトの表示 (すべての言語) list: list loaded scripts (all languages)
-o: バッファにロード済みスクリプトのリストを表示 -o: send list of loaded scripts to buffer
-i: コマンドラインにロード済みスクリプトのリストをコピー (バッファ送信用) -i: copy list of loaded scripts in command line (for sending to buffer)
search: タグまたはテキストでスクリプトを検索し、スクリプトバッファに結果を表示 search: search scripts by tags or text and display result on scripts buffer
show: スクリプトに関する詳細を表示 show: show detailed info about a script
load: スクリプトのロード (複数可) load: load script(s)
unload: スクリプトのアンロード (複数可) unload: unload script(s)
reload: スクリプトのリロード (複数可) reload: reload script(s)
install: スクリプトのインストール/アップグレード (複数可) autoload: autoload the script
remove: スクリプトの削除 (複数可) noautoload: do not autoload the script
installremove: スクリプトのインストール又は削除 (複数可)、スクリプトの状態に依存 toggleautoload: toggle autoload
hold: スクリプトのホールド/アンホールド (複数可) (ホールドされたスクリプトはアップグレードされず、削除もできなくなる) install: install/upgrade script(s)
-q: 出力を抑制するモード: メッセージを表示しない remove: remove script(s)
upgrade: 全ての古いインストール済みスクリプトをアップグレード (新バージョンが利用可能な場合) installremove: install or remove script(s), depending on current state
update: ローカルスクリプトキャッシュのアップデート hold: hold/unhold script(s) (a script held will not be upgraded any more and cannot be removed)
-q: quiet mode: do not display messages
upgrade: upgrade all installed scripts which are obsolete (new version available)
update: update local scripts cache
引数がない場合、スクリプト表示用にバッファを開く Without argument, this command opens a buffer with list of scripts.
スクリプトバッファでは、以下の状態識別子が利用できます: On script buffer, the possible status for each script are:
* i a H r N * i a H r N
| | | | | | | | | | | |
| | | | | アップデートが必要 (新バージョンが利用可能) | | | | | obsolete (new version available)
| | | | 起動済み (ロード済み) | | | | running (loaded)
| | | ホールド状態 | | | held
| | 自動ロード | | autoloaded
| インストール済み | installed
人気のあるスクリプト popular script
スクリプトバッファで利用可能なキーの組み合わせ: Keys on script buffer:
alt+i スクリプトのインストール alt+i install script
alt+r スクリプトの削除 alt+r remove script
alt+l スクリプトのロード alt+l load script
alt+L スクリプトのリロード alt+L reload script
alt+u スクリプトのアンロード alt+u unload script
alt+h スクリプトの(アン)ホールド alt+h (un)hold script
alt+v スクリプトの表示 alt+v view script
スクリプトバッファで利用可能な入力: Input allowed on script buffer:
i/r/l/L/u/h スクリプトに対するアクション (上記キーと同じ) i/r/l/L/u/h action on script (same as keys above)
q バッファを閉じる q close buffer
$ バッファのリフレッシュ $ refresh buffer
s:x,y x と y をキーにしてバッファをソート (/help script.look.sort 参照) s:x,y sort buffer using keys x and y (see /help script.look.sort)
s: ソート解除 (デフォルトのソート順) s: reset sort (use default sort)
word(s) スクリプトのフィルタ: スクリプトを単語で検索 (複数可) (説明、タグ、...) word(s) filter scripts: search word(s) in scripts (description, tags, ...)
* フィルタの解除 * remove filter
スクリプトバッファにおけるマウス操作: Mouse actions on script buffer:
ホイール リストのスクロール wheel scroll list
左ボタン スクリプトの選択 left button select script
右ボタン スクリプトのインストール / 削除 right button install/remove script
: Examples:
/script search url /script search url
/script install iset.pl buffers.pl /script install iset.pl buffers.pl
/script remove iset.pl /script remove iset.pl
+5
View File
@@ -168,6 +168,11 @@
** タイプ: ブール ** タイプ: ブール
** 値: on, off (デフォルト値: `on`) ** 値: on, off (デフォルト値: `on`)
* [[option_script.scripts.autoload]] *script.scripts.autoload*
** 説明: `autoload scripts installed (make a link in "autoload" directory to script in parent directory`
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
* [[option_script.scripts.cache_expire]] *script.scripts.cache_expire* * [[option_script.scripts.cache_expire]] *script.scripts.cache_expire*
** 説明: `ローカルキャッシュが無効になる時間、分単位 (-1 = 再取得しない、0 = 常に再取得)` ** 説明: `ローカルキャッシュが無効になる時間、分単位 (-1 = 再取得しない、0 = 常に再取得)`
** タイプ: 整数 ** タイプ: 整数
+47 -26
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 11:11+0100\n" "PO-Revision-Date: 2013-02-23 11:11+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8495,6 +8495,18 @@ msgstr "%s%s: skript \"%s\" nenačten"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: skript \"%s\" nenačten" msgstr "%s%s: skript \"%s\" nenačten"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: odebírám skript \"%s\""
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "%s: odebírám skript \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s%s: skript \"%s\" nenalezen"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: odebírám skript \"%s\"" msgstr "%s: odebírám skript \"%s\""
@@ -8509,10 +8521,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: odebírám skript \"%s\"" msgstr "%s: odebírám skript \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s%s: skript \"%s\" nenalezen"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s%s: skript \"%s\" nenačten" msgstr "%s%s: skript \"%s\" nenačten"
@@ -8605,9 +8613,9 @@ msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
msgid "Scripts" msgid "Scripts"
@@ -8619,30 +8627,34 @@ msgstr "stránka WeeChat"
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -8848,6 +8860,11 @@ msgstr "barva textu řádku vybraného klienta"
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "barva textu řádku vybraného klienta" msgstr "barva textu řádku vybraného klienta"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -9350,3 +9367,7 @@ msgstr ""
msgid "Constants" msgid "Constants"
msgstr "" msgstr ""
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s%s: skript \"%s\" nenačten"
+52 -27
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 18:30+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 18:31+0100\n" "PO-Revision-Date: 2013-02-23 18:31+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n" "Language-Team: German <weechatter@arcor.de>\n"
@@ -9255,6 +9255,20 @@ msgstr "%s: Erweiterung \"%s\" ist nicht installiert"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s: Das Skript \"%s\" wurde nicht installiert" msgstr "%s: Das Skript \"%s\" wurde nicht installiert"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr ""
"%s: Skript \"%s\" liegt in einer nicht unterstützen Programmiersprache vor"
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr ""
"%s: Skript \"%s\" liegt in einer nicht unterstützen Programmiersprache vor"
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: Skript \"%s\" nicht gefunden"
#, c-format #, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s%s: Fehler beim Herunterladen des Skriptes \"%s\": %s" msgstr "%s%s: Fehler beim Herunterladen des Skriptes \"%s\": %s"
@@ -9270,10 +9284,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: Lade Skript \"%s\" herunter..." msgstr "%s: Lade Skript \"%s\" herunter..."
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: Skript \"%s\" nicht gefunden"
#, c-format #, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s: Skript \"%s\" ist nicht installiert" msgstr "%s: Skript \"%s\" ist nicht installiert"
@@ -9360,12 +9370,12 @@ msgstr "Max WeeChat"
msgid "Alt+key/input: v=back to list d=jump to diff" msgid "Alt+key/input: v=back to list d=jump to diff"
msgstr "Alt+Taste/Eingabezeile: v=zurück zur Liste d=gehe zu Diff" msgstr "Alt+Taste/Eingabezeile: v=zurück zur Liste d=gehe zu Diff"
#, c-format #, fuzzy, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
"%d/%d Skripten (Filter: %s) | Sortierung: %s | Alt+Taste/Eingabe: " "%d/%d Skripten (Filter: %s) | Sortierung: %s | Alt+Taste/Eingabe: "
"i=installieren r=entfernen l=starten L=erneut starten u=beenden h=halten/" "i=installieren r=entfernen l=starten L=erneut starten u=beenden h=halten/"
@@ -9379,35 +9389,41 @@ msgstr "Skripten"
msgid "WeeChat scripts manager" msgid "WeeChat scripts manager"
msgstr "WeeChat Skripten-Manager" msgstr "WeeChat Skripten-Manager"
#, fuzzy
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
#, fuzzy
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -9708,6 +9724,11 @@ msgstr ""
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "Hintergrundfarbe" msgstr "Hintergrundfarbe"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -10225,3 +10246,7 @@ msgstr "Type"
msgid "Constants" msgid "Constants"
msgstr "Konstanten" msgstr "Konstanten"
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s: Das Skript \"%s\" wurde nicht installiert"
+47 -26
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 11:11+0100\n" "PO-Revision-Date: 2013-02-23 11:11+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n" "Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8755,6 +8755,18 @@ msgstr "%s: el plugin \"%s\" no está cargado"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s: el script \"%s\" no está cargado" msgstr "%s: el script \"%s\" no está cargado"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: lenguaje del script \"%s\" desconocido"
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "%s: lenguaje del script \"%s\" desconocido"
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" no encontrado"
#, c-format #, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s%s: error al descargar el script \"%s\": %s" msgstr "%s%s: error al descargar el script \"%s\": %s"
@@ -8769,10 +8781,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: descargando el script \"%s\"..." msgstr "%s: descargando el script \"%s\"..."
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" no encontrado"
#, c-format #, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s: el script \"%s\" no esta instalado" msgstr "%s: el script \"%s\" no esta instalado"
@@ -8859,9 +8867,9 @@ msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
msgid "Scripts" msgid "Scripts"
@@ -8872,30 +8880,34 @@ msgstr "Administrador de scripts de WeeChat"
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -9089,6 +9101,11 @@ msgstr ""
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "color de fondo para la línea seleccionada en el buffer de scripts" msgstr "color de fondo para la línea seleccionada en el buffer de scripts"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -9593,3 +9610,7 @@ msgstr "Tipo"
msgid "Constants" msgid "Constants"
msgstr "Constantes" msgstr "Constantes"
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s: el script \"%s\" no está cargado"
+74 -48
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 12:50+0100\n" "PO-Revision-Date: 2013-02-24 22:19+0100\n"
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: French\n" "Language: French\n"
@@ -9011,6 +9011,18 @@ msgstr "%s: l'extension \"%s\" n'est pas chargée"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s: script \"%s\" non chargé" msgstr "%s: script \"%s\" non chargé"
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: chargement automatique activé pour le script \"%s\""
#, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "%s: chargement automatique désactivé pour le script \"%s\""
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" non trouvé"
#, c-format #, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s%s: erreur de téléchargement du script \"%s\": %s" msgstr "%s%s: erreur de téléchargement du script \"%s\": %s"
@@ -9026,10 +9038,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: téléchargement du script \"%s\"..." msgstr "%s: téléchargement du script \"%s\"..."
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" non trouvé"
#, c-format #, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s: le script \"%s\" n'est pas installé" msgstr "%s: le script \"%s\" n'est pas installé"
@@ -9117,14 +9125,14 @@ msgstr "Alt+touche/entrée: v=retour à la liste d=sauter au diff"
#, c-format #, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
"%d/%d scripts (filtre: %s) | Tri: %s | Alt+touche/entrée: i=installer " "%d/%d scripts (filtre: %s) | Tri: %s | Alt+touche/entrée: i=installer "
"r=supprimer l=charger L=recharger u=décharger h=(dé)figer v=voir script | " "r=supprimer l=charger L=recharger u=décharger A=chargement auto h=(dé)figer "
"Entrée: q=fermer $=rafraîchir s:x,y=trier words=filtrer *=réinit filtre | " "v=voir script | Entrée: q=fermer $=rafraîchir s:x,y=trier words=filtrer "
"Souris: gauche=sélectionner droit=installer/supprimer" "*=réinit filtre | Souris: gauche=sélectionner droit=installer/supprimer"
msgid "Scripts" msgid "Scripts"
msgstr "Scripts" msgstr "Scripts"
@@ -9134,33 +9142,38 @@ msgstr "Gestionnaire de scripts WeeChat"
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list [-o|-i] || search <texte> || show <script> || load|unload|reload " "list [-o|-i] || search <texte> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -9206,26 +9219,29 @@ msgid ""
" /script reload urlserver\n" " /script reload urlserver\n"
" /script upgrade" " /script upgrade"
msgstr "" msgstr ""
" list: lister les scripts chargés (tous les langages)\n" " list: lister les scripts chargés (tous les langages)\n"
" -o: envoyer la liste des scripts chargés au tampon\n" " -o: envoyer la liste des scripts chargés au tampon\n"
" -i: copier la liste des scripts chargés dans la ligne de commande " " -i: copier la liste des scripts chargés dans la ligne de "
"(pour envoi au tampon)\n" "commande (pour envoi au tampon)\n"
" search: chercher des scripts par étiquettes ou texte et afficher le " " search: chercher des scripts par étiquettes ou texte et afficher le "
"résultat sur le tampon des scripts\n" "résultat sur le tampon des scripts\n"
" show: afficher des infos détaillées sur le script\n" " show: afficher des infos détaillées sur le script\n"
" load: charger un ou plusieurs scripts\n" " load: charger un ou plusieurs scripts\n"
" unload: décharger un ou plusieurs scripts\n" " unload: décharger un ou plusieurs scripts\n"
" reload: recharger un ou plusieurs scripts\n" " reload: recharger un ou plusieurs scripts\n"
" install: installer/mettre à jour un ou plusieurs scripts\n" " autoload: charger automatiquement un ou plusieurs scripts\n"
" remove: supprimer un ou plusieurs scripts\n" " noautoload: ne pas charger automatiquement un ou plusieurs scripts\n"
"installremove: installer ou supprimer un ou plusieurs scripts, selon l'état " "toggleautoload: activer/désactiver le chargement automatique\n"
" install: installer/mettre à jour un ou plusieurs scripts\n"
" remove: supprimer un ou plusieurs scripts\n"
" installremove: installer ou supprimer un ou plusieurs scripts, selon l'état "
"courant\n" "courant\n"
" hold: figer/défiger un ou plusieurs scripts (un script figé ne sera " " hold: figer/défiger un ou plusieurs scripts (un script figé ne "
"plus mis à jour et ne peut pas être supprimé)\n" "sera plus mis à jour et ne peut pas être supprimé)\n"
" -q: mode silencieux: ne pas afficher de messages\n" " -q: mode silencieux: ne pas afficher de messages\n"
" upgrade: mettre à jour les scripts obsolètes (avec nouvelle version " " upgrade: mettre à jour les scripts obsolètes (avec nouvelle version "
"disponible)\n" "disponible)\n"
" update: mettre à jour le cache local des scripts\n" " update: mettre à jour le cache local des scripts\n"
"\n" "\n"
"Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.\n" "Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.\n"
"\n" "\n"
@@ -9448,6 +9464,13 @@ msgstr ""
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "couleur du fond pour la ligne sélectionnée dans le tampon script" msgstr "couleur du fond pour la ligne sélectionnée dans le tampon script"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
"charger automatiquement les scripts installés (faire un lien dans le "
"répertoire \"autoload\" vers le script dans le répertoire parent)"
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -9963,3 +9986,6 @@ msgstr "Type"
msgid "Constants" msgid "Constants"
msgstr "Constantes" msgstr "Constantes"
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s: le script \"%s\" est maintenant automatiquement chargé"
+47 -26
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 11:11+0100\n" "PO-Revision-Date: 2013-02-23 11:11+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7952,6 +7952,18 @@ msgstr "%s a \"%s\" szerver nem található\n"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s a \"%s\" szerver nem található\n" msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "folyamat: \"%s\" szerver betöltése\n"
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "folyamat: \"%s\" szerver betöltése\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "folyamat: \"%s\" szerver betöltése\n" msgstr "folyamat: \"%s\" szerver betöltése\n"
@@ -7967,10 +7979,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "folyamat: \"%s\" szerver betöltése\n" msgstr "folyamat: \"%s\" szerver betöltése\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s a \"%s\" szerver nem található\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s a \"%s\" szerver nem található\n" msgstr "%s a \"%s\" szerver nem található\n"
@@ -8065,9 +8073,9 @@ msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
msgid "Scripts" msgid "Scripts"
@@ -8079,30 +8087,34 @@ msgstr "WeeChat szlogen"
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -8308,6 +8320,11 @@ msgstr "szerver nevének színe"
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "szerver nevének színe" msgstr "szerver nevének színe"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -8826,3 +8843,7 @@ msgstr ""
msgid "Constants" msgid "Constants"
msgstr "" msgstr ""
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s a \"%s\" szerver nem található\n"
+47 -26
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 11:11+0100\n" "PO-Revision-Date: 2013-02-23 11:11+0100\n"
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n" "Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8787,6 +8787,18 @@ msgstr "%s: il plugin \"%s\" non caricato"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s: script \"%s\" non caricato" msgstr "%s: script \"%s\" non caricato"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: linguaggio sconosciuto per lo script \"%s\""
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "%s: linguaggio sconosciuto per lo script \"%s\""
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" non trovato"
#, c-format #, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s%s: errore durante il download dello script \"%s\": %s" msgstr "%s%s: errore durante il download dello script \"%s\": %s"
@@ -8802,10 +8814,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: download dello script \"%s\"..." msgstr "%s: download dello script \"%s\"..."
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: script \"%s\" non trovato"
#, c-format #, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s: script \"%s\" non installato" msgstr "%s: script \"%s\" non installato"
@@ -8893,9 +8901,9 @@ msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
msgid "Scripts" msgid "Scripts"
@@ -8906,30 +8914,34 @@ msgstr "Gestore script di WeeChat"
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -9127,6 +9139,11 @@ msgstr "colore della riga selezionata nel buffer xfer"
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "colore della riga selezionata nel buffer xfer" msgstr "colore della riga selezionata nel buffer xfer"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -9625,3 +9642,7 @@ msgstr "Tipo"
msgid "Constants" msgid "Constants"
msgstr "Costanti" msgstr "Costanti"
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s: script \"%s\" non caricato"
+50 -27
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 11:11+0100\n" "PO-Revision-Date: 2013-02-23 11:11+0100\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/WeeChat>\n" "Language-Team: Japanese <https://github.com/l/WeeChat>\n"
@@ -8695,6 +8695,18 @@ msgstr "%s: プラグイン \"%s\" はロードされていません"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s: スクリプト \"%s\" はロードされていません" msgstr "%s: スクリプト \"%s\" はロードされていません"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: スクリプト \"%s\" は利用できない言語で書かれています"
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "%s: スクリプト \"%s\" は利用できない言語で書かれています"
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: スクリプト \"%s\" が見つかりません"
#, c-format #, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s%s: スクリプト \"%s\" のダウンロード中にエラーが発生: %s" msgstr "%s%s: スクリプト \"%s\" のダウンロード中にエラーが発生: %s"
@@ -8710,10 +8722,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: スクリプト \"%s\" のダウンロード中" msgstr "%s: スクリプト \"%s\" のダウンロード中"
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: スクリプト \"%s\" が見つかりません"
#, c-format #, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s: スクリプト \"%s\" はインストールされていません" msgstr "%s: スクリプト \"%s\" はインストールされていません"
@@ -8798,12 +8806,12 @@ msgstr "WeeChat を最大化"
msgid "Alt+key/input: v=back to list d=jump to diff" msgid "Alt+key/input: v=back to list d=jump to diff"
msgstr "Alt+key/input: v=リストに戻る d=比較する" msgstr "Alt+key/input: v=リストに戻る d=比較する"
#, c-format #, fuzzy, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
"%d/%d 個のスクリプト (フィルタ: %s) | ソート: %s | Alt+key/input: i=インス" "%d/%d 個のスクリプト (フィルタ: %s) | ソート: %s | Alt+key/input: i=インス"
"トール r=削除 l=ロード L=リロード u=アンロード h=(アン)ホールド v=スクリプト" "トール r=削除 l=ロード L=リロード u=アンロード h=(アン)ホールド v=スクリプト"
@@ -8816,35 +8824,41 @@ msgstr "スクリプト"
msgid "WeeChat scripts manager" msgid "WeeChat scripts manager"
msgstr "WeeChat スクリプトマネージャ" msgstr "WeeChat スクリプトマネージャ"
#, fuzzy
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list || search <text> || show <script> || load|unload|reload <script> " "list || search <text> || show <script> || load|unload|reload <script> "
"[<script>...] || install|remove|hold <script> [<script>...] || upgrade || " "[<script>...] || install|remove|hold <script> [<script>...] || upgrade || "
"update" "update"
#, fuzzy
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -9112,6 +9126,11 @@ msgstr "スクリプトバッファ内のロード済みバージョンが選択
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "スクリプトバッファ内の選択行の背景色" msgstr "スクリプトバッファ内の選択行の背景色"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -9611,3 +9630,7 @@ msgstr "タイプ"
msgid "Constants" msgid "Constants"
msgstr "定数" msgstr "定数"
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s: スクリプト \"%s\" はロードされていません"
+50 -27
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 11:11+0100\n" "PO-Revision-Date: 2013-02-23 11:11+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n" "Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8842,6 +8842,18 @@ msgstr "%s: wtyczka \"%s\" nie załadowana"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s: skrypt \"%s\" nie załadowany" msgstr "%s: skrypt \"%s\" nie załadowany"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: nieznany język dla skryptu \"%s\""
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "%s: nieznany język dla skryptu \"%s\""
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: nie znaleziono skryptu \"%s\""
#, c-format #, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s%s: błąd podczas pobierania skryptu \"%s\": %s" msgstr "%s%s: błąd podczas pobierania skryptu \"%s\": %s"
@@ -8857,10 +8869,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: pobieram skrypt \"%s\"..." msgstr "%s: pobieram skrypt \"%s\"..."
#, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s: nie znaleziono skryptu \"%s\""
#, c-format #, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s: skrypt \"%s\" nie zainstalowany" msgstr "%s: skrypt \"%s\" nie zainstalowany"
@@ -8945,12 +8953,12 @@ msgstr "Max WeeChat"
msgid "Alt+key/input: v=back to list d=jump to diff" msgid "Alt+key/input: v=back to list d=jump to diff"
msgstr "Alt+klawisz/wejście: v=wróć do listy d=skocz do diff" msgstr "Alt+klawisz/wejście: v=wróć do listy d=skocz do diff"
#, c-format #, fuzzy, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
"%d/%d skrypty (filtry: %s) | Sort: %s | Alt+klawisz/wejście: i=instaluj " "%d/%d skrypty (filtry: %s) | Sort: %s | Alt+klawisz/wejście: i=instaluj "
"r=usuń l=załaduj L=przeładuj u=wyładuj h=(un)hold v=pokaż skrypt | Wejście: " "r=usuń l=załaduj L=przeładuj u=wyładuj h=(un)hold v=pokaż skrypt | Wejście: "
@@ -8963,35 +8971,41 @@ msgstr "Skrypty"
msgid "WeeChat scripts manager" msgid "WeeChat scripts manager"
msgstr "Manager skryptów WeeChat" msgstr "Manager skryptów WeeChat"
#, fuzzy
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
"list [-o|-i] || search <tekst> || show <skrypt> || load|unload|reload " "list [-o|-i] || search <tekst> || show <skrypt> || load|unload|reload "
"<skrypt> [<skrypt>...] || install|remove|installremove|hold [-q] <skrypt> " "<skrypt> [<skrypt>...] || install|remove|installremove|hold [-q] <skrypt> "
"[<skrypt>...] || upgrade || update" "[<skrypt>...] || upgrade || update"
#, fuzzy
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -9266,6 +9280,11 @@ msgstr ""
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "kolor tła dla zaznaczonej linii w buforze skryptów" msgstr "kolor tła dla zaznaczonej linii w buforze skryptów"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -9765,3 +9784,7 @@ msgstr "Typ"
msgid "Constants" msgid "Constants"
msgstr "Stałe" msgstr "Stałe"
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s: skrypt \"%s\" nie załadowany"
+47 -26
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 11:12+0100\n" "PO-Revision-Date: 2013-02-23 11:12+0100\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n" "Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -8117,6 +8117,18 @@ msgstr "%s%s: script \"%s\" não carregado"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s%s: script \"%s\" não carregado" msgstr "%s%s: script \"%s\" não carregado"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "%s: descarregando script \"%s\""
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "%s: descarregando script \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s%s: script \"%s\" não encontrado"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "%s: descarregando script \"%s\"" msgstr "%s: descarregando script \"%s\""
@@ -8131,10 +8143,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "%s: descarregando script \"%s\"" msgstr "%s: descarregando script \"%s\""
#, fuzzy, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s%s: script \"%s\" não encontrado"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s%s: script \"%s\" não carregado" msgstr "%s%s: script \"%s\" não carregado"
@@ -8227,9 +8235,9 @@ msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
msgid "Scripts" msgid "Scripts"
@@ -8241,30 +8249,34 @@ msgstr "site do WeeChat"
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -8470,6 +8482,11 @@ msgstr "cor do texto da linha do cliente selecionada"
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "cor do texto da linha do cliente selecionada" msgstr "cor do texto da linha do cliente selecionada"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -8979,3 +8996,7 @@ msgstr ""
msgid "Constants" msgid "Constants"
msgstr "" msgstr ""
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s%s: script \"%s\" não carregado"
+47 -26
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-23 11:12+0100\n" "PO-Revision-Date: 2013-02-23 11:12+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7975,6 +7975,18 @@ msgstr "%s сервер \"%s\" не найден\n"
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "%s сервер \"%s\" не найден\n" msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr "сессия: загружаю сервер \"%s\"\n"
#, fuzzy, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr "сессия: загружаю сервер \"%s\"\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "сессия: загружаю сервер \"%s\"\n" msgstr "сессия: загружаю сервер \"%s\"\n"
@@ -7990,10 +8002,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "сессия: загружаю сервер \"%s\"\n" msgstr "сессия: загружаю сервер \"%s\"\n"
#, fuzzy, c-format
msgid "%s: script \"%s\" not found"
msgstr "%s сервер \"%s\" не найден\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "%s сервер \"%s\" не найден\n" msgstr "%s сервер \"%s\" не найден\n"
@@ -8088,9 +8096,9 @@ msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
msgid "Scripts" msgid "Scripts"
@@ -8102,30 +8110,34 @@ msgstr "слоган WeeChat"
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -8331,6 +8343,11 @@ msgstr "цвет названия сервера"
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "цвет названия сервера" msgstr "цвет названия сервера"
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
@@ -8843,3 +8860,7 @@ msgstr ""
msgid "Constants" msgid "Constants"
msgstr "" msgstr ""
#, fuzzy
#~ msgid "%s: script \"%s\" is now autoloaded"
#~ msgstr "%s сервер \"%s\" не найден\n"
+43 -26
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n" "Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2013-02-23 12:49+0100\n" "POT-Creation-Date: 2013-02-24 22:17+0100\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -7045,6 +7045,18 @@ msgstr ""
msgid "%s: script \"%s\" is not loaded" msgid "%s: script \"%s\" is not loaded"
msgstr "" msgstr ""
#, c-format
msgid "%s: autoload enabled for script \"%s\""
msgstr ""
#, c-format
msgid "%s: autoload disabled for script \"%s\""
msgstr ""
#, c-format
msgid "%s: script \"%s\" not found"
msgstr ""
#, c-format #, c-format
msgid "%s%s: error downloading script \"%s\": %s" msgid "%s%s: error downloading script \"%s\": %s"
msgstr "" msgstr ""
@@ -7058,10 +7070,6 @@ msgstr ""
msgid "%s: downloading script \"%s\"..." msgid "%s: downloading script \"%s\"..."
msgstr "" msgstr ""
#, c-format
msgid "%s: script \"%s\" not found"
msgstr ""
#, c-format #, c-format
msgid "%s: script \"%s\" is not installed" msgid "%s: script \"%s\" is not installed"
msgstr "" msgstr ""
@@ -7147,9 +7155,9 @@ msgstr ""
#, c-format #, c-format
msgid "" msgid ""
"%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove " "%d/%d scripts (filter: %s) | Sort: %s | Alt+key/input: i=install r=remove "
"l=load L=reload u=unload h=(un)hold v=view script | Input: q=close $=refresh " "l=load L=reload u=unload A=autoload h=(un)hold v=view script | Input: "
"s:x,y=sort words=filter *=reset filter | Mouse: left=select right=install/" "q=close $=refresh s:x,y=sort words=filter *=reset filter | Mouse: "
"remove" "left=select right=install/remove"
msgstr "" msgstr ""
msgid "Scripts" msgid "Scripts"
@@ -7160,30 +7168,34 @@ msgstr ""
msgid "" msgid ""
"list [-o|-i] || search <text> || show <script> || load|unload|reload " "list [-o|-i] || search <text> || show <script> || load|unload|reload "
"<script> [<script>...] || install|remove|installremove|hold [-q] <script> " "<script> [<script>...] || autoload|noautoload|toggleautoload <script> "
"[<script>...] || install|remove|installremove|hold [-q] <script> "
"[<script>...] || upgrade || update" "[<script>...] || upgrade || update"
msgstr "" msgstr ""
msgid "" msgid ""
" list: list loaded scripts (all languages)\n" " list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in command line (for sending to " " -i: copy list of loaded scripts in command line (for sending to "
"buffer)\n" "buffer)\n"
" search: search scripts by tags or text and display result on scripts " " search: search scripts by tags or text and display result on scripts "
"buffer\n" "buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), depending on current state\n" "toggleautoload: toggle autoload\n"
" hold: hold/unhold script(s) (a script held will not be upgraded any " " install: install/upgrade script(s)\n"
"more and cannot be removed)\n" " remove: remove script(s)\n"
" -q: quiet mode: do not display messages\n" " installremove: install or remove script(s), depending on current state\n"
" upgrade: upgrade all installed scripts which are obsolete (new version " " hold: hold/unhold script(s) (a script held will not be upgraded "
"available)\n" "any more and cannot be removed)\n"
" update: update local scripts cache\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"
"\n" "\n"
"Without argument, this command opens a buffer with list of scripts.\n" "Without argument, this command opens a buffer with list of scripts.\n"
"\n" "\n"
@@ -7366,6 +7378,11 @@ msgstr ""
msgid "background color for selected line in script buffer" msgid "background color for selected line in script buffer"
msgstr "" msgstr ""
msgid ""
"autoload scripts installed (make a link in \"autoload\" directory to script "
"in parent directory"
msgstr ""
msgid "" msgid ""
"local cache expiration time, in minutes (-1 = never expires, 0 = always " "local cache expiration time, in minutes (-1 = never expires, 0 = always "
"expire)" "expire)"
+26 -2
View File
@@ -60,7 +60,7 @@ struct t_guile_function
/* /*
* string used to execute action "install": * string used to execute action "install":
* when signal "guile_install_script" is received, name of string * when signal "guile_script_install" is received, name of string
* is added to this string, to be installed later by a timer (when nothing is * is added to this string, to be installed later by a timer (when nothing is
* running in script) * running in script)
*/ */
@@ -68,12 +68,20 @@ char *guile_action_install_list = NULL;
/* /*
* string used to execute action "remove": * string used to execute action "remove":
* when signal "guile_remove_script" is received, name of string * when signal "guile_script_remove" is received, name of string
* is added to this string, to be removed later by a timer (when nothing is * is added to this string, to be removed later by a timer (when nothing is
* running in script) * running in script)
*/ */
char *guile_action_remove_list = NULL; char *guile_action_remove_list = NULL;
/*
* string used to execute action "autoload":
* when signal "guile_script_autoload" is received, name of string
* is added to this string, to autoload or disable autoload later by a timer
* (when nothing is running in script)
*/
char *guile_action_autoload_list = NULL;
/* /*
* Flushes stdout. * Flushes stdout.
@@ -815,6 +823,12 @@ weechat_guile_timer_action_cb (void *data, int remaining_calls)
&guile_quiet, &guile_quiet,
&guile_action_remove_list); &guile_action_remove_list);
} }
else if (data == &guile_action_autoload_list)
{
plugin_script_action_autoload (weechat_guile_plugin,
&guile_quiet,
&guile_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -850,6 +864,14 @@ weechat_guile_signal_script_action_cb (void *data, const char *signal,
&weechat_guile_timer_action_cb, &weechat_guile_timer_action_cb,
&guile_action_remove_list); &guile_action_remove_list);
} }
else if (strcmp (signal, "guile_script_autoload") == 0)
{
plugin_script_action_add (&guile_action_autoload_list,
(const char *)signal_data);
weechat_hook_timer (1, 0, 1,
&weechat_guile_timer_action_cb,
&guile_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -971,6 +993,8 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
free (guile_action_install_list); free (guile_action_install_list);
if (guile_action_remove_list) if (guile_action_remove_list)
free (guile_action_remove_list); free (guile_action_remove_list);
if (guile_action_autoload_list)
free (guile_action_autoload_list);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+32 -2
View File
@@ -52,7 +52,7 @@ lua_State *lua_current_interpreter = NULL;
/* /*
* string used to execute action "install": * string used to execute action "install":
* when signal "lua_install_script" is received, name of string * when signal "lua_script_install" is received, name of string
* is added to this string, to be installed later by a timer (when nothing is * is added to this string, to be installed later by a timer (when nothing is
* running in script) * running in script)
*/ */
@@ -60,12 +60,20 @@ char *lua_action_install_list = NULL;
/* /*
* string used to execute action "remove": * string used to execute action "remove":
* when signal "lua_remove_script" is received, name of string * when signal "lua_script_remove" is received, name of string
* is added to this string, to be removed later by a timer (when nothing is * is added to this string, to be removed later by a timer (when nothing is
* running in script) * running in script)
*/ */
char *lua_action_remove_list = NULL; char *lua_action_remove_list = NULL;
/*
* string used to execute action "autoload":
* when signal "lua_script_autoload" is received, name of string
* is added to this string, to autoload or disable autoload later by a timer
* (when nothing is running in script)
*/
char *lua_action_autoload_list = NULL;
/* /*
* Callback called for each key/value in a hashtable. * Callback called for each key/value in a hashtable.
@@ -769,6 +777,12 @@ weechat_lua_timer_action_cb (void *data, int remaining_calls)
&lua_quiet, &lua_quiet,
&lua_action_remove_list); &lua_action_remove_list);
} }
else if (data == &lua_action_autoload_list)
{
plugin_script_action_autoload (weechat_lua_plugin,
&lua_quiet,
&lua_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -804,6 +818,14 @@ weechat_lua_signal_script_action_cb (void *data, const char *signal,
&weechat_lua_timer_action_cb, &weechat_lua_timer_action_cb,
&lua_action_remove_list); &lua_action_remove_list);
} }
else if (strcmp (signal, "lua_script_autoload") == 0)
{
plugin_script_action_add (&lua_action_autoload_list,
(const char *)signal_data);
weechat_hook_timer (1, 0, 1,
&weechat_lua_timer_action_cb,
&lua_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -852,5 +874,13 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
plugin_script_end (plugin, &lua_scripts, &weechat_lua_unload_all); plugin_script_end (plugin, &lua_scripts, &weechat_lua_unload_all);
lua_quiet = 0; lua_quiet = 0;
/* free some data */
if (lua_action_install_list)
free (lua_action_install_list);
if (lua_action_remove_list)
free (lua_action_remove_list);
if (lua_action_autoload_list)
free (lua_action_autoload_list);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+32 -2
View File
@@ -50,7 +50,7 @@ int perl_quit_or_upgrade = 0;
/* /*
* string used to execute action "install": * string used to execute action "install":
* when signal "perl_install_script" is received, name of string * when signal "perl_script_install" is received, name of string
* is added to this string, to be installed later by a timer (when nothing is * is added to this string, to be installed later by a timer (when nothing is
* running in script) * running in script)
*/ */
@@ -58,12 +58,20 @@ char *perl_action_install_list = NULL;
/* /*
* string used to execute action "remove": * string used to execute action "remove":
* when signal "perl_remove_script" is received, name of string * when signal "perl_script_remove" is received, name of string
* is added to this string, to be removed later by a timer (when nothing is * is added to this string, to be removed later by a timer (when nothing is
* running in script) * running in script)
*/ */
char *perl_action_remove_list = NULL; char *perl_action_remove_list = NULL;
/*
* string used to execute action "autoload":
* when signal "perl_script_autoload" is received, name of string
* is added to this string, to autoload or disable autoload later by a timer
* (when nothing is running in script)
*/
char *perl_action_autoload_list = NULL;
#ifdef NO_PERL_MULTIPLICITY #ifdef NO_PERL_MULTIPLICITY
#undef MULTIPLICITY #undef MULTIPLICITY
#endif #endif
@@ -850,6 +858,12 @@ weechat_perl_timer_action_cb (void *data, int remaining_calls)
&perl_quiet, &perl_quiet,
&perl_action_remove_list); &perl_action_remove_list);
} }
else if (data == &perl_action_autoload_list)
{
plugin_script_action_autoload (weechat_perl_plugin,
&perl_quiet,
&perl_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -885,6 +899,14 @@ weechat_perl_signal_script_action_cb (void *data, const char *signal,
&weechat_perl_timer_action_cb, &weechat_perl_timer_action_cb,
&perl_action_remove_list); &perl_action_remove_list);
} }
else if (strcmp (signal, "perl_script_autoload") == 0)
{
plugin_script_action_add (&perl_action_autoload_list,
(const char *)signal_data);
weechat_hook_timer (1, 0, 1,
&weechat_perl_timer_action_cb,
&perl_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -1003,5 +1025,13 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
PERL_SYS_TERM (); PERL_SYS_TERM ();
#endif #endif
/* free some data */
if (perl_action_install_list)
free (perl_action_install_list);
if (perl_action_remove_list)
free (perl_action_remove_list);
if (perl_action_autoload_list)
free (perl_action_autoload_list);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+152 -36
View File
@@ -93,8 +93,8 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
int argc, char *argv[], int argc, char *argv[],
struct t_plugin_script_init *init) struct t_plugin_script_init *init)
{ {
char *string, *completion; char *string, *completion, signal_name[128];
char signal_name[128]; char *action_signals[] = { "install", "remove", "autoload", NULL };
int length, i, auto_load_scripts; int length, i, auto_load_scripts;
/* read script configuration */ /* read script configuration */
@@ -192,15 +192,15 @@ plugin_script_init (struct t_weechat_plugin *weechat_plugin,
weechat_hook_signal ("buffer_closed", weechat_hook_signal ("buffer_closed",
init->callback_signal_buffer_closed, NULL); init->callback_signal_buffer_closed, NULL);
/* add signal for a script action (install/remove) */ /* add signals for script actions (install/remove/autoload) */
snprintf (signal_name, sizeof (signal_name), "%s_script_install", for (i = 0; action_signals[i]; i++)
weechat_plugin->name); {
weechat_hook_signal (signal_name, snprintf (signal_name, sizeof (signal_name), "%s_script_%s",
init->callback_signal_script_action, NULL); weechat_plugin->name,
snprintf (signal_name, sizeof (signal_name), "%s_script_remove", action_signals[i]);
weechat_plugin->name); weechat_hook_signal (signal_name,
weechat_hook_signal (signal_name, init->callback_signal_script_action, NULL);
init->callback_signal_script_action, NULL); }
/* parse arguments */ /* parse arguments */
auto_load_scripts = 1; auto_load_scripts = 1;
@@ -931,7 +931,7 @@ plugin_script_remove_file (struct t_weechat_plugin *weechat_plugin,
* 1. unloads script (if script is loaded) * 1. unloads script (if script is loaded)
* 2. removes script file(s) * 2. removes script file(s)
* 3. moves script file from "install" dir to language dir * 3. moves script file from "install" dir to language dir
* 4. makes link in autoload dir * 4. makes link in autoload dir (if option "-a" is given)
* 5. loads script. * 5. loads script.
*/ */
@@ -946,18 +946,33 @@ plugin_script_action_install (struct t_weechat_plugin *weechat_plugin,
char **argv, *name, *ptr_base_name, *base_name, *new_path, *autoload_path; char **argv, *name, *ptr_base_name, *base_name, *new_path, *autoload_path;
char *symlink_path, str_signal[128], *ptr_list; char *symlink_path, str_signal[128], *ptr_list;
const char *dir_home, *dir_separator; const char *dir_home, *dir_separator;
int argc, i, length, rc; int argc, i, length, rc, autoload;
struct t_plugin_script *ptr_script; struct t_plugin_script *ptr_script;
if (!*list) if (!*list)
return; return;
ptr_list = *list; ptr_list = *list;
autoload = 0;
*quiet = 0; *quiet = 0;
if (strncmp (ptr_list, "-q ", 3) == 0)
while ((ptr_list[0] == ' ') || (ptr_list[0] == '-'))
{ {
*quiet = 1; if (ptr_list[0] == ' ')
ptr_list += 3; ptr_list++;
else
{
switch (ptr_list[1])
{
case 'a': /* no autoload */
autoload = 1;
break;
case 'q': /* quiet mode */
*quiet = 1;
break;
}
ptr_list += 2;
}
} }
argv = weechat_string_split (ptr_list, ",", 0, 0, &argc); argv = weechat_string_split (ptr_list, ",", 0, 0, &argc);
@@ -994,29 +1009,32 @@ plugin_script_action_install (struct t_weechat_plugin *weechat_plugin,
if (rename (name, new_path) == 0) if (rename (name, new_path) == 0)
{ {
/* make link in autoload dir */ /* make link in autoload dir */
length = strlen (dir_home) + if (autoload)
strlen (weechat_plugin->name) + 8 +
strlen (base_name) + 16;
autoload_path = malloc (length);
if (autoload_path)
{ {
snprintf (autoload_path, length, length = strlen (dir_home) +
"%s/%s/autoload/%s", strlen (weechat_plugin->name) + 8 +
dir_home, weechat_plugin->name, strlen (base_name) + 16;
base_name); autoload_path = malloc (length);
dir_separator = weechat_info_get ("dir_separator", ""); if (autoload_path)
length = 2 + strlen (dir_separator) +
strlen (base_name) + 1;
symlink_path = malloc (length);
if (symlink_path)
{ {
snprintf (symlink_path, length, "..%s%s", snprintf (autoload_path, length,
dir_separator, base_name); "%s/%s/autoload/%s",
rc = symlink (symlink_path, autoload_path); dir_home, weechat_plugin->name,
(void) rc; base_name);
free (symlink_path); dir_separator = weechat_info_get ("dir_separator", "");
length = 2 + strlen (dir_separator) +
strlen (base_name) + 1;
symlink_path = malloc (length);
if (symlink_path)
{
snprintf (symlink_path, length, "..%s%s",
dir_separator, base_name);
rc = symlink (symlink_path, autoload_path);
(void) rc;
free (symlink_path);
}
free (autoload_path);
} }
free (autoload_path);
} }
/* load script */ /* load script */
@@ -1111,6 +1129,104 @@ plugin_script_action_remove (struct t_weechat_plugin *weechat_plugin,
*list = NULL; *list = NULL;
} }
/*
* Enables/disables autoload for some scripts (using comma separated list).
*/
void
plugin_script_action_autoload (struct t_weechat_plugin *weechat_plugin,
int *quiet,
char **list)
{
char **argv, *name, *ptr_base_name, *base_name, *autoload_path;
char *symlink_path, *ptr_list;
const char *dir_home, *dir_separator;
int argc, i, length, rc, autoload;
if (!*list)
return;
ptr_list = *list;
autoload = 0;
*quiet = 0;
while ((ptr_list[0] == ' ') || (ptr_list[0] == '-'))
{
if (ptr_list[0] == ' ')
ptr_list++;
else
{
switch (ptr_list[1])
{
case 'a': /* no autoload */
autoload = 1;
break;
case 'q': /* quiet mode */
*quiet = 1;
break;
}
ptr_list += 2;
}
}
argv = weechat_string_split (ptr_list, ",", 0, 0, &argc);
if (argv)
{
for (i = 0; i < argc; i++)
{
name = strdup (argv[i]);
if (name)
{
ptr_base_name = basename (name);
base_name = strdup (ptr_base_name);
if (base_name)
{
dir_home = weechat_info_get ("weechat_dir", "");
length = strlen (dir_home) +
strlen (weechat_plugin->name) + 8 +
strlen (base_name) + 16;
autoload_path = malloc (length);
if (autoload_path)
{
snprintf (autoload_path, length,
"%s/%s/autoload/%s",
dir_home, weechat_plugin->name,
base_name);
if (autoload)
{
dir_separator = weechat_info_get ("dir_separator", "");
length = 2 + strlen (dir_separator) +
strlen (base_name) + 1;
symlink_path = malloc (length);
if (symlink_path)
{
snprintf (symlink_path, length, "..%s%s",
dir_separator, base_name);
rc = symlink (symlink_path, autoload_path);
(void) rc;
free (symlink_path);
}
}
else
{
unlink (autoload_path);
}
free (autoload_path);
}
free (base_name);
}
free (name);
}
}
weechat_string_free_split (argv);
}
*quiet = 0;
free (*list);
*list = NULL;
}
/* /*
* Displays list of scripts. * Displays list of scripts.
*/ */
+3
View File
@@ -145,6 +145,9 @@ extern void plugin_script_action_remove (struct t_weechat_plugin *weechat_plugin
void (*script_unload)(struct t_plugin_script *script), void (*script_unload)(struct t_plugin_script *script),
int *quiet, int *quiet,
char **list); char **list);
extern void plugin_script_action_autoload (struct t_weechat_plugin *weechat_plugin,
int *quiet,
char **list);
extern void plugin_script_display_list (struct t_weechat_plugin *weechat_plugin, extern void plugin_script_display_list (struct t_weechat_plugin *weechat_plugin,
struct t_plugin_script *scripts, struct t_plugin_script *scripts,
const char *name, int full); const char *name, int full);
+28 -3
View File
@@ -86,7 +86,7 @@ static struct PyModuleDef moduleDefOutputs = {
/* /*
* string used to execute action "install": * string used to execute action "install":
* when signal "python_install_script" is received, name of string * when signal "python_script_install" is received, name of string
* is added to this string, to be installed later by a timer (when nothing is * is added to this string, to be installed later by a timer (when nothing is
* running in script) * running in script)
*/ */
@@ -94,12 +94,20 @@ char *python_action_install_list = NULL;
/* /*
* string used to execute action "remove": * string used to execute action "remove":
* when signal "python_remove_script" is received, name of string * when signal "python_script_remove" is received, name of string
* is added to this string, to be removed later by a timer (when nothing is * is added to this string, to be removed later by a timer (when nothing is
* running in script) * running in script)
*/ */
char *python_action_remove_list = NULL; char *python_action_remove_list = NULL;
/*
* string used to execute action "autoload":
* when signal "python_script_autoload" is received, name of string
* is added to this string, to autoload or disable autoload later by a timer
* (when nothing is running in script)
*/
char *python_action_autoload_list = NULL;
char python_buffer_output[128]; char python_buffer_output[128];
@@ -1167,13 +1175,20 @@ weechat_python_timer_action_cb (void *data, int remaining_calls)
&python_quiet, &python_quiet,
&python_action_remove_list); &python_action_remove_list);
} }
else if (data == &python_action_autoload_list)
{
plugin_script_action_autoload (weechat_python_plugin,
&python_quiet,
&python_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
/* /*
* Callback called when a script action is asked (install/remove a script). * Callback called when a script action is asked (install/remove/autoload a
* script).
*/ */
int int
@@ -1202,6 +1217,14 @@ weechat_python_signal_script_action_cb (void *data, const char *signal,
&weechat_python_timer_action_cb, &weechat_python_timer_action_cb,
&python_action_remove_list); &python_action_remove_list);
} }
else if (strcmp (signal, "python_script_autoload") == 0)
{
plugin_script_action_add (&python_action_autoload_list,
(const char *)signal_data);
weechat_hook_timer (1, 0, 1,
&weechat_python_timer_action_cb,
&python_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -1314,6 +1337,8 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
free (python_action_install_list); free (python_action_install_list);
if (python_action_remove_list) if (python_action_remove_list)
free (python_action_remove_list); free (python_action_remove_list);
if (python_action_autoload_list)
free (python_action_autoload_list);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+32 -2
View File
@@ -71,7 +71,7 @@ const char *ruby_current_script_filename = NULL;
/* /*
* string used to execute action "install": * string used to execute action "install":
* when signal "ruby_install_script" is received, name of string * when signal "ruby_script_install" is received, name of string
* is added to this string, to be installed later by a timer (when nothing is * is added to this string, to be installed later by a timer (when nothing is
* running in script) * running in script)
*/ */
@@ -79,12 +79,20 @@ char *ruby_action_install_list = NULL;
/* /*
* string used to execute action "remove": * string used to execute action "remove":
* when signal "ruby_remove_script" is received, name of string * when signal "ruby_script_remove" is received, name of string
* is added to this string, to be removed later by a timer (when nothing is * is added to this string, to be removed later by a timer (when nothing is
* running in script) * running in script)
*/ */
char *ruby_action_remove_list = NULL; char *ruby_action_remove_list = NULL;
/*
* string used to execute action "autoload":
* when signal "ruby_script_autoload" is received, name of string
* is added to this string, to autoload or disable autoload later by a timer
* (when nothing is running in script)
*/
char *ruby_action_autoload_list = NULL;
VALUE ruby_mWeechat, ruby_mWeechatOutputs; VALUE ruby_mWeechat, ruby_mWeechatOutputs;
#define MOD_NAME_PREFIX "WeechatRubyModule" #define MOD_NAME_PREFIX "WeechatRubyModule"
@@ -987,6 +995,12 @@ weechat_ruby_timer_action_cb (void *data, int remaining_calls)
&ruby_quiet, &ruby_quiet,
&ruby_action_remove_list); &ruby_action_remove_list);
} }
else if (data == &ruby_action_autoload_list)
{
plugin_script_action_autoload (weechat_ruby_plugin,
&ruby_quiet,
&ruby_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -1022,6 +1036,14 @@ weechat_ruby_signal_script_action_cb (void *data, const char *signal,
&weechat_ruby_timer_action_cb, &weechat_ruby_timer_action_cb,
&ruby_action_remove_list); &ruby_action_remove_list);
} }
else if (strcmp (signal, "ruby_script_autoload") == 0)
{
plugin_script_action_add (&ruby_action_autoload_list,
(const char *)signal_data);
weechat_hook_timer (1, 0, 1,
&weechat_ruby_timer_action_cb,
&ruby_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -1175,5 +1197,13 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
*/ */
/*ruby_cleanup (0);*/ /*ruby_cleanup (0);*/
/* free some data */
if (ruby_action_install_list)
free (ruby_action_install_list);
if (ruby_action_remove_list)
free (ruby_action_remove_list);
if (ruby_action_autoload_list)
free (ruby_action_autoload_list);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }
+97 -2
View File
@@ -407,6 +407,79 @@ script_action_reload (const char *name, int quiet)
} }
} }
/*
* Enables/disables autoload for a script.
*
* Argument "autoload" can be:
* 0: disables autoload
* 1: enables autoload
* -1: toggles autoload
*/
void
script_action_autoload (const char *name, int quiet, int autoload)
{
struct t_script_repo *ptr_script;
char str_signal[256], *filename;
int length;
ptr_script = script_repo_search_by_name_ext (name);
if (!ptr_script)
{
if (!quiet)
{
weechat_printf (NULL,
_("%s: script \"%s\" not found"),
SCRIPT_PLUGIN_NAME, name);
}
return;
}
/* check that script is installed */
if (!(ptr_script->status & SCRIPT_STATUS_INSTALLED))
{
if (!quiet)
{
weechat_printf (NULL,
_("%s: script \"%s\" is not installed"),
SCRIPT_PLUGIN_NAME, name);
}
return;
}
/* toggle autoload if value is -1 */
if (autoload < 0)
autoload = (ptr_script->status & SCRIPT_STATUS_AUTOLOADED) ? 0 : 1;
/* ask plugin to autoload (or not) script */
length = 16 + strlen (ptr_script->name_with_extension) + 1;
filename = malloc (length);
if (filename)
{
snprintf (filename, length,
"%s%s%s",
(quiet && weechat_config_boolean (script_config_look_quiet_actions)) ? "-q " : "",
(autoload) ? "-a " : "",
ptr_script->name_with_extension);
snprintf (str_signal, sizeof (str_signal),
"%s_script_autoload",
script_language[ptr_script->language]);
weechat_hook_signal_send (str_signal,
WEECHAT_HOOK_SIGNAL_STRING,
filename);
free (filename);
}
if (!quiet)
{
weechat_printf (NULL,
(autoload) ?
_("%s: autoload enabled for script \"%s\"") :
_("%s: autoload disabled for script \"%s\""),
SCRIPT_PLUGIN_NAME, name);
}
script_repo_update_status (ptr_script);
}
/* /*
* Installs next script. * Installs next script.
*/ */
@@ -461,13 +534,14 @@ script_action_install_process_cb (void *data, const char *command,
NULL); NULL);
if (filename) if (filename)
{ {
length = 3 + strlen (filename) + 1; length = 16 + strlen (filename) + 1;
filename2 = malloc (length); filename2 = malloc (length);
if (filename2) if (filename2)
{ {
snprintf (filename2, length, snprintf (filename2, length,
"%s%s", "%s%s%s",
(quiet && weechat_config_boolean (script_config_look_quiet_actions)) ? "-q " : "", (quiet && weechat_config_boolean (script_config_look_quiet_actions)) ? "-q " : "",
(weechat_config_boolean (script_config_scripts_autoload)) ? "-a " : "",
filename); filename);
snprintf (str_signal, sizeof (str_signal), snprintf (str_signal, sizeof (str_signal),
"%s_script_install", "%s_script_install",
@@ -1157,6 +1231,27 @@ script_action_run ()
script_action_reload (argv[j], quiet); script_action_reload (argv[j], quiet);
} }
} }
else if (weechat_strcasecmp (argv[0], "autoload") == 0)
{
for (j = 1; j < argc; j++)
{
script_action_autoload (argv[j], quiet, 1);
}
}
else if (weechat_strcasecmp (argv[0], "noautoload") == 0)
{
for (j = 1; j < argc; j++)
{
script_action_autoload (argv[j], quiet, 0);
}
}
else if (weechat_strcasecmp (argv[0], "toggleautoload") == 0)
{
for (j = 1; j < argc; j++)
{
script_action_autoload (argv[j], quiet, -1);
}
}
else if (weechat_strcasecmp (argv[0], "install") == 0) else if (weechat_strcasecmp (argv[0], "install") == 0)
{ {
script_found = 0; script_found = 0;
+23 -21
View File
@@ -510,9 +510,9 @@ script_buffer_refresh (int clear)
snprintf (str_title, sizeof (str_title), snprintf (str_title, sizeof (str_title),
_("%d/%d scripts (filter: %s) | Sort: %s | " _("%d/%d scripts (filter: %s) | Sort: %s | "
"Alt+key/input: i=install r=remove l=load L=reload " "Alt+key/input: i=install r=remove l=load L=reload "
"u=unload h=(un)hold v=view script | Input: q=close " "u=unload A=autoload h=(un)hold v=view script | "
"$=refresh s:x,y=sort words=filter *=reset filter | " "Input: q=close $=refresh s:x,y=sort words=filter "
"Mouse: left=select right=install/remove"), "*=reset filter | Mouse: left=select right=install/remove"),
script_repo_count_displayed, script_repo_count_displayed,
script_repo_count, script_repo_count,
(script_repo_filter) ? script_repo_filter : "*", (script_repo_filter) ? script_repo_filter : "*",
@@ -706,15 +706,16 @@ int
script_buffer_input_cb (void *data, struct t_gui_buffer *buffer, script_buffer_input_cb (void *data, struct t_gui_buffer *buffer,
const char *input_data) const char *input_data)
{ {
char *actions[][2] = { { "l", "load" }, char *actions[][2] = { { "A", "toggleautoload" },
{ "u", "unload" }, { "l", "load" },
{ "L", "reload" }, { "u", "unload" },
{ "i", "install" }, { "L", "reload" },
{ "r", "remove" }, { "i", "install" },
{ "h", "hold" }, { "r", "remove" },
{ "v", "show" }, { "h", "hold" },
{ "d", "showdiff" }, { "v", "show" },
{ NULL, NULL } }; { "d", "showdiff" },
{ NULL, NULL } };
char str_command[64]; char str_command[64];
int i; int i;
@@ -814,15 +815,16 @@ script_buffer_set_callbacks ()
void void
script_buffer_set_keys () script_buffer_set_keys ()
{ {
char *keys[][2] = { { "meta-l", "load" }, char *keys[][2] = { { "meta-A", "toggleautoload" },
{ "meta-u", "unload" }, { "meta-l", "load" },
{ "meta-L", "reload" }, { "meta-u", "unload" },
{ "meta-i", "install" }, { "meta-L", "reload" },
{ "meta-r", "remove" }, { "meta-i", "install" },
{ "meta-h", "hold" }, { "meta-r", "remove" },
{ "meta-v", "show" }, { "meta-h", "hold" },
{ "meta-d", "showdiff" }, { "meta-v", "show" },
{ NULL, NULL } }; { "meta-d", "showdiff" },
{ NULL, NULL } };
char str_key[64], str_command[64]; char str_key[64], str_command[64];
int i; int i;
+26 -16
View File
@@ -169,7 +169,10 @@ script_command_script (void *data, struct t_gui_buffer *buffer, int argc,
if ((weechat_strcasecmp (argv[1], "load") == 0) 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)) || (weechat_strcasecmp (argv[1], "reload") == 0)
|| (weechat_strcasecmp (argv[1], "autoload") == 0)
|| (weechat_strcasecmp (argv[1], "noautoload") == 0)
|| (weechat_strcasecmp (argv[1], "toggleautoload") == 0))
{ {
script_command_action (buffer, script_command_action (buffer,
argv[1], argv[1],
@@ -264,29 +267,33 @@ script_command_init ()
N_("WeeChat scripts manager"), N_("WeeChat scripts manager"),
N_("list [-o|-i] || search <text> || show <script>" N_("list [-o|-i] || search <text> || show <script>"
" || load|unload|reload <script> [<script>...]" " || load|unload|reload <script> [<script>...]"
" || autoload|noautoload|toggleautoload <script> [<script>...]"
" || install|remove|installremove|hold [-q] <script> [<script>...]" " || install|remove|installremove|hold [-q] <script> [<script>...]"
" || upgrade || update"), " || upgrade || update"),
N_(" list: list loaded scripts (all languages)\n" N_(" list: list loaded scripts (all languages)\n"
" -o: send list of loaded scripts to buffer\n" " -o: send list of loaded scripts to buffer\n"
" -i: copy list of loaded scripts in " " -i: copy list of loaded scripts in "
"command line (for sending to buffer)\n" "command line (for sending to buffer)\n"
" search: search scripts by tags or text and " " search: search scripts by tags or text and "
"display result on scripts buffer\n" "display result on scripts buffer\n"
" show: show detailed info about a script\n" " show: show detailed info about a script\n"
" load: load script(s)\n" " load: load script(s)\n"
" unload: unload script(s)\n" " unload: unload script(s)\n"
" reload: reload script(s)\n" " reload: reload script(s)\n"
" install: install/upgrade script(s)\n" " autoload: autoload the script\n"
" remove: remove script(s)\n" " noautoload: do not autoload the script\n"
"installremove: install or remove script(s), " "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" "depending on current state\n"
" hold: hold/unhold script(s) (a script held " " hold: hold/unhold script(s) (a script held "
"will not be upgraded any more and cannot be " "will not be upgraded any more and cannot be "
"removed)\n" "removed)\n"
" -q: quiet mode: do not display messages\n" " -q: quiet mode: do not display messages\n"
" upgrade: upgrade all installed scripts which " " upgrade: upgrade all installed scripts which "
"are obsolete (new version available)\n" "are obsolete (new version available)\n"
" update: update local scripts cache\n\n" " update: update local scripts cache\n\n"
"Without argument, this command opens a buffer " "Without argument, this command opens a buffer "
"with list of scripts.\n\n" "with list of scripts.\n\n"
"On script buffer, the possible status for each " "On script buffer, the possible status for each "
@@ -338,6 +345,9 @@ script_command_init ()
" || reload %(python_script)|%(perl_script)|" " || reload %(python_script)|%(perl_script)|"
"%(ruby_script)|%(tcl_script)|%(lua_script)|" "%(ruby_script)|%(tcl_script)|%(lua_script)|"
"%(guile_script)|%*" "%(guile_script)|%*"
" || autoload %(script_scripts_installed)|%*"
" || noautoload %(script_scripts_installed)|%*"
" || toggleautoload %(script_scripts_installed)|%*"
" || install %(script_scripts)|%*" " || install %(script_scripts)|%*"
" || remove %(script_scripts_installed)|%*" " || remove %(script_scripts_installed)|%*"
" || installremove %(script_scripts)|%*" " || installremove %(script_scripts)|%*"
+8
View File
@@ -80,6 +80,7 @@ struct t_config_option *script_config_color_text_bg_selected;
/* script config, scripts section */ /* script config, scripts section */
struct t_config_option *script_config_scripts_autoload;
struct t_config_option *script_config_scripts_cache_expire; struct t_config_option *script_config_scripts_cache_expire;
struct t_config_option *script_config_scripts_dir; struct t_config_option *script_config_scripts_dir;
struct t_config_option *script_config_scripts_hold; struct t_config_option *script_config_scripts_hold;
@@ -670,6 +671,13 @@ script_config_init ()
return 0; return 0;
} }
script_config_scripts_autoload = weechat_config_new_option (
script_config_file, ptr_section,
"autoload", "boolean",
N_("autoload scripts installed (make a link in \"autoload\" directory "
"to script in parent directory"),
NULL, 0, 0, "on", NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL);
script_config_scripts_cache_expire = weechat_config_new_option ( script_config_scripts_cache_expire = weechat_config_new_option (
script_config_file, ptr_section, script_config_file, ptr_section,
"cache_expire", "integer", "cache_expire", "integer",
+1
View File
@@ -60,6 +60,7 @@ extern struct t_config_option *script_config_color_text_version_selected;
extern struct t_config_option *script_config_color_text_version_loaded_selected; extern struct t_config_option *script_config_color_text_version_loaded_selected;
extern struct t_config_option *script_config_color_text_bg_selected; extern struct t_config_option *script_config_color_text_bg_selected;
extern struct t_config_option *script_config_scripts_autoload;
extern struct t_config_option *script_config_scripts_cache_expire; extern struct t_config_option *script_config_scripts_cache_expire;
extern struct t_config_option *script_config_scripts_dir; extern struct t_config_option *script_config_scripts_dir;
extern struct t_config_option *script_config_scripts_hold; extern struct t_config_option *script_config_scripts_hold;
+32 -2
View File
@@ -52,7 +52,7 @@ const char *tcl_current_script_filename = NULL;
/* /*
* string used to execute action "install": * string used to execute action "install":
* when signal "tcl_install_script" is received, name of string * when signal "tcl_script_install" is received, name of string
* is added to this string, to be installed later by a timer (when nothing is * is added to this string, to be installed later by a timer (when nothing is
* running in script) * running in script)
*/ */
@@ -60,12 +60,20 @@ char *tcl_action_install_list = NULL;
/* /*
* string used to execute action "remove": * string used to execute action "remove":
* when signal "tcl_remove_script" is received, name of string * when signal "tcl_script_remove" is received, name of string
* is added to this string, to be removed later by a timer (when nothing is * is added to this string, to be removed later by a timer (when nothing is
* running in script) * running in script)
*/ */
char *tcl_action_remove_list = NULL; char *tcl_action_remove_list = NULL;
/*
* string used to execute action "autoload":
* when signal "tcl_script_autoload" is received, name of string
* is added to this string, to autoload or disable autoload later by a timer
* (when nothing is running in script)
*/
char *tcl_action_autoload_list = NULL;
Tcl_Interp* cinterp; Tcl_Interp* cinterp;
@@ -728,6 +736,12 @@ weechat_tcl_timer_action_cb (void *data, int remaining_calls)
&tcl_quiet, &tcl_quiet,
&tcl_action_remove_list); &tcl_action_remove_list);
} }
else if (data == &tcl_action_autoload_list)
{
plugin_script_action_autoload (weechat_tcl_plugin,
&tcl_quiet,
&tcl_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -763,6 +777,14 @@ weechat_tcl_signal_script_action_cb (void *data, const char *signal,
&weechat_tcl_timer_action_cb, &weechat_tcl_timer_action_cb,
&tcl_action_remove_list); &tcl_action_remove_list);
} }
else if (strcmp (signal, "tcl_script_autoload") == 0)
{
plugin_script_action_add (&tcl_action_autoload_list,
(const char *)signal_data);
weechat_hook_timer (1, 0, 1,
&weechat_tcl_timer_action_cb,
&tcl_action_autoload_list);
}
} }
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
@@ -811,5 +833,13 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
plugin_script_end (plugin, &tcl_scripts, &weechat_tcl_unload_all); plugin_script_end (plugin, &tcl_scripts, &weechat_tcl_unload_all);
tcl_quiet = 0; tcl_quiet = 0;
/* free some data */
if (tcl_action_install_list)
free (tcl_action_install_list);
if (tcl_action_remove_list)
free (tcl_action_remove_list);
if (tcl_action_autoload_list)
free (tcl_action_autoload_list);
return WEECHAT_RC_OK; return WEECHAT_RC_OK;
} }