core: move irc bar item "away" and two options to core (closes #692)

Options moved:

* "irc.look.item_away_message" --> "weechat.look.item_away_message"
* "irc.color.item_away" --> "weechat.color.item_away".
v2.8-utf8proc
Sébastien Helleu 2016-02-15 13:36:16 +01:00
parent f48e9a8878
commit 0e6a6a0334
33 changed files with 441 additions and 430 deletions

View File

@ -21,6 +21,8 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
[[1.5_features]]
=== New features
* core: move irc bar item "away" to core, move options
"irc.look.item_away_message" and "irc.color.item_away" to core (issue #692)
* irc: add multiple targets and support of "-server" in command /ctcp
(issue #204, issue #493)
* trigger: add "recover" in default triggers cmd_pass/msg_auth, and "regain"

View File

@ -20,6 +20,17 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
[[1.5]]
== Version 1.5 (under dev)
[[1.5_bar_item_away]]
=== Bar item "away"
The bar item "away" has been moved from irc plugin to core (so that away status
can be displayed for any plugin, using the buffer local variable "away").
Two options have been moved from irc plugin (irc.conf) to core (weechat.conf):
* 'irc.look.item_away_message' moved to 'weechat.look.item_away_message'
* 'irc.color.item_away' moved to 'weechat.color.item_away'
[[1.5_default_triggers]]
=== Default triggers

View File

@ -7,11 +7,6 @@
** 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 kursiv, "_" für unterstrichen (Standardwert: `lightcyan`)
* [[option_irc.color.item_away]] *irc.color.item_away*
** Beschreibung: `Farbe des Abwesenheit-Textes in der Eingabezeile`
** 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 kursiv, "_" für unterstrichen (Standardwert: `yellow`)
* [[option_irc.color.item_channel_modes]] *irc.color.item_channel_modes*
** Beschreibung: `Farbe der Channel-Modes (neben dem Channelnamen)`
** Typ: Farbe
@ -197,11 +192,6 @@
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"irc_privmsg,irc_notice"`)
* [[option_irc.look.item_away_message]] *irc.look.item_away_message*
** Beschreibung: `Abwesenheitsnachricht im Away-Bar-Item anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
** Beschreibung: `unterdrückt die Ausgabe von Argumenten die die Channel-Modi betreffen, sofern der entsprechende Modus für den Channel gesetzt ist ("*" unterdrückt jedwede Ausgabe von Argumenten; wird kein Wert angegeben, dann werden alle Argumente angezeigt); Beispiele: "kf" unterdrückt die Argumente, falls "k" oder "f" für den Channel gesetzt sind`
** Typ: Zeichenkette

View File

@ -222,6 +222,11 @@
** 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 kursiv, "_" für unterstrichen (Standardwert: `red`)
* [[option_weechat.color.item_away]] *weechat.color.item_away*
** Beschreibung: `text color for away item`
** 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 kursiv, "_" für unterstrichen (Standardwert: `yellow`)
* [[option_weechat.color.nicklist_away]] *weechat.color.nicklist_away*
** Beschreibung: `Textfarbe von abwesenden Nicknamen`
** Typ: Farbe
@ -677,6 +682,11 @@
** Typ: integer
** Werte: 0 .. 65535 (Standardwert: `32`)
* [[option_weechat.look.item_away_message]] *weechat.look.item_away_message*
** Beschreibung: `Abwesenheitsnachricht im Away-Bar-Item anzeigen`
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_weechat.look.item_buffer_filter]] *weechat.look.item_buffer_filter*
** Beschreibung: `Zeichen mit welchem signalisiert wird ob im aktuellen Buffer die Filterfunktion eingeschaltet ist (durch Bar-Item "buffer_filter")`
** Typ: Zeichenkette

View File

@ -7,11 +7,6 @@
** 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 italic, "_" for underline (default value: `lightcyan`)
* [[option_irc.color.item_away]] *irc.color.item_away*
** description: `color for away item`
** 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 italic, "_" for underline (default value: `yellow`)
* [[option_irc.color.item_channel_modes]] *irc.color.item_channel_modes*
** description: `color for channel modes, near channel name`
** type: color
@ -197,11 +192,6 @@
** type: string
** values: any string (default value: `"irc_privmsg,irc_notice"`)
* [[option_irc.look.item_away_message]] *irc.look.item_away_message*
** description: `display server away message in away bar item`
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
** description: `hide channel modes arguments if at least one of these modes is in channel modes ("*" to always hide all arguments, empty value to never hide arguments); example: "kf" to hide arguments if "k" or "f" are in channel modes`
** type: string

View File

@ -222,6 +222,11 @@
** 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 italic, "_" for underline (default value: `red`)
* [[option_weechat.color.item_away]] *weechat.color.item_away*
** description: `text color for away item`
** 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 italic, "_" for underline (default value: `yellow`)
* [[option_weechat.color.nicklist_away]] *weechat.color.nicklist_away*
** description: `text color for away nicknames`
** type: color
@ -677,6 +682,11 @@
** type: integer
** values: 0 .. 65535 (default value: `32`)
* [[option_weechat.look.item_away_message]] *weechat.look.item_away_message*
** description: `display server away message in away bar item`
** type: boolean
** values: on, off (default value: `on`)
* [[option_weechat.look.item_buffer_filter]] *weechat.look.item_buffer_filter*
** description: `string used to show that some lines are filtered in current buffer (bar item "buffer_filter")`
** type: string

View File

@ -7,11 +7,6 @@
** 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 le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné (valeur par défaut: `lightcyan`)
* [[option_irc.color.item_away]] *irc.color.item_away*
** description: `couleur pour l'objet away`
** 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 le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné (valeur par défaut: `yellow`)
* [[option_irc.color.item_channel_modes]] *irc.color.item_channel_modes*
** description: `couleur pour les modes du canal, à côté du nom du canal`
** type: couleur
@ -197,11 +192,6 @@
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"irc_privmsg,irc_notice"`)
* [[option_irc.look.item_away_message]] *irc.look.item_away_message*
** description: `afficher le message d'absence du serveur dans l'objet de barre d'absence`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
** description: `cacher les paramètres des modes du canal si au moins un de ces modes est dans les modes du canal ("*" pour toujours cacher les paramètres, valeur vide pour ne jamais cacher les paramètres) ; exemple : "kf" pour cacher les paramètres si "k" ou "f" sont dans les modes du canal`
** type: chaîne

View File

@ -222,6 +222,11 @@
** 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 le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné (valeur par défaut: `red`)
* [[option_weechat.color.item_away]] *weechat.color.item_away*
** description: `couleur du texte pour l'objet away`
** 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 le gras, "!" pour la vidéo inverse, "/" pour l'italique, "_" pour le souligné (valeur par défaut: `yellow`)
* [[option_weechat.color.nicklist_away]] *weechat.color.nicklist_away*
** description: `couleur du texte pour les pseudos absents`
** type: couleur
@ -677,6 +682,11 @@
** type: entier
** valeurs: 0 .. 65535 (valeur par défaut: `32`)
* [[option_weechat.look.item_away_message]] *weechat.look.item_away_message*
** description: `afficher le message d'absence du serveur dans l'objet de barre d'absence`
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_weechat.look.item_buffer_filter]] *weechat.look.item_buffer_filter*
** description: `chaîne utilisée pour montrer que des lignes sont filtrées dans le tampon courant (objet de barre "buffer_filter")`
** type: chaîne

View File

