summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-04-02 13:29:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-04-02 13:29:58 +0200
commita0d0711bb089eb9b07ae5c30e519619b980ce78c (patch)
treeb5b802a717b8ff0683a546ef42130afae5c07c5d
parentdfe3ee6b18c3699e92d684d1935b9332e5a2f9e1 (diff)
downloadweechat-a0d0711bb089eb9b07ae5c30e519619b980ce78c.zip
core: use an integer for seconds in command /window bare <delay>
-rw-r--r--doc/de/autogen/user/weechat_commands.txt6
-rw-r--r--doc/en/autogen/user/weechat_commands.txt6
-rw-r--r--doc/fr/autogen/user/weechat_commands.txt6
-rw-r--r--doc/it/autogen/user/weechat_commands.txt6
-rw-r--r--doc/ja/autogen/user/weechat_commands.txt6
-rw-r--r--doc/pl/autogen/user/weechat_commands.txt6
-rw-r--r--po/cs.po10
-rw-r--r--po/de.po10
-rw-r--r--po/es.po10
-rw-r--r--po/fr.po20
-rw-r--r--po/hu.po10
-rw-r--r--po/it.po10
-rw-r--r--po/ja.po10
-rw-r--r--po/pl.po10
-rw-r--r--po/pt_BR.po10
-rw-r--r--po/ru.po10
-rw-r--r--po/tr.po10
-rw-r--r--po/weechat.pot10
-rw-r--r--src/core/wee-command.c7
-rw-r--r--src/gui/curses/gui-curses-window.c4
20 files changed, 88 insertions, 89 deletions
diff --git a/doc/de/autogen/user/weechat_commands.txt b/doc/de/autogen/user/weechat_commands.txt
index 7ae9ddb44..3e2c5fa06 100644
--- a/doc/de/autogen/user/weechat_commands.txt
+++ b/doc/de/autogen/user/weechat_commands.txt
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
- bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
+ bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
- enable bare display for 2.5 seconds:
- /window bare 2.5
+ enable bare display for 2 seconds:
+ /window bare 2
----
diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt
index 1c31b4168..a28183d62 100644
--- a/doc/en/autogen/user/weechat_commands.txt
+++ b/doc/en/autogen/user/weechat_commands.txt
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
- bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
+ bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
- enable bare display for 2.5 seconds:
- /window bare 2.5
+ enable bare display for 2 seconds:
+ /window bare 2
----
diff --git a/doc/fr/autogen/user/weechat_commands.txt b/doc/fr/autogen/user/weechat_commands.txt
index 7d8b36d0a..3b4e8dac6 100644
--- a/doc/fr/autogen/user/weechat_commands.txt
+++ b/doc/fr/autogen/user/weechat_commands.txt
@@ -917,7 +917,7 @@ scroll_next_highlight: faire défiler jusqu'au highlight suivant
scroll_unread: faire défiler jusqu'au marqueur de données non lues
swap: échanger les tampons de deux fenêtres (avec une direction facultative pour la fenêtre cible)
zoom: zoomer sur la fenêtre
- bare: activer/désactiver le mode d'affichage dépouillé (avec un délai facultatif en secondes, sous forme de nombre décimal, pour un retour automatique au mode d'affichage standard)
+ bare: activer/désactiver le mode d'affichage dépouillé (avec un délai facultatif en secondes pour un retour automatique au mode d'affichage standard)
Pour splith et splitv, pct est un pourcentage qui représente la taille de la nouvelle fenêtre, calculée par rapport à la taille de la fenêtre courante. Par exemple 25 signifie créer une fenêtre qui a pour taille: taille_courante / 4
@@ -932,7 +932,7 @@ Exemples:
/window scroll -d
zoom sur la fenêtre numéro 2:
/window zoom -window 2
- activer le mode d'affichage dépouillé pendant 2,5 secondes:
- /window bare 2.5
+ activer le mode d'affichage dépouillé pendant 2 secondes:
+ /window bare 2
----
diff --git a/doc/it/autogen/user/weechat_commands.txt b/doc/it/autogen/user/weechat_commands.txt
index a4cd409c1..1c7c8c806 100644
--- a/doc/it/autogen/user/weechat_commands.txt
+++ b/doc/it/autogen/user/weechat_commands.txt
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
- bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
+ bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
- enable bare display for 2.5 seconds:
- /window bare 2.5
+ enable bare display for 2 seconds:
+ /window bare 2
----
diff --git a/doc/ja/autogen/user/weechat_commands.txt b/doc/ja/autogen/user/weechat_commands.txt
index 11682be57..9a13fe8b8 100644
--- a/doc/ja/autogen/user/weechat_commands.txt
+++ b/doc/ja/autogen/user/weechat_commands.txt
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
- bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
+ bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
- enable bare display for 2.5 seconds:
- /window bare 2.5
+ enable bare display for 2 seconds:
+ /window bare 2
----
diff --git a/doc/pl/autogen/user/weechat_commands.txt b/doc/pl/autogen/user/weechat_commands.txt
index dc4551679..7d032db0b 100644
--- a/doc/pl/autogen/user/weechat_commands.txt
+++ b/doc/pl/autogen/user/weechat_commands.txt
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
- bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
+ bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
- enable bare display for 2.5 seconds:
- /window bare 2.5
+ enable bare display for 2 seconds:
+ /window bare 2
----
diff --git a/po/cs.po b/po/cs.po
index 710acf2f4..0ebe1c453 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2410,8 +2410,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2428,8 +2428,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: vypíše otevřená okna (bez paramatru implikuje tenhle list)\n"
" -1: přepne na přechozí okno\n"
diff --git a/po/de.po b/po/de.po
index c37f612b1..a8470169b 100644
--- a/po/de.po
+++ b/po/de.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-27 19:25+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n"
@@ -2797,8 +2797,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2815,8 +2815,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: listet die geöffneten Fenster (ohne Angabe von Argumente wird "
"diese Liste standardmäßig ausgegeben)\n"
diff --git a/po/es.po b/po/es.po
index 053be2888..099e36641 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: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2533,8 +2533,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2551,8 +2551,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: lista las ventanas abiertas (si no hay argumentos se muestra esta "
"lista)\n"
diff --git a/po/fr.po b/po/fr.po
index 8c96140d4..852ff00e0 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: 2014-04-01 15:41+0200\n"
-"PO-Revision-Date: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
+"PO-Revision-Date: 2014-04-02 13:28+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -2724,8 +2724,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2742,8 +2742,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: lister les fenêtres ouvertes (sans paramètre, cette liste est "
"affichée)\n"
@@ -2781,8 +2781,8 @@ msgstr ""
"facultative pour la fenêtre cible)\n"
" zoom: zoomer sur la fenêtre\n"
" bare: activer/désactiver le mode d'affichage dépouillé (avec un "
-"délai facultatif en secondes, sous forme de nombre décimal, pour un retour "
-"automatique au mode d'affichage standard)\n"
+"délai facultatif en secondes pour un retour automatique au mode d'affichage "
+"standard)\n"
"\n"
"Pour splith et splitv, pct est un pourcentage qui représente la taille de la "
"nouvelle fenêtre, calculée par rapport à la taille de la fenêtre courante. "
@@ -2800,8 +2800,8 @@ msgstr ""
" /window scroll -d\n"
" zoom sur la fenêtre numéro 2:\n"
" /window zoom -window 2\n"
-" activer le mode d'affichage dépouillé pendant 2,5 secondes:\n"
-" /window bare 2.5"
+" activer le mode d'affichage dépouillé pendant 2 secondes:\n"
+" /window bare 2"
msgid "names of buffers"
msgstr "noms des tampons"
diff --git a/po/hu.po b/po/hu.po
index 1b345b377..c2855a20e 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: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2097,8 +2097,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2115,8 +2115,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: nyitott ablakok listája (paraméter nélkül ez hívódik meg)\n"
" -1: ugrás az előző ablakra\n"
diff --git a/po/it.po b/po/it.po
index 534a06ad4..b6bfc401e 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: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2618,8 +2618,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2636,8 +2636,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: elenca le finestre aperte (senza argomento, questa lista "
"viene visualizzata)\n"
diff --git a/po/ja.po b/po/ja.po
index bc377a07f..68dfde9ca 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: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-29 20:07+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
@@ -2657,8 +2657,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2675,8 +2675,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: 開けられたウィンドウのリストアップ (引数無しの場合、このリスト"
"が表示されます)\n"
diff --git a/po/pl.po b/po/pl.po
index 0d41cf238..5a8ca35d1 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2707,8 +2707,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2725,8 +2725,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: lista otwartych okien (bez argumentu wyświetlana jest ta "
"lista)\n"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 253f70c8a..1d3756b7c 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: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2499,8 +2499,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2517,8 +2517,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: lista janelas abertas (sem argumentos, esta lista é "
"mostrada)\n"
diff --git a/po/ru.po b/po/ru.po
index a8a07061e..32efbb126 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: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2120,8 +2120,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2138,8 +2138,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
" list: перечислить открытые окна (отсутствие параметров подразумевает этот "
"список)\n"
diff --git a/po/tr.po b/po/tr.po
index fcc064a77..bd8198048 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: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1900,8 +1900,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -1918,8 +1918,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
msgid "names of buffers"
diff --git a/po/weechat.pot b/po/weechat.pot
index dfa52f6a7..ac9fe7fcc 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-01 15:41+0200\n"
+"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1903,8 +1903,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
-" bare: toggle bare display (with optional delay in seconds, as "
-"decimal number, for automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds for "
+"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -1921,8 +1921,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
-" enable bare display for 2.5 seconds:\n"
-" /window bare 2.5"
+" enable bare display for 2 seconds:\n"
+" /window bare 2"
msgstr ""
msgid "names of buffers"
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index f38477878..cde611957 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -7632,8 +7632,7 @@ command_init ()
"for target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in "
- "seconds, as decimal number, for automatic return to standard "
- "display mode)\n"
+ "seconds for automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of "
"new window, computed with current window as size reference. For "
@@ -7650,8 +7649,8 @@ command_init ()
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
- " enable bare display for 2.5 seconds:\n"
- " /window bare 2.5"),
+ " enable bare display for 2 seconds:\n"
+ " /window bare 2"),
"list"
" || -1 -window %(windows_numbers)"
" || +1 -window %(windows_numbers)"
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index 4d393bb3e..593c7f31d 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -2375,7 +2375,7 @@ gui_window_bare_display_timer_cb (void *data, int remaining_calls)
void
gui_window_bare_display_toggle (const char *delay)
{
- float seconds;
+ long seconds;
char *error;
gui_window_bare_display ^= 1;
@@ -2389,7 +2389,7 @@ gui_window_bare_display_toggle (const char *delay)
if (delay)
{
error = NULL;
- seconds = strtof (delay, &error);
+ seconds = strtol (delay, &error, 10);
if (error && !error[0] && (seconds >= 0))
{
if (gui_window_bare_display_timer)