From eb4d1cf9e78e9b330c684e4a55de27525c4fddd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 14 Jul 2014 19:00:23 +0200 Subject: [PATCH] core: display a warning on startup if $TERM is not screen(-256color) under screen/tmux The same warning is displayed with command "/debug term". --- ChangeLog.asciidoc | 2 ++ po/cs.po | 18 ++++++++++++----- po/de.po | 27 ++++++++++++------------- po/es.po | 21 ++++++++++++-------- po/fr.po | 24 ++++++++++++++-------- po/hu.po | 19 ++++++++++++------ po/it.po | 21 ++++++++++++-------- po/ja.po | 21 ++++++++++++-------- po/pl.po | 21 ++++++++++++-------- po/pt_BR.po | 18 ++++++++++++----- po/ru.po | 19 ++++++++++++------ po/tr.po | 18 ++++++++++++----- po/weechat.pot | 13 +++++++++++- src/core/wee-command.c | 1 + src/core/weechat.c | 45 ++++++++++++++++++++++++++++++++++++++++++ src/core/weechat.h | 1 + 16 files changed, 207 insertions(+), 82 deletions(-) diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc index 92a98c5cd..2359fa155 100644 --- a/ChangeLog.asciidoc +++ b/ChangeLog.asciidoc @@ -15,6 +15,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes] == Version 1.0 (under dev) +* core: display a warning on startup if $TERM is not screen(-256color) under + screen/tmux * core: add option "-mask" in command /unset (closes #112) * core: add option weechat.color.status_nicklist_count (closes #109, closes #110) diff --git a/po/cs.po b/po/cs.po index c3be78f65..3fdb43fef 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-07-12 08:50+0200\n" -"PO-Revision-Date: 2014-06-28 13:18+0200\n" +"POT-Creation-Date: 2014-07-14 18:54+0200\n" +"PO-Revision-Date: 2014-07-14 18:44+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" "Language: cs\n" @@ -182,6 +182,17 @@ msgstr "Chyba: domovský adresář (%s) není adresářem\n" msgid "Error: cannot create directory \"%s\"\n" msgstr "Chyba: nemohu vytvořit adresář \"%s\"\n" +#. TRANSLATORS: the "under %s" can be "under screen" or "under tmux" +#, c-format +msgid "" +"%sWarning: WeeChat is running under %s and $TERM is \"%s\", which can cause " +"display bugs; $TERM should be set to \"screen-256color\" or \"screen\"" +msgstr "" + +#, c-format +msgid "%sYou should add this line in the file %s: %s" +msgstr "" + msgid "List of bars:" msgstr "Seznam polí:" @@ -10717,6 +10728,3 @@ msgstr "%s%s: nemohu nastavit \"neblokovaci\" volbu na soket" #, c-format msgid "%s%s: timeout for \"%s\" with %s" msgstr "%s%s: vypršel časový limit \"%s\" pro %s" - -#~ msgid "