@ -7,11 +7,6 @@
** tipo: colore
** valori: 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 italic, "_" for underline (valore predefinito: `lightcyan`)
* [[option_irc.color.item_away]] *irc.color.item_away*
** descrizione: `colore per l'elemento assenza`
** tipo: colore
** valori: 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 italic, "_" for underline (valore predefinito: `yellow`)
* [[option_irc.color.item_channel_modes]] *irc.color.item_channel_modes*
** descrizione: `colore per le modalità dei canali, vicino ai nomi dei canali`
** tipo: colore
@ -197,11 +192,6 @@
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"irc_privmsg,irc_notice"`)
* [[option_irc.look.item_away_message]] *irc.look.item_away_message*
** descrizione: `mostra il messaggio di assenza del server nell'elemento barra di away`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
** descrizione: `hide channel modes arguments if at least one of these modes is in channel modes ("*" to always hide all arguments, empty value to never hide arguments); example: "kf" to hide arguments if "k" or "f" are in channel modes`
** tipo: stringa

View File

@ -222,6 +222,11 @@
** tipo: colore
** valori: 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 italic, "_" for underline (valore predefinito: `red`)
* [[option_weechat.color.item_away]] *weechat.color.item_away*
** descrizione: `text color for away item`
** tipo: colore
** valori: 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 italic, "_" for underline (valore predefinito: `yellow`)
* [[option_weechat.color.nicklist_away]] *weechat.color.nicklist_away*
** descrizione: `colore del testo per i nick assenti`
** tipo: colore
@ -677,6 +682,11 @@
** tipo: intero
** valori: 0 .. 65535 (valore predefinito: `32`)
* [[option_weechat.look.item_away_message]] *weechat.look.item_away_message*
** descrizione: `mostra il messaggio di assenza del server nell'elemento barra di away`
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_weechat.look.item_buffer_filter]] *weechat.look.item_buffer_filter*
** descrizione: `stringa usata per mostrare che alcune righe sono state filtrate nel buffer corrente (elemento barra "buffer_filter")`
** tipo: stringa

View File

@ -7,11 +7,6 @@
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `lightcyan`)
* [[option_irc.color.item_away]] *irc.color.item_away*
** 説明: `離席アイテムに使う色`
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `yellow`)
* [[option_irc.color.item_channel_modes]] *irc.color.item_channel_modes*
** 説明: `チャンネル名付近のチャンネルモードに使う色`
** タイプ: 色
@ -197,11 +192,6 @@
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"irc_privmsg,irc_notice"`)
* [[option_irc.look.item_away_message]] *irc.look.item_away_message*
** 説明: `サーバの離席メッセージを離席バーアイテムに表示`
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
** 説明: `設定したモードのうち少なくとも 1 つがチャンネルモードに設定されていた場合、チャンネルモード引数を隠す (全ての引数を隠すには "*" を使ってください、値が空の場合は全てのチャンネルモード引数が表示されます); 例: チャンネルモードに "k" または "f" が設定されていた場合にチャンネルモード引数を隠すには "kf" と設定してください`
** タイプ: 文字列

View File

@ -222,6 +222,11 @@
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `red`)
* [[option_weechat.color.item_away]] *weechat.color.item_away*
** 説明: `text color for away item`
** タイプ: 色
** 値: WeeChat の色名 (default、black、(dark)gray、white、(light)red、(light)green、brown、yellow、(light)blue、(light)magenta、(light)cyan) 、ターミナル色番号またはその別名; 色の前に属性を置くことができます (テキスト前景色のみ、背景色は出来ません): 太字は "*"、反転は "!"、イタリックは "/"、下線は "_" (デフォルト値: `yellow`)
* [[option_weechat.color.nicklist_away]] *weechat.color.nicklist_away*
** 説明: `離席状態のニックネームのテキスト色`
** タイプ: 色
@ -677,6 +682,11 @@
** タイプ: 整数
** 値: 0 .. 65535 (デフォルト値: `32`)
* [[option_weechat.look.item_away_message]] *weechat.look.item_away_message*
** 説明: `サーバの離席メッセージを離席バーアイテムに表示`
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
* [[option_weechat.look.item_buffer_filter]] *weechat.look.item_buffer_filter*
** 説明: `現在のバッファで何行かがフィルタされたことを示す文字列 (バーアイテム "buffer_filter")`
** タイプ: 文字列

View File

@ -7,11 +7,6 @@
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightcyan`)
* [[option_irc.color.item_away]] *irc.color.item_away*
** opis: `kolor elementu nieobecności`
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `yellow`)
* [[option_irc.color.item_channel_modes]] *irc.color.item_channel_modes*
** opis: `kolor trybów kanału, przy nazwie kanału`
** typ: kolor
@ -197,11 +192,6 @@
** typ: ciąg
** wartości: dowolny ciąg (domyślna wartość: `"irc_privmsg,irc_notice"`)
* [[option_irc.look.item_away_message]] *irc.look.item_away_message*
** opis: `wyświetla wiadomość o nieobecności dla serwera w elemencie paska`
** typ: bool
** wartości: on, off (domyślna wartość: `on`)
* [[option_irc.look.item_channel_modes_hide_args]] *irc.look.item_channel_modes_hide_args*
** opis: `ukryj atrybuty trybów kanałów jeśli przynajmniej jeden z tych trybów jest ustawiony ("*" zawsze ukrywaj argumenty, pusta wartość - nigdy nie ukrywaj); przykład: "kf" dla ukrycia argumentów, jeśli ustawiony jest tryb "k" lub "f"`
** typ: ciąg

View File

@ -222,6 +222,11 @@
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `red`)
* [[option_weechat.color.item_away]] *weechat.color.item_away*
** opis: `text color for away item`
** typ: kolor
** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `yellow`)
* [[option_weechat.color.nicklist_away]] *weechat.color.nicklist_away*
** opis: `kolor nicków ze statusem nieobecności`
** typ: kolor
@ -677,6 +682,11 @@
** typ: liczba
** wartości: 0 .. 65535 (domyślna wartość: `32`)
* [[option_weechat.look.item_away_message]] *weechat.look.item_away_message*
** opis: `wyświetla wiadomość o nieobecności dla serwera w elemencie paska`
** typ: bool
** wartości: on, off (domyślna wartość: `on`)
* [[option_weechat.look.item_buffer_filter]] *weechat.look.item_buffer_filter*
** opis: `ciąg użyty do pokazania, że część linii jest filtrowana w obecnym buforze (element paska "buffer_filter")`
** typ: ciąg

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-01-17 08:52+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3180,6 +3180,9 @@ msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr ""
"maximální počet \"undo\" pro příkazovou řádku pro bufferu (0 = vypnuto)"
msgid "display server away message in away bar item"
msgstr "zobrazit zprávu nepřítomnosti na serveru v položce nepřítomnosti pole"
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -3634,6 +3637,10 @@ msgstr "barva textu pro akce ve vstupní řádce"
msgid "text color for unsuccessful text search in input line"
msgstr "barva textu pro nepovedené hledání textu ve vstupní rádce"
#, fuzzy
msgid "text color for away item"
msgstr "barva položek, které jsou pryč"
msgid "text color for away nicknames"
msgstr "barva textu pro nepřítomné přezdíveky"
@ -4372,6 +4379,9 @@ msgstr "Hledej"
msgid "%s-MORE(%d)-"
msgstr "%s-VÍCE(%d)-"
msgid "away"
msgstr "pryč"
#, fuzzy, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "%s%s%s%s změnil téma pro %s%s%s na \"%s%s%s\""
@ -5158,9 +5168,6 @@ msgstr "%s: skript \"%s\" odebrán"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s: skript \"%s\" nenačten"
msgid "away"
msgstr "pryč"
msgid "server"
msgid_plural "servers"
msgstr[0] "server"
@ -7257,9 +7264,6 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag"
msgstr ""
msgid "display server away message in away bar item"
msgstr "zobrazit zprávu nepřítomnosti na serveru v položce nepřítomnosti pole"
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -7485,9 +7489,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "barva přezdívky ve vstupním poli"
msgid "color for away item"
msgstr "barva položek, které jsou pryč"
msgid "color for channel modes, near channel name"
msgstr "barva módů kanálu, blízko jména kanálu"

