summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-04-16 21:25:40 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-04-16 21:25:40 +0200
commit1a5527cf2e5810efd205809653f0ac509fd328f2 (patch)
tree1113fd42442a43d8e9fb69cb9a51898480fab424
parent648b6374bd7413e3a885df60c39f41226580cac3 (diff)
downloadweechat-1a5527cf2e5810efd205809653f0ac509fd328f2.zip
core: do not set terminal title by default (option weechat.look.window_title) (closes #1182)
-rw-r--r--ChangeLog.adoc1
-rw-r--r--doc/de/autogen/user/weechat_options.adoc4
-rw-r--r--doc/en/autogen/user/weechat_options.adoc4
-rw-r--r--doc/fr/autogen/user/weechat_options.adoc4
-rw-r--r--doc/it/autogen/user/weechat_options.adoc4
-rw-r--r--doc/ja/autogen/user/weechat_options.adoc4
-rw-r--r--doc/pl/autogen/user/weechat_options.adoc4
-rw-r--r--po/cs.po5
-rw-r--r--po/de.po6
-rw-r--r--po/es.po5
-rw-r--r--po/fr.po9
-rw-r--r--po/hu.po5
-rw-r--r--po/it.po5
-rw-r--r--po/ja.po6
-rw-r--r--po/pl.po6
-rw-r--r--po/pt.po6
-rw-r--r--po/pt_BR.po5
-rw-r--r--po/ru.po5
-rw-r--r--po/tr.po5
-rw-r--r--po/weechat.pot5
-rw-r--r--src/core/wee-config.c5
21 files changed, 61 insertions, 42 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index c6ebe8e5a..cfda8f1cc 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -28,6 +28,7 @@ New features::
Bug fixes::
+ * core: change default value of option weechat.look.window_title from "WeeChat ${info:version}" to empty string (issue #1182)
* irc: always set nick away status on WHO response (sent manually or automatically with server option "away_check")
* irc: fix a crash when calling the function hdata_string on the "prefix" variable in the nick
* irc: fix split of messages when server option "split_msg_max_length" is set to 0 (no split) (issue #1173)
diff --git a/doc/de/autogen/user/weechat_options.adoc b/doc/de/autogen/user/weechat_options.adoc
index 4acd0e03f..f8563bfff 100644
--- a/doc/de/autogen/user/weechat_options.adoc
+++ b/doc/de/autogen/user/weechat_options.adoc
@@ -1179,10 +1179,10 @@
** Standardwert: `+on+`
* [[option_weechat.look.window_title]] *weechat.look.window_title*
-** Beschreibung: pass:none[Fenstertitel setzen (Terminal in dem Curses GUI läuft), wird beim Programmstart gesetzt; ein leerer Eintrag belässt den original Fenstertitel (Hinweis: Inhalt wird evaluiert, siehe /help eval)]
+** Beschreibung: pass:none[title for window (terminal for Curses GUI), set on startup; an empty string will keep title unchanged (note: content is evaluated, see /help eval); example: "WeeChat ${info:version}"]
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette
-** Standardwert: `+"WeeChat ${info:version}"+`
+** Standardwert: `+""+`
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
** Beschreibung: pass:none[durch Kommata getrennte Liste von Zeichen (oder eine Auswahl von Zeichen) bei denen bei einem Highlight keine Worttrennung erfolgt; jeder Eintrag kann ein einzelnes Zeichen oder eine Auswahl von Zeichen sein (Format: a-z), eine Auswahl von Breitzeichen (wide character; zum Beispiel "alnum", siehe man wctype); beginnt das Item mit einem "!" wird die Auswahl umgekehrt (bedeutet, das Zeichen ist NICHT Bestandteil eines Wortes); das Zeichen "*" wird als Platzhalter verwendet; Unicode Zeichen müssen folgendes Format nutzen \u1234, zum Beispiel \u00A0 für geschütztes Leerzeichen (siehe /help print für unterstützte Formate)]
diff --git a/doc/en/autogen/user/weechat_options.adoc b/doc/en/autogen/user/weechat_options.adoc
index 404410c87..c7f7a8e2a 100644
--- a/doc/en/autogen/user/weechat_options.adoc
+++ b/doc/en/autogen/user/weechat_options.adoc
@@ -1179,10 +1179,10 @@
** default value: `+on+`
* [[option_weechat.look.window_title]] *weechat.look.window_title*
-** description: pass:none[title for window (terminal for Curses GUI), set on startup; an empty string will keep title unchanged (note: content is evaluated, see /help eval)]
+** description: pass:none[title for window (terminal for Curses GUI), set on startup; an empty string will keep title unchanged (note: content is evaluated, see /help eval); example: "WeeChat ${info:version}"]
** type: string
** values: any string
-** default value: `+"WeeChat ${info:version}"+`
+** default value: `+""+`
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
** description: pass:none[comma-separated list of chars (or range of chars) that are considered part or words for highlights; each item can be a single char, a range of chars (format: a-z), a class of wide character (for example "alnum", see man wctype); a "!" before the item makes it negative (ie the char is NOT considered part of words); the value "*" matches any char; unicode chars are allowed with the format \u1234, for example \u00A0 for unbreakable space (see /help print for supported formats)]
diff --git a/doc/fr/autogen/user/weechat_options.adoc b/doc/fr/autogen/user/weechat_options.adoc
index 41df0e836..e8290d20f 100644
--- a/doc/fr/autogen/user/weechat_options.adoc
+++ b/doc/fr/autogen/user/weechat_options.adoc
@@ -1179,10 +1179,10 @@
** valeur par défaut: `+on+`
* [[option_weechat.look.window_title]] *weechat.look.window_title*
-** description: pass:none[titre pour la fenêtre (le terminal pour l'interface Curses), défini au démarrage ; une chaîne vide gardera le titre inchangé (note : le contenu est évalué, voir /help eval)]
+** description: pass:none[titre pour la fenêtre (le terminal pour l'interface Curses), défini au démarrage ; une chaîne vide gardera le titre inchangé (note : le contenu est évalué, voir /help eval) ; exemple : "WeeChat ${info:version}"]
** type: chaîne
** valeurs: toute chaîne
-** valeur par défaut: `+"WeeChat ${info:version}"+`
+** valeur par défaut: `+""+`
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
** description: pass:none[liste de caractères (ou intervalle de caractères) séparés pas des virgules qui sont considérés comme faisant partie des mots pour les highlights ; chaque élément peut être un simple caractère, un intervalle de caractères (format : a-z), une classe de caractère large (par exemple "alnum", voir man wctype) ; un "!" avant un élément le rend négatif (c'est-à-dire le caractère ne fait PAS partie des mots) ; la valeur "*" correspond à n'importe quel caractère ; les caractères unicode sont autorisés avec le format \u1234, par exemple \u00A0 pour l'espace insécable (voir /help print pour les formats supportés)]
diff --git a/doc/it/autogen/user/weechat_options.adoc b/doc/it/autogen/user/weechat_options.adoc
index 95689c9a2..add352f19 100644
--- a/doc/it/autogen/user/weechat_options.adoc
+++ b/doc/it/autogen/user/weechat_options.adoc
@@ -1179,10 +1179,10 @@
** valore predefinito: `+on+`
* [[option_weechat.look.window_title]] *weechat.look.window_title*
-** descrizione: pass:none[title for window (terminal for Curses GUI), set on startup; an empty string will keep title unchanged (note: content is evaluated, see /help eval)]
+** descrizione: pass:none[title for window (terminal for Curses GUI), set on startup; an empty string will keep title unchanged (note: content is evaluated, see /help eval); example: "WeeChat ${info:version}"]
** tipo: stringa
** valori: qualsiasi stringa
-** valore predefinito: `+"WeeChat ${info:version}"+`
+** valore predefinito: `+""+`
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
** descrizione: pass:none[comma-separated list of chars (or range of chars) that are considered part or words for highlights; each item can be a single char, a range of chars (format: a-z), a class of wide character (for example "alnum", see man wctype); a "!" before the item makes it negative (ie the char is NOT considered part of words); the value "*" matches any char; unicode chars are allowed with the format \u1234, for example \u00A0 for unbreakable space (see /help print for supported formats)]
diff --git a/doc/ja/autogen/user/weechat_options.adoc b/doc/ja/autogen/user/weechat_options.adoc
index 4eb294e76..0371450fb 100644
--- a/doc/ja/autogen/user/weechat_options.adoc
+++ b/doc/ja/autogen/user/weechat_options.adoc
@@ -1179,10 +1179,10 @@
** デフォルト値: `+on+`
* [[option_weechat.look.window_title]] *weechat.look.window_title*
-** 説明: pass:none[起動時に設定するウィンドウタイトル (Curses GUI 端末タイトル); 空文字列の場合、タイトルは変更されません (注意: 値は評価されます、/help eval を参照してください)]
+** 説明: pass:none[title for window (terminal for Curses GUI), set on startup; an empty string will keep title unchanged (note: content is evaluated, see /help eval); example: "WeeChat ${info:version}"]
** タイプ: 文字列
** 値: 未制約文字列
-** デフォルト値: `+"WeeChat ${info:version}"+`
+** デフォルト値: `+""+`
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
** 説明: pass:none[ハイライトする部分または文字と見なす文字 (または文字範囲) のカンマ区切りリスト; それぞれの要素は単一文字、文字範囲 (書式: a-z)、全角文字のクラス (例えば "alnum"、wctype の man 参照); 要素の前の "!" は否定を意味します (この文字は単語の一部とみなされません); "*" は任意の文字にマッチします; unicode 文字は \u1234 書式で使うことができます、例えば \u00A0 は固定スペースを意味します (サポートされる書式は /help print を参照してください)]
diff --git a/doc/pl/autogen/user/weechat_options.adoc b/doc/pl/autogen/user/weechat_options.adoc
index 0e84a80c8..62c7476af 100644
--- a/doc/pl/autogen/user/weechat_options.adoc
+++ b/doc/pl/autogen/user/weechat_options.adoc
@@ -1179,10 +1179,10 @@
** domyślna wartość: `+on+`
* [[option_weechat.look.window_title]] *weechat.look.window_title*
-** opis: pass:none[tytuł dla okna (terminal dla GUI Curses), ustawiany na starcie; pusty ciąg pozostawi tytuł bez zmian (zawartość jest przetwarzana, zobacz /help eval)]
+** opis: pass:none[title for window (terminal for Curses GUI), set on startup; an empty string will keep title unchanged (note: content is evaluated, see /help eval); example: "WeeChat ${info:version}"]
** typ: ciąg
** wartości: dowolny ciąg
-** domyślna wartość: `+"WeeChat ${info:version}"+`
+** domyślna wartość: `+""+`
* [[option_weechat.look.word_chars_highlight]] *weechat.look.word_chars_highlight*
** opis: pass:none[oddzielona przecinkami lista znaków (lub zakres znaków) rozważanych jako część słowa podświetlenia; każdy element może być pojedynczym znakiem, zakresem znaków (format: a-z), klasą znaków (przykład "alnum", zobacz man wctype); znak "!" przed elementem neguje go (znak NIE jest uznawany za część słowa); wartość "*" pasuje do dowolnego znaku; znaki unikodu są dozwolone w formacie \u1234, na przykład \u00A0 dla niełamliwej spacji (wspierane formaty można znaleźć w /help print)]
diff --git a/po/cs.po b/po/cs.po
index 43fe514c5..5466cbe30 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3573,7 +3573,8 @@ msgstr "zobraz svislý oddělovač mezi okny"
#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr "příkaz spuštěný při startu WeeChat, před načtením pluginů"
msgid ""
diff --git a/po/de.po b/po/de.po
index dde05d267..05885e791 100644
--- a/po/de.po
+++ b/po/de.po
@@ -24,7 +24,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-04-15 20:39+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -4316,9 +4316,11 @@ msgstr ""
"ist die Einstellung aktiviert dann wird eine vertikale Trennlinie zwischen "
"Fenstern gezeichnet"
+#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"Fenstertitel setzen (Terminal in dem Curses GUI läuft), wird beim "
"Programmstart gesetzt; ein leerer Eintrag belässt den original Fenstertitel "
diff --git a/po/es.po b/po/es.po
index 719cad3bf..d64d9bfdb 100644
--- a/po/es.po
+++ b/po/es.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3745,7 +3745,8 @@ msgstr "muestra un separador vertical entre ventanas"
#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr "comando ejecutado cuando WeeChat inicia, antes de cargar los plugins"
msgid ""
diff --git a/po/fr.po b/po/fr.po
index a5f0da791..a7c6cb2d4 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
-"PO-Revision-Date: 2018-04-15 10:13+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
+"PO-Revision-Date: 2018-04-16 21:24+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -4190,11 +4190,12 @@ msgstr "afficher un séparateur vertical entre les fenêtres"
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"titre pour la fenêtre (le terminal pour l'interface Curses), défini au "
"démarrage ; une chaîne vide gardera le titre inchangé (note : le contenu est "
-"évalué, voir /help eval)"
+"évalué, voir /help eval) ; exemple : \"WeeChat ${info:version}\""
msgid ""
"comma-separated list of chars (or range of chars) that are considered part "
diff --git a/po/hu.po b/po/hu.po
index 78a254457..ebc4aa136 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3121,7 +3121,8 @@ msgstr ""
#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"ablak címsorának beállítása (Curses GUI esetén a terminálé) a program nevére "
"és verziójára"
diff --git a/po/it.po b/po/it.po
index 256d5ba12..48271e722 100644
--- a/po/it.po
+++ b/po/it.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3855,7 +3855,8 @@ msgstr "mostra un separatore verticale tra le finestre"
#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"password per il server (nota: il contenuto viene valutato, consultare /help "
"eval)"
diff --git a/po/ja.po b/po/ja.po
index 744994979..133dd1d1d 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -4024,9 +4024,11 @@ msgstr "ウィンドウ間に水平セパレータを表示"
msgid "display a vertical separator between windows"
msgstr "ウィンドウ間に垂直セパレータを表示"
+#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"起動時に設定するウィンドウタイトル (Curses GUI 端末タイトル); 空文字列の場"
"合、タイトルは変更されません (注意: 値は評価されます、/help eval を参照してく"
diff --git a/po/pl.po b/po/pl.po
index 859bff3ab..8c48742f2 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <>\n"
@@ -4122,9 +4122,11 @@ msgstr "wyświetl poziomy separator pomiędzy oknami"
msgid "display a vertical separator between windows"
msgstr "wyświetl pionowy separator pomiędzy oknami"
+#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"tytuł dla okna (terminal dla GUI Curses), ustawiany na starcie; pusty ciąg "
"pozostawi tytuł bez zmian (zawartość jest przetwarzana, zobacz /help eval)"
diff --git a/po/pt.po b/po/pt.po
index 84ad6a5be..bdd9f2600 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:36+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -4075,9 +4075,11 @@ msgstr "apresentar um separador horizontal entre as janelas"
msgid "display a vertical separator between windows"
msgstr "apresentar um separador vertical entre as janelas"
+#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"titulo das janelas (terminal para GUI Curses), definido ao iniciar; uma "
"cadeia vazia mantém o título inalterado (nota: o conteúdo é avaliado, ver /"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 8b7325262..0e7458bfd 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3747,7 +3747,8 @@ msgstr "exibe um separador vertical entre janelas"
#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"comando executado quando o WeeChat inicia, antes do carregamento dos plugins "
"(nota: conteúdo é avaliado, veja /help eval)"
diff --git a/po/ru.po b/po/ru.po
index c50ec4a30..268819daa 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2018-03-31 15:37+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3154,7 +3154,8 @@ msgstr ""
#, fuzzy
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
"устанавливать заголовок окна (терминала при интерфейсе Curses) с именем и "
"версией"
diff --git a/po/tr.po b/po/tr.po
index 373ed2a0a..dfb1f30f4 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\n"
"PO-Revision-Date: 2017-06-26 23:33+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2852,7 +2852,8 @@ msgstr ""
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
msgid ""
diff --git a/po/weechat.pot b/po/weechat.pot
index f76aaed16..5e388607d 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2018-04-15 10:12+0200\n"
+"POT-Creation-Date: 2018-04-16 21:24+0200\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"
@@ -2848,7 +2848,8 @@ msgstr ""
msgid ""
"title for window (terminal for Curses GUI), set on startup; an empty string "
-"will keep title unchanged (note: content is evaluated, see /help eval)"
+"will keep title unchanged (note: content is evaluated, see /help eval); "
+"example: \"WeeChat ${info:version}\""
msgstr ""
msgid ""
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index 1d94b3e37..a44e0b80f 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -3514,8 +3514,9 @@ config_weechat_init_options ()
"window_title", "string",
N_("title for window (terminal for Curses GUI), set on startup; "
"an empty string will keep title unchanged "
- "(note: content is evaluated, see /help eval)"),
- NULL, 0, 0, "WeeChat ${info:version}", NULL, 0,
+ "(note: content is evaluated, see /help eval); example: "
+ "\"WeeChat ${info:version}\""),
+ NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL,
&config_change_window_title, NULL, NULL,
NULL, NULL, NULL);