diff --git a/po/cs.po b/po/cs.po index 87d7530ca..8b3b4b68f 100644 --- a/po/cs.po +++ b/po/cs.po @@ -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-21 19:29+0200\n" +"POT-Creation-Date: 2008-09-21 21:30+0200\n" "PO-Revision-Date: 2008-09-17 16:19+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -2205,6 +2205,9 @@ msgstr "%s chyba při čtení FIFO roury, zavírám ji\n" msgid "name of FIFO pipe" msgstr "" +msgid "away" +msgstr "" + msgid "Lag" msgstr "" diff --git a/po/de.po b/po/de.po index 35dcc4a96..92e054464 100644 --- a/po/de.po +++ b/po/de.po @@ -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-21 19:29+0200\n" +"POT-Creation-Date: 2008-09-21 21:30+0200\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Thomas Schuetz \n" "Language-Team: weechat-dev \n" @@ -2146,6 +2146,9 @@ msgstr "%s Fehler beim Lesen vom FIFO, FIFO wird geschlossen\n" msgid "name of FIFO pipe" msgstr "" +msgid "away" +msgstr "" + msgid "Lag" msgstr "" diff --git a/po/es.po b/po/es.po index 6fd7ecd17..08d736f66 100644 --- a/po/es.po +++ b/po/es.po @@ -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-21 19:29+0200\n" +"POT-Creation-Date: 2008-09-21 21:30+0200\n" "PO-Revision-Date: 2007-09-19 12:09+0200\n" "Last-Translator: Roberto González Cardenete \n" "Language-Team: weechat-dev \n" @@ -2124,6 +2124,9 @@ msgstr "%s error al leer la tubería FIFO, cerrándola\n" msgid "name of FIFO pipe" msgstr "" +msgid "away" +msgstr "" + msgid "Lag" msgstr "" diff --git a/po/fr.po b/po/fr.po index 48cc3a202..c8362705d 100644 --- a/po/fr.po +++ b/po/fr.po @@ -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-21 19:29+0200\n" -"PO-Revision-Date: 2008-09-21 19:29+0200\n" +"POT-Creation-Date: 2008-09-21 21:30+0200\n" +"PO-Revision-Date: 2008-09-21 21:30+0200\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -2131,6 +2131,9 @@ msgstr "%s%s: erreur d'ouverture du fichier, fermeture" msgid "name of FIFO pipe" msgstr "nom du tube FIFO" +msgid "away" +msgstr "absent" + msgid "Lag" msgstr "Lag" diff --git a/po/hu.po b/po/hu.po index 31b57cf34..49c4f753a 100644 --- a/po/hu.po +++ b/po/hu.po @@ -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-21 19:29+0200\n" +"POT-Creation-Date: 2008-09-21 21:30+0200\n" "PO-Revision-Date: 2007-10-10 18:07+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -2153,6 +2153,9 @@ msgstr "%s hiba a FIFO cső olvasása közben, bezárás\n" msgid "name of FIFO pipe" msgstr "" +msgid "away" +msgstr "" + msgid "Lag" msgstr "" diff --git a/po/ru.po b/po/ru.po index b09b9d93c..216322380 100644 --- a/po/ru.po +++ b/po/ru.po @@ -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-21 19:29+0200\n" +"POT-Creation-Date: 2008-09-21 21:30+0200\n" "PO-Revision-Date: 2007-09-06 12:44+0200\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -2158,6 +2158,9 @@ msgstr "%s ошибка чтения FIFO pipe, закрываю его\n" msgid "name of FIFO pipe" msgstr "" +msgid "away" +msgstr "" + msgid "Lag" msgstr "" diff --git a/po/weechat.pot b/po/weechat.pot index ac611af63..d212e73f2 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-21 19:29+0200\n" +"POT-Creation-Date: 2008-09-21 21:30+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1814,6 +1814,9 @@ msgstr "" msgid "name of FIFO pipe" msgstr "" +msgid "away" +msgstr "" + msgid "Lag" msgstr "" diff --git a/src/plugins/irc/irc-bar-item.c b/src/plugins/irc/irc-bar-item.c index 9f8258736..282fbb720 100644 --- a/src/plugins/irc/irc-bar-item.c +++ b/src/plugins/irc/irc-bar-item.c @@ -40,7 +40,7 @@ irc_bar_item_buffer_name (void *data, struct t_gui_bar_item *item, struct t_gui_window *window, int max_width, int max_height) { - char buf[256], buf_name[256], *name; + char buf[256], buf_name[256], away[128], *name; int number; struct t_gui_buffer *buffer; struct t_irc_server *server; @@ -92,6 +92,14 @@ irc_bar_item_buffer_name (void *data, struct t_gui_bar_item *item, IRC_COLOR_BAR_DELIM); } } + if (server && server->is_away) + { + snprintf (away, sizeof (away), " %s(%s%s%s)", + IRC_COLOR_BAR_DELIM, + IRC_COLOR_BAR_FG, + _("away"), + IRC_COLOR_BAR_DELIM); + } } else { @@ -100,12 +108,13 @@ irc_bar_item_buffer_name (void *data, struct t_gui_bar_item *item, snprintf (buf_name, sizeof (buf_name), "%s", name); } - snprintf (buf, sizeof (buf), "%s%d%s:%s%s", + snprintf (buf, sizeof (buf), "%s%d%s:%s%s%s", IRC_COLOR_STATUS_NUMBER, number, IRC_COLOR_BAR_DELIM, IRC_COLOR_STATUS_NAME, - buf_name); + buf_name, + away); return strdup (buf); }