View File

@ -23,7 +23,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-02-12 21:53+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <>\n"
@ -3756,6 +3756,9 @@ msgstr ""
"maximale Anzahl von \"Rücknahmen\" für Befehle im Verlauf, pro Buffer (0: "
"deaktiviert die Funktion)"
msgid "display server away message in away bar item"
msgstr "Abwesenheitsnachricht im Away-Bar-Item anzeigen"
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -4318,6 +4321,10 @@ msgstr ""
msgid "text color for unsuccessful text search in input line"
msgstr "Textfarbe in der Eingabezeile bei einer erfolglosen Textsuche"
#, fuzzy
msgid "text color for away item"
msgstr "Farbe des Abwesenheit-Textes in der Eingabezeile"
msgid "text color for away nicknames"
msgstr "Textfarbe von abwesenden Nicknamen"
@ -5152,6 +5159,9 @@ msgstr "Suche"
msgid "%s-MORE(%d)-"
msgstr "%s-MEHR(%d)-"
msgid "away"
msgstr "abwesend"
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr ""
@ -6111,9 +6121,6 @@ msgstr "%s: Skript \"%s\" wurde beendet"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s: Das Skript \"%s\" wurde nicht installiert"
msgid "away"
msgstr "abwesend"
msgid "server"
msgid_plural "servers"
msgstr[0] "Server"
@ -8419,9 +8426,6 @@ msgstr ""
"kann verwendet werden um mehr als ein Tag zu markieren; wird kein Wert "
"angegeben, erzeugt jedes Tag ein Highlight"
msgid "display server away message in away bar item"
msgstr "Abwesenheitsnachricht im Away-Bar-Item anzeigen"
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -8697,9 +8701,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "Farbe des eigenen Nicknamens in der Eingabezeile"
msgid "color for away item"
msgstr "Farbe des Abwesenheit-Textes in der Eingabezeile"
msgid "color for channel modes, near channel name"
msgstr "Farbe der Channel-Modes (neben dem Channelnamen)"

View File

@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-01-17 08:52+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3325,6 +3325,9 @@ msgstr ""
"número máximo de niveles de deshaces en la línea de comando, por buffer (0 = "
"deshacer desactivado)"
msgid "display server away message in away bar item"
msgstr "mostrar mensaje de ausencia en el elemento de barra \"away\""
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -3815,6 +3818,10 @@ msgstr "color para acciones en la línea de entrada"
msgid "text color for unsuccessful text search in input line"
msgstr "color para una búsqueda fallida en la línea de entrada"
#, fuzzy
msgid "text color for away item"
msgstr "color para el texto \"ausente\" en al barra de entrada"
msgid "text color for away nicknames"
msgstr "color para apodos ausentes"
@ -4568,6 +4575,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr "%s-MÁS(%d)-"
msgid "away"
msgstr "ausente"
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "Notificación cambiada para \"%s%s%s\": \"%s%s%s\" a \"%s%s%s\""
@ -5371,9 +5381,6 @@ msgstr "%s: script \"%s\" descargado"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s: el script \"%s\" no está cargado"
msgid "away"
msgstr "ausente"
msgid "server"
msgid_plural "servers"
msgstr[0] "servidor"
@ -7531,9 +7538,6 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag"
msgstr ""
msgid "display server away message in away bar item"
msgstr "mostrar mensaje de ausencia en el elemento de barra \"away\""
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -7765,9 +7769,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "color para el apodo en la barra de entrada"
msgid "color for away item"
msgstr "color para el texto \"ausente\" en al barra de entrada"
msgid "color for channel modes, near channel name"
msgstr "color para los modos del canal, junto al nombre del canal"

View File

