diff --git a/doc/de/autogen/user/script_commands.txt b/doc/de/autogen/user/script_commands.txt index ab430e4bd..80d46a9fe 100644 --- a/doc/de/autogen/user/script_commands.txt +++ b/doc/de/autogen/user/script_commands.txt @@ -21,11 +21,12 @@ Without argument, this command opens a buffer with list of scripts. On script buffer, the possible status for each script are: - * i H r N - | | | | | - | | | | obsolete (new version available) - | | | running (loaded) - | | held + * i a H r N + | | | | | | + | | | | | obsolete (new version available) + | | | | running (loaded) + | | | held + | | autoloaded | installed popular script diff --git a/doc/de/autogen/user/script_options.txt b/doc/de/autogen/user/script_options.txt index 7ff881ce1..e7424911b 100644 --- a/doc/de/autogen/user/script_options.txt +++ b/doc/de/autogen/user/script_options.txt @@ -1,3 +1,8 @@ +* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded* +** Beschreibung: `color for status "autoloaded" ("a")` +** Typ: Farbe +** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "_" für unterstrichen (Standardwert: `cyan`) + * [[option_script.color.status_held]] *script.color.status_held* ** Beschreibung: `color for status "held" ("H")` ** Typ: Farbe @@ -129,7 +134,7 @@ ** Werte: beliebige Zeichenkette (Standardwert: `"%s %n %V %v %u | %d | %t"`) * [[option_script.look.sort]] *script.look.sort* -** Beschreibung: `default sort keys for scripts: comma-separated list of identifiers: a=author, d=date added, e=extension, i=installed, l=language, n=name, o=obsolete, p=popularity, r=running, u=date updated; char "-" can be used before identifier to reverse order; example: "i,u": installed scripts first, sorted by update date` +** Beschreibung: `default sort keys for scripts: comma-separated list of identifiers: a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, n=name, o=obsolete, p=popularity, r=running, u=date updated; char "-" can be used before identifier to reverse order; example: "i,u": installed scripts first, sorted by update date` ** Typ: Zeichenkette ** Werte: beliebige Zeichenkette (Standardwert: `"p,n"`) diff --git a/doc/en/autogen/user/script_commands.txt b/doc/en/autogen/user/script_commands.txt index ab430e4bd..80d46a9fe 100644 --- a/doc/en/autogen/user/script_commands.txt +++ b/doc/en/autogen/user/script_commands.txt @@ -21,11 +21,12 @@ Without argument, this command opens a buffer with list of scripts. On script buffer, the possible status for each script are: - * i H r N - | | | | | - | | | | obsolete (new version available) - | | | running (loaded) - | | held + * i a H r N + | | | | | | + | | | | | obsolete (new version available) + | | | | running (loaded) + | | | held + | | autoloaded | installed popular script diff --git a/doc/en/autogen/user/script_options.txt b/doc/en/autogen/user/script_options.txt index bf858a874..8f83803b1 100644 --- a/doc/en/autogen/user/script_options.txt +++ b/doc/en/autogen/user/script_options.txt @@ -1,3 +1,8 @@ +* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded* +** description: `color for status "autoloaded" ("a")` +** type: color +** values: a WeeChat color name (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), a terminal color number or an alias; attributes are allowed before color (for text color only, not background): "*" for bold, "!" for reverse, "_" for underline (default value: `cyan`) + * [[option_script.color.status_held]] *script.color.status_held* ** description: `color for status "held" ("H")` ** type: color @@ -129,7 +134,7 @@ ** values: any string (default value: `"%s %n %V %v %u | %d | %t"`) * [[option_script.look.sort]] *script.look.sort* -** description: `default sort keys for scripts: comma-separated list of identifiers: a=author, d=date added, e=extension, i=installed, l=language, n=name, o=obsolete, p=popularity, r=running, u=date updated; char "-" can be used before identifier to reverse order; example: "i,u": installed scripts first, sorted by update date` +** description: `default sort keys for scripts: comma-separated list of identifiers: a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, n=name, o=obsolete, p=popularity, r=running, u=date updated; char "-" can be used before identifier to reverse order; example: "i,u": installed scripts first, sorted by update date` ** type: string ** values: any string (default value: `"p,n"`) diff --git a/doc/fr/autogen/user/script_commands.txt b/doc/fr/autogen/user/script_commands.txt index ba77af871..9f2b9f8cc 100644 --- a/doc/fr/autogen/user/script_commands.txt +++ b/doc/fr/autogen/user/script_commands.txt @@ -21,11 +21,12 @@ Sans paramètre, cette commande ouvre un tampon avec la liste des scripts. Sur le tampon des scripts, les statuts pour chaque script sont : - * i H r N - | | | | | - | | | | obsolète (nouvelle version disponible) - | | | chargé - | | figé + * i a H r N + | | | | | | + | | | | | obsolète (nouvelle version disponible) + | | | | chargé + | | | figé + | | chargé auto | installé script populaire diff --git a/doc/fr/autogen/user/script_options.txt b/doc/fr/autogen/user/script_options.txt index b3e5a0060..1ebe7639c 100644 --- a/doc/fr/autogen/user/script_options.txt +++ b/doc/fr/autogen/user/script_options.txt @@ -1,3 +1,8 @@ +* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded* +** description: `couleur du statut "chargé auto" ("a")` +** type: couleur +** valeurs: un nom de couleur WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numéro de couleur du terminal ou un alias; des attributs sont autorisés avant la couleur (seulement pour la couleur du texte, pas le fond) : "*" pour du gras, "!" pour la vidéo inverse, "_" pour du souligné (valeur par défaut: `cyan`) + * [[option_script.color.status_held]] *script.color.status_held* ** description: `couleur du statut "figé" ("H")` ** type: couleur @@ -129,7 +134,7 @@ ** valeurs: toute chaîne (valeur par défaut: `"%s %n %V %v %u | %d | %t"`) * [[option_script.look.sort]] *script.look.sort* -** description: `tri par défaut des scripts: liste d'identifiants séparés par des virgules: a=auteur, d=date d'ajour, e=extension, i=installé, l=langage, n=nom, o=obsolète, p=populaire, r=chargé, u=date de mise à jour; le caractère "-" peut être utilisé avant l'identifiant pour inverser l'ordre; exemple: "i,u": scripts installés en premier, triés par date de mise à jour` +** description: `tri par défaut des scripts: liste d'identifiants séparés par des virgules: a=auteur, A=chargé auto, d=date d'ajout, e=extension, i=installé, l=langage, n=nom, o=obsolète, p=populaire, r=chargé, u=date de mise à jour; le caractère "-" peut être utilisé avant l'identifiant pour inverser l'ordre; exemple: "i,u": scripts installés en premier, triés par date de mise à jour` ** type: chaîne ** valeurs: toute chaîne (valeur par défaut: `"p,n"`) diff --git a/doc/it/autogen/user/script_commands.txt b/doc/it/autogen/user/script_commands.txt index ab430e4bd..80d46a9fe 100644 --- a/doc/it/autogen/user/script_commands.txt +++ b/doc/it/autogen/user/script_commands.txt @@ -21,11 +21,12 @@ Without argument, this command opens a buffer with list of scripts. On script buffer, the possible status for each script are: - * i H r N - | | | | | - | | | | obsolete (new version available) - | | | running (loaded) - | | held + * i a H r N + | | | | | | + | | | | | obsolete (new version available) + | | | | running (loaded) + | | | held + | | autoloaded | installed popular script diff --git a/doc/it/autogen/user/script_options.txt b/doc/it/autogen/user/script_options.txt index 2db7cf2d8..d5154a591 100644 --- a/doc/it/autogen/user/script_options.txt +++ b/doc/it/autogen/user/script_options.txt @@ -1,3 +1,8 @@ +* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded* +** descrizione: `color for status "autoloaded" ("a")` +** tipo: colore +** valori: un nome colore di WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), un numero colore del terminale o un alias; attributi consentiti prima del colore (solo per il colore del testo, non lo sfondo): "*" per il grassetto, "!" per l'inverso, "_" per la sottolineatura (valore predefinito: `cyan`) + * [[option_script.color.status_held]] *script.color.status_held* ** descrizione: `color for status "held" ("H")` ** tipo: colore @@ -129,7 +134,7 @@ ** valori: qualsiasi stringa (valore predefinito: `"%s %n %V %v %u | %d | %t"`) * [[option_script.look.sort]] *script.look.sort* -** descrizione: `default sort keys for scripts: comma-separated list of identifiers: a=author, d=date added, e=extension, i=installed, l=language, n=name, o=obsolete, p=popularity, r=running, u=date updated; char "-" can be used before identifier to reverse order; example: "i,u": installed scripts first, sorted by update date` +** descrizione: `default sort keys for scripts: comma-separated list of identifiers: a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, n=name, o=obsolete, p=popularity, r=running, u=date updated; char "-" can be used before identifier to reverse order; example: "i,u": installed scripts first, sorted by update date` ** tipo: stringa ** valori: qualsiasi stringa (valore predefinito: `"p,n"`) diff --git a/doc/ja/autogen/user/script_commands.txt b/doc/ja/autogen/user/script_commands.txt index ab430e4bd..80d46a9fe 100644 --- a/doc/ja/autogen/user/script_commands.txt +++ b/doc/ja/autogen/user/script_commands.txt @@ -21,11 +21,12 @@ Without argument, this command opens a buffer with list of scripts. On script buffer, the possible status for each script are: - * i H r N - | | | | | - | | | | obsolete (new version available) - | | | running (loaded) - | | held + * i a H r N + | | | | | | + | | | | | obsolete (new version available) + | | | | running (loaded) + | | | held + | | autoloaded | installed popular script diff --git a/doc/ja/autogen/user/script_options.txt b/doc/ja/autogen/user/script_options.txt index 33804e1cf..68f19ad1e 100644 --- a/doc/ja/autogen/user/script_options.txt +++ b/doc/ja/autogen/user/script_options.txt @@ -1,3 +1,8 @@ +* [[option_script.color.status_autoloaded]] *script.color.status_autoloaded* +** 説明: `color for status "autoloaded" ("a")` +** タイプ: 色 +** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、下線は "_"。 (デフォルト値: `cyan`) + * [[option_script.color.status_held]] *script.color.status_held* ** 説明: `color for status "held" ("H")` ** タイプ: 色 @@ -129,7 +134,7 @@ ** 値: 未制約文字列 (デフォルト値: `"%s %n %V %v %u | %d | %t"`) * [[option_script.look.sort]] *script.look.sort* -** 説明: `default sort keys for scripts: comma-separated list of identifiers: a=author, d=date added, e=extension, i=installed, l=language, n=name, o=obsolete, p=popularity, r=running, u=date updated; char "-" can be used before identifier to reverse order; example: "i,u": installed scripts first, sorted by update date` +** 説明: `default sort keys for scripts: comma-separated list of identifiers: a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, n=name, o=obsolete, p=popularity, r=running, u=date updated; char "-" can be used before identifier to reverse order; example: "i,u": installed scripts first, sorted by update date` ** タイプ: 文字列 ** 値: 未制約文字列 (デフォルト値: `"p,n"`) diff --git a/po/cs.po b/po/cs.po index 60d3119cd..ffe06949a 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-06-03 09:49+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -8280,19 +8280,26 @@ msgstr "ukončit WeeChat" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -8331,11 +8338,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -8376,10 +8384,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -8389,6 +8397,10 @@ msgstr "barva textu pro čas (stavový řádek)" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "barva textu pro čas (stavový řádek)" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/de.po b/po/de.po index 3e05db52e..404471164 100644 --- a/po/de.po +++ b/po/de.po @@ -23,7 +23,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-08-03 09:46+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -8854,19 +8854,26 @@ msgstr "WeeChat beenden" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -8905,11 +8912,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -8950,10 +8958,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -8963,6 +8971,10 @@ msgstr "Textfarbe für die Uhrzeit (Statusbar)" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "Textfarbe für die Uhrzeit (Statusbar)" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/es.po b/po/es.po index 631e72fa4..9b1eaac52 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-07-27 12:16+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -8553,19 +8553,26 @@ msgstr "cerrar WeeChat" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -8604,11 +8611,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -8649,10 +8657,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -8662,6 +8670,10 @@ msgstr "color para el texto de la hora (en la barra de estado)" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "color para el texto de la hora (en la barra de estado)" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/fr.po b/po/fr.po index 49c13f37a..f7550621d 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" -"PO-Revision-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" +"PO-Revision-Date: 2012-08-15 09:24+0200\n" "Last-Translator: Sebastien Helleu \n" "Language-Team: weechat-dev \n" "Language: French\n" @@ -8627,19 +8627,26 @@ msgstr "WeeChat maxi" msgid "popular" msgstr "populaire" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "installé" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "chargé_auto" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "figé" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "chargé" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "obsolète" -#, c-format msgid "alt+d=back to list" msgstr "alt+d=retour à la liste" @@ -8682,11 +8689,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -8721,11 +8729,12 @@ msgstr "" "Sans paramètre, cette commande ouvre un tampon avec la liste des scripts.\n" "\n" "Sur le tampon des scripts, les statuts pour chaque script sont :\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolète (nouvelle version disponible)\n" -" | | | chargé\n" -" | | figé\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolète (nouvelle version disponible)\n" +" | | | | chargé\n" +" | | | figé\n" +" | | chargé auto\n" " | installé\n" " script populaire\n" "\n" @@ -8771,16 +8780,16 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" "tri par défaut des scripts: liste d'identifiants séparés par des virgules: " -"a=auteur, d=date d'ajour, e=extension, i=installé, l=langage, n=nom, " -"o=obsolète, p=populaire, r=chargé, u=date de mise à jour; le caractère \"-\" " -"peut être utilisé avant l'identifiant pour inverser l'ordre; exemple: \"i,u" -"\": scripts installés en premier, triés par date de mise à jour" +"a=auteur, A=chargé auto, d=date d'ajout, e=extension, i=installé, l=langage, " +"n=nom, o=obsolète, p=populaire, r=chargé, u=date de mise à jour; le " +"caractère \"-\" peut être utilisé avant l'identifiant pour inverser l'ordre; " +"exemple: \"i,u\": scripts installés en premier, triés par date de mise à jour" msgid "color for status \"popular\" (\"*\")" msgstr "couleur du statut \"populaire\" (\"*\")" @@ -8788,6 +8797,9 @@ msgstr "couleur du statut \"populaire\" (\"*\")" msgid "color for status \"installed\" (\"i\")" msgstr "couleur du statut \"installé\" (\"i\")" +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "couleur du statut \"chargé auto\" (\"a\")" + msgid "color for status \"held\" (\"H\")" msgstr "couleur du statut \"figé\" (\"H\")" diff --git a/po/hu.po b/po/hu.po index 1edb20e7f..55a9b5b84 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-06-03 09:49+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -7761,19 +7761,26 @@ msgstr "WeeChat szlogen" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -7812,11 +7819,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -7857,10 +7865,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -7870,6 +7878,10 @@ msgstr "státuszsor színe" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "státuszsor színe" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/it.po b/po/it.po index acad5da75..b6bd681f5 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-07-30 15:38+0200\n" "Last-Translator: Marco Paolone \n" "Language-Team: weechat-dev \n" @@ -8543,19 +8543,26 @@ msgstr "esce da WeeChat" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -8594,11 +8601,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -8639,10 +8647,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -8652,6 +8660,10 @@ msgstr "colore del testo per l'ora (barra di stato)" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "colore del testo per l'ora (barra di stato)" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/ja.po b/po/ja.po index ff65c902e..3a21054ea 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:32+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-08-08 17:35+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -8342,19 +8342,26 @@ msgstr "WeeChat の終了" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -8393,11 +8400,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -8438,10 +8446,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -8451,6 +8459,10 @@ msgstr "時間のテキスト色 (ステータスバー)" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "時間のテキスト色 (ステータスバー)" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/pl.po b/po/pl.po index d3867c5e9..b0ab98088 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-07-27 12:16+0200\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" @@ -8476,19 +8476,26 @@ msgstr "zakończ WeeChat" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -8527,11 +8534,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -8572,10 +8580,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -8585,6 +8593,10 @@ msgstr "kolor czasu (pasek statusu)" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "kolor czasu (pasek statusu)" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index 9ccef91cd..ccca689d6 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-06-03 09:49+0200\n" "Last-Translator: Sergio Durigan Junior \n" "Language-Team: weechat-dev \n" @@ -7911,19 +7911,26 @@ msgstr "quit WeeChat" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -7962,11 +7969,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -8007,10 +8015,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -8020,6 +8028,10 @@ msgstr "cor de texto para o tempo (barra de status)" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "cor de texto para o tempo (barra de status)" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/ru.po b/po/ru.po index 736633539..2633b057c 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.9-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: 2012-06-03 09:49+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -7784,19 +7784,26 @@ msgstr "слоган WeeChat" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -7835,11 +7842,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -7880,10 +7888,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" #, fuzzy @@ -7893,6 +7901,10 @@ msgstr "цвет строки состояния" msgid "color for status \"installed\" (\"i\")" msgstr "" +#, fuzzy +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "цвет строки состояния" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/po/weechat.pot b/po/weechat.pot index 2dba5d6fa..7376546cb 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2012-08-14 18:26+0200\n" +"POT-Creation-Date: 2012-08-15 09:17+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -6839,19 +6839,26 @@ msgstr "" msgid "popular" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "installed" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) +msgid "autoloaded" +msgstr "" + +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "held" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "running" msgstr "" +#. TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) msgid "obsolete" msgstr "" -#, c-format msgid "alt+d=back to list" msgstr "" @@ -6889,11 +6896,12 @@ msgid "" "Without argument, this command opens a buffer with list of scripts.\n" "\n" "On script buffer, the possible status for each script are:\n" -" * i H r N\n" -" | | | | |\n" -" | | | | obsolete (new version available)\n" -" | | | running (loaded)\n" -" | | held\n" +" * i a H r N\n" +" | | | | | |\n" +" | | | | | obsolete (new version available)\n" +" | | | | running (loaded)\n" +" | | | held\n" +" | | autoloaded\n" " | installed\n" " popular script\n" "\n" @@ -6933,10 +6941,10 @@ msgstr "" msgid "" "default sort keys for scripts: comma-separated list of identifiers: " -"a=author, d=date added, e=extension, i=installed, l=language, n=name, " -"o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can be used " -"before identifier to reverse order; example: \"i,u\": installed scripts " -"first, sorted by update date" +"a=author, A=autoloaded, d=date added, e=extension, i=installed, l=language, " +"n=name, o=obsolete, p=popularity, r=running, u=date updated; char \"-\" can " +"be used before identifier to reverse order; example: \"i,u\": installed " +"scripts first, sorted by update date" msgstr "" msgid "color for status \"popular\" (\"*\")" @@ -6945,6 +6953,9 @@ msgstr "" msgid "color for status \"installed\" (\"i\")" msgstr "" +msgid "color for status \"autoloaded\" (\"a\")" +msgstr "" + msgid "color for status \"held\" (\"H\")" msgstr "" diff --git a/src/plugins/script/script-action.c b/src/plugins/script/script-action.c index aabb8e504..e81cae4ee 100644 --- a/src/plugins/script/script-action.c +++ b/src/plugins/script/script-action.c @@ -69,7 +69,7 @@ script_action_list () ptr_name = weechat_hdata_string (hdata, ptr_script, "name"); weechat_printf (NULL, " %s %s%s%s.%s %s%s %s(%s%s%s)", script_repo_get_status_for_display (script_repo_search_by_name (ptr_name), - "*?HN", 0), + "*?iaHN", 0), weechat_color (weechat_config_string (script_config_color_text_name)), ptr_name, weechat_color (weechat_config_string (script_config_color_text_extension)), diff --git a/src/plugins/script/script-buffer.c b/src/plugins/script/script-buffer.c index 9fc95d44a..a46ee1770 100644 --- a/src/plugins/script/script-buffer.c +++ b/src/plugins/script/script-buffer.c @@ -202,7 +202,7 @@ script_buffer_display_line_script (int line, struct t_repo_script *script) snprintf (str_item, sizeof (str_item), "%s", script_repo_get_status_for_display (script, - "*iHrN", 0)); + "*iaHrN", 0)); break; case 't': /* tags */ if (script->tags) @@ -416,19 +416,26 @@ script_buffer_display_detail_script (struct t_repo_script *script) else { weechat_printf_y (script_buffer, line + 1, - "%s: %s%s (%s%s%s%s%s%s%s%s%s%s )", + "%s: %s%s (%s%s%s%s%s%s%s%s%s%s%s%s )", script_buffer_detail_label (_(labels[line]), max_length), - script_repo_get_status_for_display (script, "*iHrN", 1), + script_repo_get_status_for_display (script, "*iaHrN", 1), weechat_color ("chat"), (script->popularity > 0) ? " " : "", (script->popularity > 0) ? _("popular") : "", (script->status & SCRIPT_STATUS_INSTALLED) ? " " : "", + /* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */ (script->status & SCRIPT_STATUS_INSTALLED) ? _("installed") : "", + (script->status & SCRIPT_STATUS_AUTOLOADED) ? " " : "", + /* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */ + (script->status & SCRIPT_STATUS_AUTOLOADED) ? _("autoloaded") : "", (script->status & SCRIPT_STATUS_HELD) ? " " : "", + /* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */ (script->status & SCRIPT_STATUS_HELD) ? _("held") : "", (script->status & SCRIPT_STATUS_RUNNING) ? " " : "", + /* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */ (script->status & SCRIPT_STATUS_RUNNING) ? _("running") : "", (script->status & SCRIPT_STATUS_NEW_VERSION) ? " " : "", + /* TRANSLATORS: translation must be one short word without spaces (replace spaces by underscores if needed) */ (script->status & SCRIPT_STATUS_NEW_VERSION) ? _("obsolete") : ""); } line++; diff --git a/src/plugins/script/script-command.c b/src/plugins/script/script-command.c index 4ba65cb84..62d9f71d3 100644 --- a/src/plugins/script/script-command.c +++ b/src/plugins/script/script-command.c @@ -233,11 +233,12 @@ script_command_init () "with list of scripts.\n\n" "On script buffer, the possible status for each " "script are:\n" - " * i H r N\n" - " | | | | |\n" - " | | | | obsolete (new version available)\n" - " | | | running (loaded)\n" - " | | held\n" + " * i a H r N\n" + " | | | | | |\n" + " | | | | | obsolete (new version available)\n" + " | | | | running (loaded)\n" + " | | | held\n" + " | | autoloaded\n" " | installed\n" " popular script\n\n" "Keys on script buffer:\n" diff --git a/src/plugins/script/script-config.c b/src/plugins/script/script-config.c index 0123b7c8c..1a3f78de8 100644 --- a/src/plugins/script/script-config.c +++ b/src/plugins/script/script-config.c @@ -46,6 +46,7 @@ struct t_config_option *script_config_look_sort; struct t_config_option *script_config_color_status_popular; struct t_config_option *script_config_color_status_installed; +struct t_config_option *script_config_color_status_autoloaded; struct t_config_option *script_config_color_status_held; struct t_config_option *script_config_color_status_running; struct t_config_option *script_config_color_status_obsolete; @@ -343,10 +344,11 @@ script_config_init () script_config_file, ptr_section, "sort", "string", N_("default sort keys for scripts: comma-separated list of identifiers: " - "a=author, d=date added, e=extension, i=installed, l=language, " - "n=name, o=obsolete, p=popularity, r=running, u=date updated; char " - "\"-\" can be used before identifier to reverse order; example: " - "\"i,u\": installed scripts first, sorted by update date"), + "a=author, A=autoloaded, d=date added, e=extension, i=installed, " + "l=language, n=name, o=obsolete, p=popularity, r=running, " + "u=date updated; char \"-\" can be used before identifier to reverse " + "order; example: \"i,u\": installed scripts first, sorted by update " + "date"), NULL, 0, 0, "p,n", NULL, 0, NULL, NULL, &script_config_change_sort_cb, NULL, NULL, NULL); @@ -374,6 +376,12 @@ script_config_init () N_("color for status \"installed\" (\"i\")"), NULL, 0, 0, "lightcyan", NULL, 0, NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL); + script_config_color_status_autoloaded = weechat_config_new_option ( + script_config_file, ptr_section, + "status_autoloaded", "color", + N_("color for status \"autoloaded\" (\"a\")"), + NULL, 0, 0, "cyan", NULL, 0, + NULL, NULL, &script_config_refresh_cb, NULL, NULL, NULL); script_config_color_status_held = weechat_config_new_option ( script_config_file, ptr_section, "status_held", "color", diff --git a/src/plugins/script/script-config.h b/src/plugins/script/script-config.h index 31ec84bb5..b28071863 100644 --- a/src/plugins/script/script-config.h +++ b/src/plugins/script/script-config.h @@ -29,6 +29,7 @@ extern struct t_config_option *script_config_look_sort; extern struct t_config_option *script_config_color_status_popular; extern struct t_config_option *script_config_color_status_installed; +extern struct t_config_option *script_config_color_status_autoloaded; extern struct t_config_option *script_config_color_status_held; extern struct t_config_option *script_config_color_status_running; extern struct t_config_option *script_config_color_status_obsolete; diff --git a/src/plugins/script/script-repo.c b/src/plugins/script/script-repo.c index 82f1c5271..4b88d160f 100644 --- a/src/plugins/script/script-repo.c +++ b/src/plugins/script/script-repo.c @@ -149,7 +149,7 @@ script_repo_search_by_name_ext (const char *name_with_extension) /* * script_repo_get_status_for_display: get status for display * list is the codes of status to display - * (exemple: "*iHrN" for all status) + * (exemple: "*iaHrN" for all status) */ const char * @@ -178,6 +178,10 @@ script_repo_get_status_for_display (struct t_repo_script *script, strcat (str_status, weechat_color (weechat_config_string (script_config_color_status_installed))); strcat (str_status, (script && (script->status & SCRIPT_STATUS_INSTALLED)) ? "i" : str_space); break; + case 'a': + strcat (str_status, weechat_color (weechat_config_string (script_config_color_status_autoloaded))); + strcat (str_status, (script && (script->status & SCRIPT_STATUS_AUTOLOADED)) ? "a" : str_space); + break; case '?': strcat (str_status, weechat_color (weechat_config_string (script_config_color_status_unknown))); strcat (str_status, (script) ? str_space : "?"); @@ -265,6 +269,14 @@ script_repo_compare_scripts (struct t_repo_script *script1, case 'a': /* author */ cmp = strcmp (script1->author, script2->author); break; + case 'A': /* status autoloaded */ + if ((script1->status & SCRIPT_STATUS_AUTOLOADED) + && !(script2->status & SCRIPT_STATUS_AUTOLOADED)) + cmp = -1; + else if (!(script1->status & SCRIPT_STATUS_AUTOLOADED) + && (script2->status & SCRIPT_STATUS_AUTOLOADED)) + cmp = 1; + break; case 'd': /* date added */ if (script1->date_added > script2->date_added) cmp = -1; @@ -638,6 +650,7 @@ script_repo_update_status (struct t_repo_script *script) if (stat (filename, &st) == 0) { script->status |= SCRIPT_STATUS_INSTALLED; + script->status |= SCRIPT_STATUS_AUTOLOADED; md5sum = script_repo_md5sum_file (filename); } else @@ -1352,9 +1365,10 @@ script_repo_print_log () weechat_log_printf (" popularity. . . . . . : %d", ptr_script->popularity); weechat_log_printf (" date_added. . . . . . : %ld", ptr_script->date_added); weechat_log_printf (" date_updated. . . . . : %ld", ptr_script->date_updated); - weechat_log_printf (" status. . . . . . . . : %d (%s%s%s%s )", + weechat_log_printf (" status. . . . . . . . : %d (%s%s%s%s%s )", ptr_script->status, (ptr_script->status & SCRIPT_STATUS_INSTALLED) ? " installed": "", + (ptr_script->status & SCRIPT_STATUS_AUTOLOADED) ? " autoloaded": "", (ptr_script->status & SCRIPT_STATUS_HELD) ? " held": "", (ptr_script->status & SCRIPT_STATUS_RUNNING) ? " running": "", (ptr_script->status & SCRIPT_STATUS_NEW_VERSION) ? " new_version": ""); diff --git a/src/plugins/script/script-repo.h b/src/plugins/script/script-repo.h index 9bd05e6c7..a0b379da2 100644 --- a/src/plugins/script/script-repo.h +++ b/src/plugins/script/script-repo.h @@ -22,9 +22,10 @@ /* status for script */ #define SCRIPT_STATUS_INSTALLED 1 -#define SCRIPT_STATUS_HELD 2 -#define SCRIPT_STATUS_RUNNING 4 -#define SCRIPT_STATUS_NEW_VERSION 8 +#define SCRIPT_STATUS_AUTOLOADED 2 +#define SCRIPT_STATUS_HELD 4 +#define SCRIPT_STATUS_RUNNING 8 +#define SCRIPT_STATUS_NEW_VERSION 16 struct t_repo_script {