diff options
-rw-r--r-- | po/cs.po | 12 | ||||
-rw-r--r-- | po/de.po | 12 | ||||
-rw-r--r-- | po/es.po | 12 | ||||
-rw-r--r-- | po/fr.po | 77 | ||||
-rw-r--r-- | po/hu.po | 12 | ||||
-rw-r--r-- | po/ru.po | 12 | ||||
-rw-r--r-- | po/weechat.pot | 12 | ||||
-rw-r--r-- | src/core/wee-command.c | 12 | ||||
-rw-r--r-- | src/gui/gui-bar.c | 3 |
9 files changed, 93 insertions, 71 deletions
@@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-09-22 16:26+0200\n" +"POT-Creation-Date: 2008-09-23 15:34+0200\n" "PO-Revision-Date: 2008-09-17 16:19+0200\n" "Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -620,9 +620,8 @@ msgstr "řídit buffery" msgid "" "[add barname type[,cond1,cond2,...] position size separator item1,item2,...] " -"| [default] | [del barname|-all] | [set barname name|priority|condition|" -"position|filling|size|separator|items value] | [hide|show barname] | [scroll " -"barname buffer value] | [list] | [listitems]" +"| [default] | [del barname|-all] | [set barname option value] | [hide|show " +"barname] | [scroll barname buffer scroll_value] | [list] | [listitems]" msgstr "" msgid "" @@ -644,12 +643,15 @@ msgid "" " default: create default bars\n" " del: delete a bar (or all bars with -all)\n" " set: set a value for a bar property\n" +" option: option to change (for options list, look at /set weechat.bar." +"<barname>.*)\n" +" value: new value for option\n" " hide: hide a bar\n" " show: show an hidden bar\n" " scroll: scroll bar up/down\n" " buffer: name of buffer to scroll ('*' means current buffer, you " "should use '*' for root bars)\n" -" value: value for scroll: 'x' or 'y', followed by '+', '-', " +" scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', " "'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by " "%% of width/height, otherwise value is number of chars)\n" " list: list all bars\n" @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-09-22 16:26+0200\n" +"POT-Creation-Date: 2008-09-23 15:34+0200\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -626,9 +626,8 @@ msgstr "Puffer verwalten" msgid "" "[add barname type[,cond1,cond2,...] position size separator item1,item2,...] " -"| [default] | [del barname|-all] | [set barname name|priority|condition|" -"position|filling|size|separator|items value] | [hide|show barname] | [scroll " -"barname buffer value] | [list] | [listitems]" +"| [default] | [del barname|-all] | [set barname option value] | [hide|show " +"barname] | [scroll barname buffer scroll_value] | [list] | [listitems]" msgstr "" msgid "" @@ -650,12 +649,15 @@ msgid "" " default: create default bars\n" " del: delete a bar (or all bars with -all)\n" " set: set a value for a bar property\n" +" option: option to change (for options list, look at /set weechat.bar." +"<barname>.*)\n" +" value: new value for option\n" " hide: hide a bar\n" " show: show an hidden bar\n" " scroll: scroll bar up/down\n" " buffer: name of buffer to scroll ('*' means current buffer, you " "should use '*' for root bars)\n" -" value: value for scroll: 'x' or 'y', followed by '+', '-', " +" scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', " "'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by " "%% of width/height, otherwise value is number of chars)\n" " list: list all bars\n" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-09-22 16:26+0200\n" +"POT-Creation-Date: 2008-09-23 15:34+0200\n" "PO-Revision-Date: 2007-09-19 12:09+0200\n" "Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -622,9 +622,8 @@ msgstr "gestionar los búfers" msgid "" "[add barname type[,cond1,cond2,...] position size separator item1,item2,...] " -"| [default] | [del barname|-all] | [set barname name|priority|condition|" -"position|filling|size|separator|items value] | [hide|show barname] | [scroll " -"barname buffer value] | [list] | [listitems]" +"| [default] | [del barname|-all] | [set barname option value] | [hide|show " +"barname] | [scroll barname buffer scroll_value] | [list] | [listitems]" msgstr "" msgid "" @@ -646,12 +645,15 @@ msgid "" " default: create default bars\n" " del: delete a bar (or all bars with -all)\n" " set: set a value for a bar property\n" +" option: option to change (for options list, look at /set weechat.bar." +"<barname>.*)\n" +" value: new value for option\n" " hide: hide a bar\n" " show: show an hidden bar\n" " scroll: scroll bar up/down\n" " buffer: name of buffer to scroll ('*' means current buffer, you " "should use '*' for root bars)\n" -" value: value for scroll: 'x' or 'y', followed by '+', '-', " +" scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', " "'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by " "%% of width/height, otherwise value is number of chars)\n" " list: list all bars\n" @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-09-22 16:26+0200\n" -"PO-Revision-Date: 2008-09-22 16:27+0200\n" +"POT-Creation-Date: 2008-09-23 15:34+0200\n" +"PO-Revision-Date: 2008-09-23 15:41+0200\n" "Last-Translator: FlashCode <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "MIME-Version: 1.0\n" @@ -570,14 +570,13 @@ msgstr "gestion des barres" msgid "" "[add barname type[,cond1,cond2,...] position size separator item1,item2,...] " -"| [default] | [del barname|-all] | [set barname name|priority|condition|" -"position|filling|size|separator|items value] | [hide|show barname] | [scroll " -"barname buffer value] | [list] | [listitems]" +"| [default] | [del barname|-all] | [set barname option value] | [hide|show " +"barname] | [scroll barname buffer scroll_value] | [list] | [listitems]" msgstr "" "[add nombarre type[,cond1,cond2,...] position taille separateur objet1," -"objet2,...] | [default] | [del nombarre|-all] | [set nombarre nom|priorité|" -"condition|position|remplissage|taille|séparateur|items valeur] | [hide|show " -"nombarre] | [scroll nombarre tampon valeur] | [list] | [listitems]" +"objet2,...] | [default] | [del nombarre|-all] | [set nombarre option valeur] " +"| [hide|show nombarre] | [scroll nombarre tampon valeur_scroll] | [list] | " +"[listitems]" msgid "" " add: add a new bar\n" @@ -598,12 +597,15 @@ msgid "" " default: create default bars\n" " del: delete a bar (or all bars with -all)\n" " set: set a value for a bar property\n" +" option: option to change (for options list, look at /set weechat.bar." +"<barname>.*)\n" +" value: new value for option\n" " hide: hide a bar\n" " show: show an hidden bar\n" " scroll: scroll bar up/down\n" " buffer: name of buffer to scroll ('*' means current buffer, you " "should use '*' for root bars)\n" -" value: value for scroll: 'x' or 'y', followed by '+', '-', " +" scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', " "'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by " "%% of width/height, otherwise value is number of chars)\n" " list: list all bars\n" @@ -622,38 +624,41 @@ msgid "" " scroll to end of nicklist on current buffer:\n" " /bar scroll nicklist * ye" msgstr "" -" add: ajoute une nouvelle barre\n" -" nombarre: nom de la barre (doit être unique)\n" -" type: root: en dehors des fenêtres\n" -" window: dans les fenêtres, avec condition(s) optionnelle(s) " +" add: ajoute une nouvelle barre\n" +" nombarre: nom de la barre (doit être unique)\n" +" type: root: en dehors des fenêtres\n" +" window: dans les fenêtres, avec condition(s) optionnelle(s) " "(voir ci-dessous)\n" -" cond1,...: condition(s) pour afficher cette barre (seulement pour le type " -"\"window\") :\n" -" active: sur la fenêtre active\n" -" inactive: sur les fenêtres inactives\n" -" nicklist: sue les fenêtres avec liste de pseudos\n" -" sans condition, la barre est toujours affichée\n" -" position: bottom (bas), top (haut), left (gauche) ou right (droite)\n" -"remplissage: horizontal ou vertical\n" -" taille: taille de la barre (en caractères)\n" -" séparateur: 1 pour utiliser un séparateur (ligne), 0 ou rien signifie sans " -"séparateur\n" -" objet1,...: objets pour cette barre\n" -" default: créer les barres par défaut\n" -" del: supprime une barre (ou toutes les barres avec -all)\n" -" set: changer la valeur d'une propriété de la barre\n" -" hide: cacher la barre\n" -" show: montrer une barre cachée\n" -" scroll: faire défiler la barre vers le haut/bas\n" -" tampon: catégorie et nom du tampon ('*' signifie le tampon courant, " +" cond1,...: condition(s) pour afficher cette barre (seulement pour le " +"type \"window\") :\n" +" active: sur la fenêtre active\n" +" inactive: sur les fenêtres inactives\n" +" nicklist: sue les fenêtres avec liste de pseudos\n" +" sans condition, la barre est toujours affichée\n" +" position: bottom (bas), top (haut), left (gauche) ou right (droite)\n" +" remplissage: horizontal ou vertical\n" +" taille: taille de la barre (en caractères)\n" +" séparateur: 1 pour utiliser un séparateur (ligne), 0 ou rien signifie " +"sans séparateur\n" +" objet1,...: objets pour cette barre\n" +" default: créer les barres par défaut\n" +" del: supprime une barre (ou toutes les barres avec -all)\n" +" set: changer la valeur d'une propriété de la barre\n" +" option: option à modifier (pour la liste des options, voir /set " +"weechat.bar.<nombarre>.*\n" +" valeur: nouvelle valeur pour l'option\n" +" hide: cacher la barre\n" +" show: montrer une barre cachée\n" +" scroll: faire défiler la barre vers le haut/bas\n" +" tampon: catégorie et nom du tampon ('*' signifie le tampon courant, " "vous devez utiliser '*' pour les barres de type root)\n" -" valeur: valeur pour le défilement: 'x' ou 'y', suivi par '+', '-', " +"valeur_scroll: valeur pour le défilement: 'x' ou 'y', suivi par '+', '-', " "'b' (début) ou 'e' (fin), valeur (pour +/-), et un %% optionnel (pour faire " "défiler par %% de la largeur/hauteur, sinon la valeur est un nombre de " "caractères)\n" -" list: liste toutes les barres\n" -" listfull: liste toutes les barres (verbeux)\n" -" listitems: liste tous les objets de barre\n" +" list: liste toutes les barres\n" +" listfull: liste toutes les barres (verbeux)\n" +" listitems: liste tous les objets de barre\n" "\n" "Exemples :\n" " créer une barre avec l'heure et la complétion :\n" @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-09-22 16:26+0200\n" +"POT-Creation-Date: 2008-09-23 15:34+0200\n" "PO-Revision-Date: 2007-10-10 18:07+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -626,9 +626,8 @@ msgstr "pufferek kezelése" msgid "" "[add barname type[,cond1,cond2,...] position size separator item1,item2,...] " -"| [default] | [del barname|-all] | [set barname name|priority|condition|" -"position|filling|size|separator|items value] | [hide|show barname] | [scroll " -"barname buffer value] | [list] | [listitems]" +"| [default] | [del barname|-all] | [set barname option value] | [hide|show " +"barname] | [scroll barname buffer scroll_value] | [list] | [listitems]" msgstr "" msgid "" @@ -650,12 +649,15 @@ msgid "" " default: create default bars\n" " del: delete a bar (or all bars with -all)\n" " set: set a value for a bar property\n" +" option: option to change (for options list, look at /set weechat.bar." +"<barname>.*)\n" +" value: new value for option\n" " hide: hide a bar\n" " show: show an hidden bar\n" " scroll: scroll bar up/down\n" " buffer: name of buffer to scroll ('*' means current buffer, you " "should use '*' for root bars)\n" -" value: value for scroll: 'x' or 'y', followed by '+', '-', " +" scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', " "'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by " "%% of width/height, otherwise value is number of chars)\n" " list: list all bars\n" @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.2.7-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2008-09-22 16:26+0200\n" +"POT-Creation-Date: 2008-09-23 15:34+0200\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -620,9 +620,8 @@ msgstr "управление буферами" msgid "" "[add barname type[,cond1,cond2,...] position size separator item1,item2,...] " -"| [default] | [del barname|-all] | [set barname name|priority|condition|" -"position|filling|size|separator|items value] | [hide|show barname] | [scroll " -"barname buffer value] | [list] | [listitems]" +"| [default] | [del barname|-all] | [set barname option value] | [hide|show " +"barname] | [scroll barname buffer scroll_value] | [list] | [listitems]" msgstr "" msgid "" @@ -644,12 +643,15 @@ msgid "" " default: create default bars\n" " del: delete a bar (or all bars with -all)\n" " set: set a value for a bar property\n" +" option: option to change (for options list, look at /set weechat.bar." +"<barname>.*)\n" +" value: new value for option\n" " hide: hide a bar\n" " show: show an hidden bar\n" " scroll: scroll bar up/down\n" " buffer: name of buffer to scroll ('*' means current buffer, you " "should use '*' for root bars)\n" -" value: value for scroll: 'x' or 'y', followed by '+', '-', " +" scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', " "'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by " "%% of width/height, otherwise value is number of chars)\n" " list: list all bars\n" diff --git a/po/weechat.pot b/po/weechat.pot index 29a8dc7e5..5e1cc0640 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: 2008-09-22 16:26+0200\n" +"POT-Creation-Date: 2008-09-23 15:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -543,9 +543,8 @@ msgstr "" msgid "" "[add barname type[,cond1,cond2,...] position size separator item1,item2,...] " -"| [default] | [del barname|-all] | [set barname name|priority|condition|" -"position|filling|size|separator|items value] | [hide|show barname] | [scroll " -"barname buffer value] | [list] | [listitems]" +"| [default] | [del barname|-all] | [set barname option value] | [hide|show " +"barname] | [scroll barname buffer scroll_value] | [list] | [listitems]" msgstr "" msgid "" @@ -567,12 +566,15 @@ msgid "" " default: create default bars\n" " del: delete a bar (or all bars with -all)\n" " set: set a value for a bar property\n" +" option: option to change (for options list, look at /set weechat.bar." +"<barname>.*)\n" +" value: new value for option\n" " hide: hide a bar\n" " show: show an hidden bar\n" " scroll: scroll bar up/down\n" " buffer: name of buffer to scroll ('*' means current buffer, you " "should use '*' for root bars)\n" -" value: value for scroll: 'x' or 'y', followed by '+', '-', " +" scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', " "'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by " "%% of width/height, otherwise value is number of chars)\n" " list: list all bars\n" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 895b3b485..ca26a9039 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -2743,10 +2743,9 @@ command_init () N_("manage bars"), N_("[add barname type[,cond1,cond2,...] position size " "separator item1,item2,...] | [default] | " - "[del barname|-all] | [set barname name|priority|" - "condition|position|filling|size|separator|" - "items value] | [hide|show barname] | [scroll barname " - "buffer value] | [list] | [listitems]"), + "[del barname|-all] | [set barname option value] | " + "[hide|show barname] | [scroll barname buffer " + "scroll_value] | [list] | [listitems]"), N_(" add: add a new bar\n" " barname: name of bar (must be unique)\n" " type: root: outside windows),\n" @@ -2767,12 +2766,15 @@ command_init () " default: create default bars\n" " del: delete a bar (or all bars with -all)\n" " set: set a value for a bar property\n" + " option: option to change (for options list, look " + "at /set weechat.bar.<barname>.*)\n" + " value: new value for option\n" " hide: hide a bar\n" " show: show an hidden bar\n" " scroll: scroll bar up/down\n" " buffer: name of buffer to scroll ('*' " "means current buffer, you should use '*' for root bars)\n" - " value: value for scroll: 'x' or 'y', followed by " + " scroll_value: value for scroll: 'x' or 'y', followed by " "'+', '-', 'b' (beginning) or 'e' (end), value (for +/-), " "and optional %% (to scroll by %% of width/height, " "otherwise value is number of chars)\n" diff --git a/src/gui/gui-bar.c b/src/gui/gui-bar.c index e31f84352..6bb4e018f 100644 --- a/src/gui/gui-bar.c +++ b/src/gui/gui-bar.c @@ -1830,6 +1830,9 @@ gui_bar_update (const char *name) void gui_bar_free (struct t_gui_bar *bar) { + if (!bar) + return; + /* remove bar window(s) */ if (bar->bar_window) { |