@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"PO-Revision-Date: 2016-02-12 07:36+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-02-15 12:31+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@ -2151,17 +2151,21 @@ msgid ""
msgstr ""
" store : stocker les tampons/fenêtres courants dans une disposition\n"
" apply : appliquer une disposition stockée\n"
" leave : quitter la disposition courante (ne met à jour aucune disposition)\n"
" leave : quitter la disposition courante (ne met à jour aucune "
"disposition)\n"
" del : supprimer les tampons et/ou fenêtres dans une disposition stockée\n"
" (si ni \"buffers\" ni \"windows\" n'est donné après le nom, la disposition est supprimée)\n"
" (si ni \"buffers\" ni \"windows\" n'est donné après le nom, la "
"disposition est supprimée)\n"
" rename : renommer une disposition\n"
" nom : nom pour la disposition stockée (par défaut \"default\")\n"
"buffers : stocker/appliquer seulement pour les tampons (ordre des tampons)\n"
"windows : stocker/appliquer seulement pour les fenêtres (le tampon affiché par chaque fenêtre)\n"
"windows : stocker/appliquer seulement pour les fenêtres (le tampon affiché "
"par chaque fenêtre)\n"
"\n"
"Sans paramètre, cette commande affiche les dispositions stockées.\n"
"\n"
"La disposition courante peut être sauvegardée sur la commande /quit avec l'option \"weechat.look.save_layout_on_exit\"."
"La disposition courante peut être sauvegardée sur la commande /quit avec "
"l'option \"weechat.look.save_layout_on_exit\"."
msgid "mouse control"
msgstr "contrôle de la souris"
@ -3653,6 +3657,10 @@ msgstr ""
"nombre maximum de \"undo\" pour la ligne de commande, par tampon (0 = undo "
"désactivé)"
msgid "display server away message in away bar item"
msgstr ""
"afficher le message d'absence du serveur dans l'objet de barre d'absence"
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -4204,6 +4212,9 @@ msgstr ""
"couleur du texte pour la recherche infructueuse de texte dans la ligne de "
"saisie"
msgid "text color for away item"
msgstr "couleur du texte pour l'objet away"
msgid "text color for away nicknames"
msgstr "couleur du texte pour les pseudos absents"
@ -5036,6 +5047,9 @@ msgstr "Recherche"
msgid "%s-MORE(%d)-"
msgstr "%s-PLUS(%d)-"
msgid "away"
msgstr "absent"
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "Notification changée pour \"%s%s%s\" : \"%s%s%s\" à \"%s%s%s\""
@ -5975,9 +5989,6 @@ msgstr "%s : script \"%s\" déchargé"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s : script \"%s\" non chargé"
msgid "away"
msgstr "absent"
msgid "server"
msgid_plural "servers"
msgstr[0] "serveur"
@ -8224,10 +8235,6 @@ msgstr ""
"caractère joker \"*\" est autorisé dans les étiquettes ; une valeur vide "
"autorise le highlight sur n'importe quelle étiquette"
msgid "display server away message in away bar item"
msgstr ""
"afficher le message d'absence du serveur dans l'objet de barre d'absence"
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -8492,9 +8499,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "couleur du pseudo dans la barre de saisie"
msgid "color for away item"
msgstr "couleur pour l'objet away"
msgid "color for channel modes, near channel name"
msgstr "couleur pour les modes du canal, à côté du nom du canal"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-01-17 08:52+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -2769,6 +2769,10 @@ msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr ""
"felhasználói parancsok maximális száma az előzményekben (0 = korlátlan)"
#, fuzzy
msgid "display server away message in away bar item"
msgstr "privát beszélgetésben a másik fél távollétét csak egyszer jelezze"
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -3218,6 +3222,10 @@ msgstr "kilépési nyíl színe"
msgid "text color for unsuccessful text search in input line"
msgstr "információs pult határolóinak színe"
#, fuzzy
msgid "text color for away item"
msgstr "távollevő felhasználók nevének színe"
#, fuzzy
msgid "text color for away nicknames"
msgstr "távollevő felhasználók nevének színe"
@ -3957,6 +3965,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr "-TOVÁBB-"
msgid "away"
msgstr ""
#, fuzzy, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "%s%s%s megváltoztatta a %s%s%s szoba témáját:"
@ -4710,9 +4721,6 @@ msgstr "A \"%s\" modul eltávolítva.\n"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s a \"%s\" szerver nem található\n"
msgid "away"
msgstr ""
#, fuzzy
msgid "server"
msgid_plural "servers"
@ -6708,10 +6716,6 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag"
msgstr ""
#, fuzzy
msgid "display server away message in away bar item"
msgstr "privát beszélgetésben a másik fél távollétét csak egyszer jelezze"
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -6898,10 +6902,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "nevek színe"
#, fuzzy
msgid "color for away item"
msgstr "távollevő felhasználók nevének színe"
#, fuzzy
msgid "color for channel modes, near channel name"
msgstr "szobanevek színe az eseményekben"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-01-17 08:52+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3419,6 +3419,9 @@ msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr ""
"numero massimo di righe nella cronologia per buffer (0 = nessun limite)"
msgid "display server away message in away bar item"
msgstr "mostra il messaggio di assenza del server nell'elemento barra di away"
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -3926,6 +3929,10 @@ msgstr "colore del testo per le azioni sulla riga di input"
msgid "text color for unsuccessful text search in input line"
msgstr "colore del testo per la ricerca del testo fallita nella riga di input"
#, fuzzy
msgid "text color for away item"
msgstr "colore per l'elemento assenza"
msgid "text color for away nicknames"
msgstr "colore del testo per i nick assenti"
@ -4702,6 +4709,9 @@ msgstr "Cerca"
msgid "%s-MORE(%d)-"
msgstr "%s-ANCORA(%d)-"
msgid "away"
msgstr "assente"
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "Notifica modificata per \"%s%s%s\": \"%s%s%s\" a \"%s%s%s\""
@ -5518,9 +5528,6 @@ msgstr "%s: script \"%s\" scaricato"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s: script \"%s\" non caricato"
msgid "away"
msgstr "assente"
msgid "server"
msgid_plural "servers"
msgstr[0] "server"
@ -7696,9 +7703,6 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag"
msgstr ""
msgid "display server away message in away bar item"
msgstr "mostra il messaggio di assenza del server nell'elemento barra di away"
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -7931,9 +7935,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "colore per il nick nella riga di input"
msgid "color for away item"
msgstr "colore per l'elemento assenza"
msgid "color for channel modes, near channel name"
msgstr "colore per le modalità dei canali, vicino ai nomi dei canali"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-02-12 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
@ -3538,6 +3538,9 @@ msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr ""
"バッファごとのコマンドラインの \"undo\" 回数の上限値 (0 = アンドゥは無効)"
msgid "display server away message in away bar item"
msgstr "サーバの離席メッセージを離席バーアイテムに表示"
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -4046,6 +4049,10 @@ msgstr "入力がアクションの場合のテキスト色"
msgid "text color for unsuccessful text search in input line"
msgstr "入力行のテキスト検索に失敗した場合のテキスト色"
#, fuzzy
msgid "text color for away item"
msgstr "離席アイテムに使う色"
msgid "text color for away nicknames"
msgstr "離席状態のニックネームのテキスト色"
@ -4817,6 +4824,9 @@ msgstr "検索"
msgid "%s-MORE(%d)-"
msgstr "%s-MORE(%d)-"
msgid "away"
msgstr "離席"
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "\"%s%s%s\" の告知が変更されました: \"%s%s%s\" から \"%s%s%s\" に"
@ -5718,9 +5728,6 @@ msgstr "%s: スクリプト \"%s\" がアンロードされました"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s: スクリプト \"%s\" はロードされていません"
msgid "away"
msgstr "離席"
msgid "server"
msgid_plural "servers"
msgstr[0] "サーバ"
@ -7896,9 +7903,6 @@ msgstr ""
"合には \"+\" 使ってください; ワイルドカード \"*\" を使うことができます; 任意"
"のタグをハイライトさせるには空値を指定してください"
msgid "display server away message in away bar item"
msgstr "サーバの離席メッセージを離席バーアイテムに表示"
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -8151,9 +8155,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "インプットバーのニックネームに使う色"
msgid "color for away item"
msgstr "離席アイテムに使う色"
msgid "color for channel modes, near channel name"
msgstr "チャンネル名付近のチャンネルモードに使う色"

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-01-17 08:52+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3609,6 +3609,9 @@ msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr ""
"maksymalna ilość \"cofnięć\" dla linii poleceń dla bufora (0 = wyłączone)"
msgid "display server away message in away bar item"
msgstr "wyświetla wiadomość o nieobecności dla serwera w elemencie paska"
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -4139,6 +4142,10 @@ msgstr "kolor akcji w wprowadzonej linii"
msgid "text color for unsuccessful text search in input line"
msgstr "kolor nieudanego wyszukiwania tekstu w wprowadzonej linii"
#, fuzzy
msgid "text color for away item"
msgstr "kolor elementu nieobecności"
msgid "text color for away nicknames"
msgstr "kolor nicków ze statusem nieobecności"
@ -4926,6 +4933,9 @@ msgstr "Szukam"
msgid "%s-MORE(%d)-"
msgstr "%s-Więcej(%d)-"
msgid "away"
msgstr "nieobecny"
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "Zmieniono powiadomienia dla \"%s%s%s\": \"%s%s%s\" na \"%s%s%s\""
@ -5838,9 +5848,6 @@ msgstr "%s: skrypt \"%s\" wyładowano"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s: skrypt \"%s\" nie załadowany"
msgid "away"
msgstr "nieobecny"
msgid "server"
msgid_plural "servers"
msgstr[0] "serwer"
@ -8053,9 +8060,6 @@ msgstr ""
"logicznego \"i\" pomiędzy tagami; wildcard \"*\" jest dozwolony w tagach; "
"pusta wartość zezwala na podświetlenia przez dowolny tag"
msgid "display server away message in away bar item"
msgstr "wyświetla wiadomość o nieobecności dla serwera w elemencie paska"
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -8309,9 +8313,6 @@ msgstr "usuń kolory w tematach (używane przy wyświetlaniu tytułu bufora)"
msgid "color for nick in input bar"
msgstr "kolor nicka w pasku danych wejściowych"
msgid "color for away item"
msgstr "kolor elementu nieobecności"
msgid "color for channel modes, near channel name"
msgstr "kolor trybów kanału, przy nazwie kanału"

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-01-17 08:52+0100\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3353,6 +3353,9 @@ msgstr ""
"número máximo de \"undo\" para a linha de comando, por buffer (0 = desfazer "
"desabilitado)"
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -3812,6 +3815,10 @@ msgstr "cor de texto para ações de linha de entrada"
msgid "text color for unsuccessful text search in input line"
msgstr "cor de texto para busca mal sucedida na linha de entrada"
#, fuzzy
msgid "text color for away item"
msgstr "cor de texto para apelidos ausentes"
msgid "text color for away nicknames"
msgstr "cor de texto para apelidos ausentes"
@ -4554,6 +4561,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr "%s-MORE(%d)-"
msgid "away"
msgstr ""
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "Notificação alterada para \"%s%s%s\": \"%s%s%s\" para \"%s%s%s\""
@ -5309,9 +5319,6 @@ msgstr "%s: script \"%s\" descarregado"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s%s: script \"%s\" não carregado"
msgid "away"
msgstr ""
msgid "server"
msgid_plural "servers"
msgstr[0] "servidor"
@ -7119,9 +7126,6 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -7319,9 +7323,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "cor para o apelido na barra de entrada"
msgid "color for away item"
msgstr ""
msgid "color for channel modes, near channel name"
msgstr "cor para os modos de canal, próximo ao nome do canal"

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-01-17 08:52+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -2801,6 +2801,10 @@ msgstr ""
msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr "максимальное количество команд в истории (0 = не ограничено)"
#, fuzzy
msgid "display server away message in away bar item"
msgstr "отображать уведомление об отсутствии единожды в привате"
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -3251,6 +3255,10 @@ msgstr "цвет действий в поле ввода"
msgid "text color for unsuccessful text search in input line"
msgstr "цвет разделителей информационной панели"
#, fuzzy
msgid "text color for away item"
msgstr "цвет отошедших ников"
#, fuzzy
msgid "text color for away nicknames"
msgstr "цвет отошедших ников"
@ -3993,6 +4001,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr "-ДАЛЬШЕ-"
msgid "away"
msgstr ""
#, fuzzy, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr "%s%s%s сменил тему %s%s%s на:"
@ -4748,9 +4759,6 @@ msgstr "Plugin \"%s\" выгружен.\n"
msgid "%s%s: script \"%s\" not loaded"
msgstr "%s сервер \"%s\" не найден\n"
msgid "away"
msgstr ""
#, fuzzy
msgid "server"
msgid_plural "servers"
@ -6736,10 +6744,6 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag"
msgstr ""
#, fuzzy
msgid "display server away message in away bar item"
msgstr "отображать уведомление об отсутствии единожды в привате"
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -6926,10 +6930,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr "цвет ников"
#, fuzzy
msgid "color for away item"
msgstr "цвет отошедших ников"
#, fuzzy
msgid "color for channel modes, near channel name"
msgstr "цвет имён при действиях"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2016-01-05 07:51+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -2512,6 +2512,9 @@ msgstr ""
msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -2911,6 +2914,10 @@ msgstr ""
msgid "text color for unsuccessful text search in input line"
msgstr ""
#, fuzzy
msgid "text color for away item"
msgstr "uzakta öğesi için renk"
msgid "text color for away nicknames"
msgstr "uzaktaki kullanıcı isimleri için metin rengi"
@ -3582,6 +3589,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr ""
msgid "away"
msgstr ""
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr ""
@ -4304,9 +4314,6 @@ msgstr ""
msgid "%s%s: script \"%s\" not loaded"
msgstr ""
msgid "away"
msgstr ""
msgid "server"
msgid_plural "servers"
msgstr[0] "sunucu(lar)"
@ -6028,9 +6035,6 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -6210,9 +6214,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr ""
msgid "color for away item"
msgstr "uzakta öğesi için renk"
msgid "color for channel modes, near channel name"
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2016-02-12 07:33+0100\n"
"POT-Creation-Date: 2016-02-15 12:31+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -2507,6 +2507,9 @@ msgstr ""
msgid "max number of \"undo\" for command line, by buffer (0 = undo disabled)"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"string used to show that some lines are filtered in current buffer (bar item "
"\"buffer_filter\")"
@ -2905,6 +2908,9 @@ msgstr ""
msgid "text color for unsuccessful text search in input line"
msgstr ""
msgid "text color for away item"
msgstr ""
msgid "text color for away nicknames"
msgstr ""
@ -3575,6 +3581,9 @@ msgstr ""
msgid "%s-MORE(%d)-"
msgstr ""
msgid "away"
msgstr ""
#, c-format
msgid "Notify changed for \"%s%s%s\": \"%s%s%s\" to \"%s%s%s\""
msgstr ""
@ -4286,9 +4295,6 @@ msgstr ""
msgid "%s%s: script \"%s\" not loaded"
msgstr ""
msgid "away"
msgstr ""
msgid "server"
msgid_plural "servers"
msgstr[0] ""
@ -5953,9 +5959,6 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag"
msgstr ""
msgid "display server away message in away bar item"
msgstr ""
msgid ""
"hide channel modes arguments if at least one of these modes is in channel "
"modes (\"*\" to always hide all arguments, empty value to never hide "
@ -6133,9 +6136,6 @@ msgstr ""
msgid "color for nick in input bar"
msgstr ""
msgid "color for away item"
msgstr ""
msgid "color for channel modes, near channel name"
msgstr ""

View File

@ -47,6 +47,7 @@
#include "wee-string.h"
#include "wee-version.h"
#include "../gui/gui-bar.h"
#include "../gui/gui-bar-item.h"
#include "../gui/gui-buffer.h"
#include "../gui/gui-chat.h"
#include "../gui/gui-color.h"
@ -135,6 +136,7 @@ struct t_config_option *config_look_input_cursor_scroll;
struct t_config_option *config_look_input_share;
struct t_config_option *config_look_input_share_overwrite;
struct t_config_option *config_look_input_undo_max;
struct t_config_option *config_look_item_away_message;
struct t_config_option *config_look_item_buffer_filter;
struct t_config_option *config_look_item_buffer_zoom;
struct t_config_option *config_look_item_mouse_status;
@ -229,6 +231,7 @@ struct t_config_option *config_color_emphasized;
struct t_config_option *config_color_emphasized_bg;
struct t_config_option *config_color_input_actions;
struct t_config_option *config_color_input_text_not_found;
struct t_config_option *config_color_item_away;
struct t_config_option *config_color_nicklist_away;
struct t_config_option *config_color_nicklist_group;
struct t_config_option *config_color_separator;
@ -820,6 +823,21 @@ config_change_hotlist_sort (void *data, struct t_config_option *option)
gui_hotlist_resort ();
}
/*
* Callback for changes on options "weechat.look.item_away_message"
* and "weechat.color.item_away".
*/
void
config_change_item_away (void *data, struct t_config_option *option)
{
/* make C compiler happy */
(void) data;
(void) option;
gui_bar_item_update ("away");
}
/*
* Callback for changes on option "weechat.look.paste_bracketed".
*/
@ -2576,6 +2594,12 @@ config_weechat_init_options ()
N_("max number of \"undo\" for command line, by buffer (0 = undo "
"disabled)"),
NULL, 0, 65535, "32", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
config_look_item_away_message = config_file_new_option (
weechat_config_file, ptr_section,
"item_away_message", "boolean",
N_("display server away message in away bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&config_change_item_away, NULL, NULL, NULL);
config_look_item_buffer_filter = config_file_new_option (
weechat_config_file, ptr_section,
"item_buffer_filter", "string",
@ -3256,6 +3280,13 @@ config_weechat_init_options ()
N_("text color for unsuccessful text search in input line"),
NULL, -1, 0, "red", NULL, 0,
NULL, NULL, &config_change_color, NULL, NULL, NULL);
/* items */
config_color_item_away = config_file_new_option (
weechat_config_file, ptr_section,
"item_away", "color",
N_("text color for away item"),
NULL, -1, 0, "yellow", NULL, 0, NULL, NULL,
&config_change_item_away, NULL, NULL, NULL);
/* nicklist bar */
config_color_nicklist_away = config_file_new_option (
weechat_config_file, ptr_section,

View File

@ -181,6 +181,7 @@ extern struct t_config_option *config_look_input_cursor_scroll;
extern struct t_config_option *config_look_input_share;
extern struct t_config_option *config_look_input_share_overwrite;
extern struct t_config_option *config_look_input_undo_max;
extern struct t_config_option *config_look_item_away_message;
extern struct t_config_option *config_look_item_buffer_filter;
extern struct t_config_option *config_look_item_buffer_zoom;
extern struct t_config_option *config_look_item_mouse_status;
@ -273,6 +274,7 @@ extern struct t_config_option *config_color_emphasized;
extern struct t_config_option *config_color_emphasized_bg;
extern struct t_config_option *config_color_input_actions;
extern struct t_config_option *config_color_input_text_not_found;
extern struct t_config_option *config_color_item_away;
extern struct t_config_option *config_color_nicklist_away;
extern struct t_config_option *config_color_nicklist_group;
extern struct t_config_option *config_color_separator;

View File

@ -63,7 +63,7 @@ char *gui_bar_item_names[GUI_BAR_NUM_ITEMS] =
"buffer_count", "buffer_last_number", "buffer_plugin", "buffer_number",
"buffer_name", "buffer_short_name", "buffer_modes", "buffer_filter",
"buffer_zoom", "buffer_nicklist_count", "scroll", "hotlist", "completion",
"buffer_title", "buffer_nicklist", "window_number", "mouse_status"
"buffer_title", "buffer_nicklist", "window_number", "mouse_status", "away"
};
char *gui_bar_items_default_for_bars[][2] =
{ { GUI_BAR_DEFAULT_NAME_INPUT,
@ -724,14 +724,14 @@ gui_bar_item_free_all_plugin (struct t_weechat_plugin *plugin)
}
/*
* Default item for input paste question.
* Bar item with input paste question.
*/
char *
gui_bar_item_default_input_paste (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_input_paste_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_paste[1024];
int lines;
@ -759,14 +759,14 @@ gui_bar_item_default_input_paste (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for input prompt.
* Bar item with input prompt.
*/
char *
gui_bar_item_default_input_prompt (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_input_prompt_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
const char *nick;
@ -785,14 +785,14 @@ gui_bar_item_default_input_prompt (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for input search status.
* Bar item with input search status.
*/
char *
gui_bar_item_default_input_search (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_input_search_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_search[1024];
@ -826,14 +826,14 @@ gui_bar_item_default_input_search (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for input text.
* Bar item with input text.
*/
char *
gui_bar_item_default_input_text (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_input_text_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char *ptr_input, *ptr_input2, str_buffer[128], str_start_input[16];
char str_cursor[16], *buf;
@ -953,14 +953,14 @@ gui_bar_item_default_input_text (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for time.
* Bar item with time.
*/
char *
gui_bar_item_default_time (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_time_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
time_t date;
struct tm *local_time;
@ -988,14 +988,14 @@ gui_bar_item_default_time (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for number of buffers.
* Bar item with number of buffers.
*/
char *
gui_bar_item_default_buffer_count (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_count_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char buf[32];
@ -1012,15 +1012,15 @@ gui_bar_item_default_buffer_count (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for last buffer number.
* Bar item with last buffer number.
*/
char *
gui_bar_item_default_buffer_last_number (void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_last_number_cb (void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char buf[32];
@ -1038,14 +1038,14 @@ gui_bar_item_default_buffer_last_number (void *data,
}
/*
* Default item for name of buffer plugin.
* Bar item with name of buffer plugin.
*/
char *
gui_bar_item_default_buffer_plugin (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_plugin_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
const char *plugin_name;
@ -1064,14 +1064,14 @@ gui_bar_item_default_buffer_plugin (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for number of buffer.
* Bar item with number of buffer.
*/
char *
gui_bar_item_default_buffer_number (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_number_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_number[64];
@ -1092,14 +1092,14 @@ gui_bar_item_default_buffer_number (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for name of buffer.
* Bar item with name of buffer.
*/
char *
gui_bar_item_default_buffer_name (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_name_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_name[256];
@ -1121,15 +1121,15 @@ gui_bar_item_default_buffer_name (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for short name of buffer.
* Bar item with short name of buffer.
*/
char *
gui_bar_item_default_buffer_short_name (void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_short_name_cb (void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_short_name[256];
@ -1151,17 +1151,17 @@ gui_bar_item_default_buffer_short_name (void *data,
}
/*
* Default item for modes of buffer.
* Bar item with modes of buffer.
*
* Note: this bar item is empty for WeeChat core, this is used only by plugins
* like irc to display channel modes.
*/
char *
gui_bar_item_default_buffer_modes (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_modes_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
/* make C compiler happy */
(void) data;
@ -1174,14 +1174,14 @@ gui_bar_item_default_buffer_modes (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for buffer filter.
* Bar item with buffer filter indicator.
*/
char *
gui_bar_item_default_buffer_filter (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_filter_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_filter[512];
@ -1209,15 +1209,15 @@ gui_bar_item_default_buffer_filter (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for number of nicks in buffer nicklist.
* Bar item with number of nicks in buffer nicklist.
*/
char *
gui_bar_item_default_buffer_nicklist_count (void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_nicklist_count_cb (void *data,
struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_count[64];
@ -1239,14 +1239,14 @@ gui_bar_item_default_buffer_nicklist_count (void *data,
}
/*
* Default item for zoom on merged buffer.
* Bar item with zoom on merged buffer.
*/
char *
gui_bar_item_buffer_zoom (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_zoom_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char buf[512];
@ -1271,14 +1271,14 @@ gui_bar_item_buffer_zoom (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for scrolling indicator.
* Bar item with scrolling indicator.
*/
char *
gui_bar_item_default_scroll (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_scroll_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_scroll[512];
@ -1302,14 +1302,14 @@ gui_bar_item_default_scroll (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for hotlist.
* Bar item with hotlist.
*/
char *
gui_bar_item_default_hotlist (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_hotlist_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_hotlist[4096], format[32], *buffer_without_name_displayed;
const char *hotlist_suffix;
@ -1532,14 +1532,14 @@ gui_bar_item_default_hotlist (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for (partial) completion.
* Bar item with (partial) completion.
*/
char *
gui_bar_item_default_completion (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_completion_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
int length, i;
char *buf, str_number[64];
@ -1593,14 +1593,14 @@ gui_bar_item_default_completion (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for buffer title.
* Bar item with buffer title.
*/
char *
gui_bar_item_default_buffer_title (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_title_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
/* make C compiler happy */
(void) data;
@ -1615,14 +1615,14 @@ gui_bar_item_default_buffer_title (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for nicklist.
* Bar item with nicklist.
*/
char *
gui_bar_item_default_buffer_nicklist (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_buffer_nicklist_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
struct t_gui_nick_group *ptr_group;
struct t_gui_nick *ptr_nick;
@ -1756,14 +1756,14 @@ gui_bar_item_default_buffer_nicklist (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for number of window.
* Bar item with number of window.
*/
char *
gui_bar_item_default_window_number (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_window_number_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_number[64];
@ -1782,14 +1782,14 @@ gui_bar_item_default_window_number (void *data, struct t_gui_bar_item *item,
}
/*
* Default item for mouse status.
* Bar item with mouse status.
*/
char *
gui_bar_item_default_mouse_status (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
gui_bar_item_mouse_status_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
char str_mouse[512];
@ -1810,13 +1810,59 @@ gui_bar_item_default_mouse_status (void *data, struct t_gui_bar_item *item,
return strdup (str_mouse);
}
/*
* Bar item with away message.
*/
char *
gui_bar_item_away_cb (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window,
struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
const char *away;
char *buf, *message;
int length;
/* make C compiler happy */
(void) data;
(void) item;
(void) window;
(void) extra_info;
if (!buffer)
return NULL;
away = (const char *)hashtable_get (buffer->local_variables, "away");
if (!away)
return NULL;
buf = NULL;
message = (CONFIG_BOOLEAN(config_look_item_away_message)) ?
strdup (away) : strdup (_("away"));
if (message)
{
length = strlen (message) + 64 + 1;
buf = malloc (length);
if (buf)
{
snprintf (buf, length, "%s%s",
gui_color_get_custom (gui_color_get_name (CONFIG_COLOR(config_color_item_away))),
message);
}
free (message);
}
return buf;
}
/*
* Focus on nicklist.
*/
struct t_hashtable *
gui_bar_item_focus_buffer_nicklist (void *data,
struct t_hashtable *info)
gui_bar_item_focus_buffer_nicklist_cb (void *data,
struct t_hashtable *info)
{
struct t_gui_nick_group *ptr_group;
struct t_gui_nick *ptr_nick;
@ -1991,14 +2037,14 @@ gui_bar_item_init ()
/* input paste */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PASTE],
&gui_bar_item_default_input_paste, NULL);
&gui_bar_item_input_paste_cb, NULL);
gui_bar_item_hook_signal ("input_paste_pending",
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PASTE]);
/* input prompt */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PROMPT],
&gui_bar_item_default_input_prompt, NULL);
&gui_bar_item_input_prompt_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PROMPT]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2009,7 +2055,7 @@ gui_bar_item_init ()
/* input search */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_INPUT_SEARCH],
&gui_bar_item_default_input_search, NULL);
&gui_bar_item_input_search_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_INPUT_SEARCH]);
gui_bar_item_hook_signal ("input_search",
@ -2020,7 +2066,7 @@ gui_bar_item_init ()
/* input text */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_INPUT_TEXT],
&gui_bar_item_default_input_text, NULL);
&gui_bar_item_input_text_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_INPUT_TEXT]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2031,14 +2077,14 @@ gui_bar_item_init ()
/* time */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_TIME],
&gui_bar_item_default_time, NULL);
&gui_bar_item_time_cb, NULL);
gui_bar_item_timer = hook_timer (NULL, 1000, 1, 0, &gui_bar_item_timer_cb,
gui_bar_item_names[GUI_BAR_ITEM_TIME]);
/* buffer count */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_COUNT],
&gui_bar_item_default_buffer_count, NULL);
&gui_bar_item_buffer_count_cb, NULL);
gui_bar_item_hook_signal ("buffer_opened",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_COUNT]);
gui_bar_item_hook_signal ("buffer_closed",
@ -2047,7 +2093,7 @@ gui_bar_item_init ()
/* last buffer number */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_LAST_NUMBER],
&gui_bar_item_default_buffer_last_number, NULL);
&gui_bar_item_buffer_last_number_cb, NULL);
gui_bar_item_hook_signal ("buffer_opened",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_LAST_NUMBER]);
gui_bar_item_hook_signal ("buffer_closed",
@ -2062,7 +2108,7 @@ gui_bar_item_init ()
/* buffer plugin */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_PLUGIN],
&gui_bar_item_default_buffer_plugin, NULL);
&gui_bar_item_buffer_plugin_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_PLUGIN]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2073,7 +2119,7 @@ gui_bar_item_init ()
/* buffer number */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NUMBER],
&gui_bar_item_default_buffer_number, NULL);
&gui_bar_item_buffer_number_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NUMBER]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2090,7 +2136,7 @@ gui_bar_item_init ()
/* buffer name */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NAME],
&gui_bar_item_default_buffer_name, NULL);
&gui_bar_item_buffer_name_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NAME]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2103,7 +2149,7 @@ gui_bar_item_init ()
/* buffer short name */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_SHORT_NAME],
&gui_bar_item_default_buffer_short_name, NULL);
&gui_bar_item_buffer_short_name_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_SHORT_NAME]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2116,7 +2162,7 @@ gui_bar_item_init ()
/* buffer modes */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_MODES],
&gui_bar_item_default_buffer_modes, NULL);
&gui_bar_item_buffer_modes_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_MODES]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2125,7 +2171,7 @@ gui_bar_item_init ()
/* buffer filter */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_FILTER],
&gui_bar_item_default_buffer_filter, NULL);
&gui_bar_item_buffer_filter_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_FILTER]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2138,7 +2184,7 @@ gui_bar_item_init ()
/* buffer zoom */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_ZOOM],
&gui_bar_item_buffer_zoom, NULL);
&gui_bar_item_buffer_zoom_cb, NULL);
gui_bar_item_hook_signal ("buffer_zoomed",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_ZOOM]);
gui_bar_item_hook_signal ("buffer_unzoomed",
@ -2149,7 +2195,7 @@ gui_bar_item_init ()
/* buffer nicklist count */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NICKLIST_COUNT],
&gui_bar_item_default_buffer_nicklist_count, NULL);
&gui_bar_item_buffer_nicklist_count_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NICKLIST_COUNT]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2160,7 +2206,7 @@ gui_bar_item_init ()
/* scroll indicator */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_SCROLL],
&gui_bar_item_default_scroll, NULL);
&gui_bar_item_scroll_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_SCROLL]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2171,7 +2217,7 @@ gui_bar_item_init ()
/* hotlist */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_HOTLIST],
&gui_bar_item_default_hotlist, NULL);
&gui_bar_item_hotlist_cb, NULL);
gui_bar_item_hook_signal ("hotlist_changed",
gui_bar_item_names[GUI_BAR_ITEM_HOTLIST]);
gui_bar_item_hook_signal ("buffer_moved",
@ -2182,14 +2228,14 @@ gui_bar_item_init ()
/* completion (possible words when a partial completion occurs) */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_COMPLETION],
&gui_bar_item_default_completion, NULL);
&gui_bar_item_completion_cb, NULL);
gui_bar_item_hook_signal ("partial_completion",
gui_bar_item_names[GUI_BAR_ITEM_COMPLETION]);
/* buffer title */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_TITLE],
&gui_bar_item_default_buffer_title, NULL);
&gui_bar_item_buffer_title_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_TITLE]);
gui_bar_item_hook_signal ("buffer_switch",
@ -2200,7 +2246,7 @@ gui_bar_item_init ()
/* buffer nicklist */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NICKLIST],
&gui_bar_item_default_buffer_nicklist, NULL);
&gui_bar_item_buffer_nicklist_cb, NULL);
gui_bar_item_hook_signal ("nicklist_*",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NICKLIST]);
gui_bar_item_hook_signal ("window_switch",
@ -2209,12 +2255,12 @@ gui_bar_item_init ()
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NICKLIST]);
snprintf (name, sizeof (name), "2000|%s",
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_NICKLIST]);
hook_focus (NULL, name, &gui_bar_item_focus_buffer_nicklist, NULL);
hook_focus (NULL, name, &gui_bar_item_focus_buffer_nicklist_cb, NULL);
/* window number */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_WINDOW_NUMBER],
&gui_bar_item_default_window_number, NULL);
&gui_bar_item_window_number_cb, NULL);
gui_bar_item_hook_signal ("window_switch",
gui_bar_item_names[GUI_BAR_ITEM_WINDOW_NUMBER]);
gui_bar_item_hook_signal ("window_closed",
@ -2223,11 +2269,18 @@ gui_bar_item_init ()
/* mouse status */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_MOUSE_STATUS],
&gui_bar_item_default_mouse_status, NULL);
&gui_bar_item_mouse_status_cb, NULL);
gui_bar_item_hook_signal ("mouse_enabled",
gui_bar_item_names[GUI_BAR_ITEM_MOUSE_STATUS]);
gui_bar_item_hook_signal ("mouse_disabled",
gui_bar_item_names[GUI_BAR_ITEM_MOUSE_STATUS]);
/* away message */
gui_bar_item_new (NULL,
gui_bar_item_names[GUI_BAR_ITEM_AWAY],
&gui_bar_item_away_cb, NULL);
gui_bar_item_hook_signal ("buffer_localvar_*",
gui_bar_item_names[GUI_BAR_ITEM_AWAY]);
}
/*

View File

@ -44,6 +44,7 @@ enum t_gui_bar_item_weechat
GUI_BAR_ITEM_BUFFER_NICKLIST,
GUI_BAR_ITEM_WINDOW_NUMBER,
GUI_BAR_ITEM_MOUSE_STATUS,
GUI_BAR_ITEM_AWAY,
/* number of bar items */
GUI_BAR_NUM_ITEMS,
};

View File

@ -33,60 +33,6 @@
#include "irc-nick.h"
/*
* Returns content of bar item "away": bar item with away indicator.
*/
char *
irc_bar_item_away (void *data, struct t_gui_bar_item *item,
struct t_gui_window *window, struct t_gui_buffer *buffer,
struct t_hashtable *extra_info)
{
struct t_irc_server *server;
char *buf, *message;
int length;
/* make C compiler happy */
(void) data;
(void) item;
(void) window;
(void) extra_info;
if (!buffer)
return NULL;
buf = NULL;
irc_buffer_get_server_and_channel (buffer, &server, NULL);
if (server && server->is_away)
{
if (weechat_config_boolean (irc_config_look_item_away_message)
&& server->away_message && server->away_message[0])
{
message = strdup (server->away_message);
}
else
{
message = strdup (_("away"));
}
if (message)
{
length = strlen (message) + 64 + 1;
buf = malloc (length);
if (buf)
{
snprintf (buf, length, "%s%s",
IRC_COLOR_ITEM_AWAY,
message);
}
free (message);
}
}
return buf;
}
/*
* Returns content of bar item "buffer_plugin": bar item with buffer plugin.
*/
@ -673,7 +619,6 @@ irc_bar_item_update_channel ()
void
irc_bar_item_init ()
{
weechat_bar_item_new ("away", &irc_bar_item_away, NULL);
weechat_bar_item_new ("buffer_plugin", &irc_bar_item_buffer_plugin, NULL);
weechat_bar_item_new ("buffer_name", &irc_bar_item_buffer_name, NULL);
weechat_bar_item_new ("buffer_short_name", &irc_bar_item_buffer_short_name, NULL);

View File

@ -75,7 +75,6 @@ struct t_config_option *irc_config_look_highlight_channel;
struct t_config_option *irc_config_look_highlight_pv;
struct t_config_option *irc_config_look_highlight_server;
struct t_config_option *irc_config_look_highlight_tags_restrict;
struct t_config_option *irc_config_look_item_away_message;
struct t_config_option *irc_config_look_item_channel_modes_hide_args;
struct t_config_option *irc_config_look_item_display_server;
struct t_config_option *irc_config_look_item_nick_modes;
@ -114,7 +113,6 @@ struct t_config_option *irc_config_look_topic_strip_colors;
/* IRC config, color section */
struct t_config_option *irc_config_color_input_nick;
struct t_config_option *irc_config_color_item_away;
struct t_config_option *irc_config_color_item_channel_modes;
struct t_config_option *irc_config_color_item_lag_counting;
struct t_config_option *irc_config_color_item_lag_finished;
@ -505,21 +503,6 @@ irc_config_change_look_pv_buffer (void *data,
}
}
/*
* Callback for changes on option "irc.look.item_away_message".
*/
void
irc_config_change_look_item_away_message (void *data,
struct t_config_option *option)
{
/* make C compiler happy */
(void) data;
(void) option;
weechat_bar_item_update ("away");
}
/*
* Callback for changes on option "irc.look.item_channel_modes_hide_args".
*/
@ -725,21 +708,6 @@ irc_config_change_bar_item_input_prompt (void *data,
weechat_bar_item_update ("input_prompt");
}
/*
* Callback for changes on option "irc.color.item_away".
*/
void
irc_config_change_color_item_away (void *data,
struct t_config_option *option)
{
/* make C compiler happy */
(void) data;
(void) option;
weechat_bar_item_update ("away");
}
/*
* Callback for changes on option "irc.color.item_channel_modes".
*/
@ -2564,12 +2532,6 @@ irc_config_init ()
"an empty value allows highlight on any tag"),
NULL, 0, 0, "irc_privmsg,irc_notice", NULL, 0, NULL, NULL,
&irc_config_change_look_highlight_tags_restrict, NULL, NULL, NULL);
irc_config_look_item_away_message = weechat_config_new_option (
irc_config_file, ptr_section,
"item_away_message", "boolean",
N_("display server away message in away bar item"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL,
&irc_config_change_look_item_away_message, NULL, NULL, NULL);
irc_config_look_item_channel_modes_hide_args = weechat_config_new_option (
irc_config_file, ptr_section,
"item_channel_modes_hide_args", "string",
@ -2843,12 +2805,6 @@ irc_config_init ()
N_("color for nick in input bar"),
NULL, -1, 0, "lightcyan", NULL, 0, NULL, NULL,
&irc_config_change_bar_item_input_prompt, NULL, NULL, NULL);
irc_config_color_item_away = weechat_config_new_option (
irc_config_file, ptr_section,
"item_away", "color",
N_("color for away item"),
NULL, -1, 0, "yellow", NULL, 0, NULL, NULL,
&irc_config_change_color_item_away, NULL, NULL, NULL);
irc_config_color_item_channel_modes = weechat_config_new_option (
irc_config_file, ptr_section,
"item_channel_modes", "color",

View File

@ -120,7 +120,6 @@ extern struct t_config_option *irc_config_look_highlight_channel;
extern struct t_config_option *irc_config_look_highlight_pv;
extern struct t_config_option *irc_config_look_highlight_server;
extern struct t_config_option *irc_config_look_highlight_tags_restrict;
extern struct t_config_option *irc_config_look_item_away_message;
extern struct t_config_option *irc_config_look_item_channel_modes_hide_args;
extern struct t_config_option *irc_config_look_item_display_server;
extern struct t_config_option *irc_config_look_item_nick_modes;
@ -157,7 +156,6 @@ extern struct t_config_option *irc_config_look_temporary_servers;
extern struct t_config_option *irc_config_look_topic_strip_colors;
extern struct t_config_option *irc_config_color_input_nick;
extern struct t_config_option *irc_config_color_item_away;
extern struct t_config_option *irc_config_color_item_channel_modes;
extern struct t_config_option *irc_config_color_item_lag_counting;
extern struct t_config_option *irc_config_color_item_lag_finished;