summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-03-30 22:28:51 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-03-30 22:28:51 +0200
commit58e86f004c944030c7df57a6f6ba9a81e4b55c99 (patch)
treed4504468ae526680853fd02d2650c50529200bd9
parente791c24a2e4200a8f87d63465a1c1ed276b7f9b9 (diff)
downloadweechat-58e86f004c944030c7df57a6f6ba9a81e4b55c99.zip
core: use seconds as float number for delay in command /window bare <delay>
-rw-r--r--doc/de/autogen/user/weechat_commands.txt80
-rw-r--r--doc/en/autogen/user/weechat_commands.txt4
-rw-r--r--doc/fr/autogen/user/weechat_commands.txt4
-rw-r--r--doc/it/autogen/user/weechat_commands.txt4
-rw-r--r--doc/ja/autogen/user/weechat_commands.txt80
-rw-r--r--doc/pl/autogen/user/weechat_commands.txt4
-rw-r--r--po/cs.po10
-rw-r--r--po/de.po11
-rw-r--r--po/es.po10
-rw-r--r--po/fr.po22
-rw-r--r--po/hu.po10
-rw-r--r--po/it.po10
-rw-r--r--po/ja.po11
-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.c8
20 files changed, 184 insertions, 141 deletions
diff --git a/doc/de/autogen/user/weechat_commands.txt b/doc/de/autogen/user/weechat_commands.txt
index 6bb5c3943..5c59939eb 100644
--- a/doc/de/autogen/user/weechat_commands.txt
+++ b/doc/de/autogen/user/weechat_commands.txt
@@ -888,49 +888,51 @@ Beispiele:
zoom[-window <number>]
bare [<delay>]
- list: listet die geöffneten Fenster (ohne Angabe von Argumente wird diese Liste standardmäßig ausgegeben)
- -1: springt zum vorherigen Fenster
- +1: springt zum nächsten Fenster
- b#: springt zum nächsten Fenster, welches die Buffer Nummer # besitzt
- up: wechselt zum Fenster über dem aktuellen
- down: wechselt zum Fenster unter dem aktuellen
- left: wechselt zum linken Fenster
- right: wechselt zum rechten Fenster
- number: Nummer des Fensters (siehe /window list)
- splith: teilt das aktuelle Fenster horizontal
- splitv: teilt das aktuelle Fenster vertikal
- resize: verändert die Größe des aktuellen Fensters. Die neue Größe des Fensters ist prozentual <pct> zum Stammfensters groß
- balance: passt die Größe aller Fenster an
- merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
- page_up: scrollt eine Seite nach oben
- page_down: scrollt eine Seite nach unten
- refresh: Seite wird neu aufgebaut
- scroll: scrollt eine Anzahl an Zeilen (+/-N) oder zu einer angegebenen Zeit: s=Sekunden, m=Minuten, h=Stunden, d=Tage, M=Monate, y=Jahre
- scroll_horiz: scrollt horizontal eine Anzahl an Spalten (+/-N) oder prozentual von der Fenstergröße ausgehend (dieses scrolling ist nur in Buffern möglich die über einen freien Inhalt verfügen)
- scroll_up: scrollt ein paar Zeilen nach oben
- scroll_down: scrollt ein paar Zeilen nach unten
- scroll_top: scrollt zum Anfang des Buffers
-scroll_bottom: scrollt zum Ende des Buffers
-scroll_beyond_end: scrollt über das Ende des Buffers hinaus
-scroll_previous_highlight: scrollt zum vorherigen Hightlight
-scroll_next_highlight: scrollt zum nächsten Highlight
-scroll_unread: springt zur ersten ungelesenen Zeile in einem Buffer
- swap: tauscht die Buffer von zwei Fenstern (mit optionaler Angabe für das Zielfenster)
- zoom: vergrößert ein Fenster auf 100%
- bare: wechselt zum einfachen Anzeigemodus (optional kann eine Wartezeit, in Millisekunden, angegeben werden, wann zum Standardmodus zurück gewechselt werden soll)
-
-Bei splith und splitv gibt "pct" die neue Größe des Fensters im Verhältnis zur aktuellen Größe an. Zum Beispiel würde ein Wert von 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters besitzt.
-
-Beispiele:
- springt zum Fenster mit dem Buffer #1:
+ list: list opened windows (without argument, this list is displayed)
+ -1: jump to previous window
+ +1: jump to next window
+ b#: jump to next window displaying buffer number #
+ up: switch to window above current one
+ down: switch to window below current one
+ left: switch to window on the left
+ right: switch to window on the right
+ number: window number (see /window list)
+ splith: split current window horizontally
+ splitv: split current window vertically
+ resize: resize window size, new size is <pct> percentage of parent window
+ balance: balance the sizes of all windows
+ merge: merge window with another (all = keep only one window)
+ page_up: scroll one page up
+ page_down: scroll one page down
+ refresh: refresh screen
+ scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
+ scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
+ scroll_up: scroll a few lines up
+ scroll_down: scroll a few lines down
+ scroll_top: scroll to top of buffer
+scroll_bottom: scroll to bottom of buffer
+scroll_beyond_end: scroll beyond the end of buffer
+scroll_previous_highlight: scroll to previous highlight
+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)
+
+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
+
+Examples:
+ jump to window displaying buffer #1:
/window b1
- scrollt zwei Zeilen hoch:
+ scroll 2 lines up:
/window scroll -2
- scrollt zwei Tage hoch: /window scroll -2d
+ scroll 2 days up:
/window scroll -2d
- scrollt zum Beginn des aktuellen Tages:
+ scroll to beginning of current day:
/window scroll -d
- Fenster #2 wird vergrößert:
+ zoom on window #2:
/window zoom -window 2
+ enable bare display for 2.5 seconds:
+ /window bare 2.5
----
diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt
index 59581aa25..bb9fd6d3a 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 milliseconds for automatic return to standard display mode)
+ bare: toggle bare display (with optional delay in seconds, as decimal number, 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,5 +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
----
diff --git a/doc/fr/autogen/user/weechat_commands.txt b/doc/fr/autogen/user/weechat_commands.txt
index 01a81e067..f211c5e93 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 more d'affichage dépouillé (avec un délai facultatif en millisecondes 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, sous forme de nombre décimal, 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,5 +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
----
diff --git a/doc/it/autogen/user/weechat_commands.txt b/doc/it/autogen/user/weechat_commands.txt
index f0a8378e5..073615125 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 milliseconds for automatic return to standard display mode)
+ bare: toggle bare display (with optional delay in seconds, as decimal number, 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,5 +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
----
diff --git a/doc/ja/autogen/user/weechat_commands.txt b/doc/ja/autogen/user/weechat_commands.txt
index ac6b9b977..b873c9e33 100644
--- a/doc/ja/autogen/user/weechat_commands.txt
+++ b/doc/ja/autogen/user/weechat_commands.txt
@@ -888,49 +888,51 @@ command: 実行するコマンド (コマンドが '/' で始まらない場合
zoom[-window <number>]
bare [<delay>]
- list: 開けられたウィンドウのリストアップ (引数無しの場合、このリストが表示されます)
- -1: 前のウィンドウに移動
- +1: 次のウィンドウに移動
- b#: バッファ番号 # のウィンドウに移動
- up: 現在のウィンドウの上のウィンドウに移動
- down: 現在のウィンドウの下のウィンドウに移動
- left: 左のウィンドウに移動
- right: 右のウィンドウに移動
- number: ウィンドウ番号 (/window list を参照)
- splith: 現在のウィンドウを水平分割
- splitv: 現在のウィンドウを垂直分割
- resize: ウィンドウサイズの変更、新しいサイズは親ウィンドウの <pct> パーセントで指定
- balance: 全てのウィンドウのサイズを均等にする
- merge: ウィンドウを他のものをマージする (all = 一つのウィンドウにまとめる)
- page_up: 1 ページ分上方向にスクロール
- page_down: 1 ページ分下方向にスクロール
- refresh: スクリーンのリフレッシュ
- scroll: 指定行数 (+/-N) か指定期間 (s=秒、m=分、h=時間、d=日、M=月、y=年) スクロール
- scroll_horiz: 指定列数 (+/-N) かウィンドウサイズの割合で水平方向にスクロール (フリーコンテンツを含むバッファ以外は無効)
- scroll_up: 数行分上方向にスクロール
- scroll_down: 数行分下方向にスクロール
- scroll_top: バッファの一番上にスクロール
-scroll_bottom: バッファの一番下にスクロール
-scroll_beyond_end: バッファの末尾を越えてスクロール
-scroll_previous_highlight: 一つ前のハイライトにスクロール
-scroll_next_highlight: 次のハイライトにスクロール
-scroll_unread: 未読マーカにスクロール
- swap: 2 つのウィンドウのバッファを入れ替え (ターゲットウィンドウの方向を任意指定)
- zoom: ウィンドウを拡大
- bare: 最小限表示を切り替える (自動的に標準表示モードに戻るまでの時間をミリ秒単位で任意指定)
-
-splith と splitv に関しては、pct は新しいウィンドウのパーセンテージで、現在のウィンドウサイズに対する割合で計算されます。例えば、25 は size = current_size / 4 の新しいウィンドウを作成します。
-
-例:
- バッファ #1 を表示しているウィンドウに移動:
+ list: list opened windows (without argument, this list is displayed)
+ -1: jump to previous window
+ +1: jump to next window
+ b#: jump to next window displaying buffer number #
+ up: switch to window above current one
+ down: switch to window below current one
+ left: switch to window on the left
+ right: switch to window on the right
+ number: window number (see /window list)
+ splith: split current window horizontally
+ splitv: split current window vertically
+ resize: resize window size, new size is <pct> percentage of parent window
+ balance: balance the sizes of all windows
+ merge: merge window with another (all = keep only one window)
+ page_up: scroll one page up
+ page_down: scroll one page down
+ refresh: refresh screen
+ scroll: scroll a number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
+ scroll_horiz: scroll horizontally a number of columns (+/-N) or percentage of window size (this scrolling is possible only on buffers with free content)
+ scroll_up: scroll a few lines up
+ scroll_down: scroll a few lines down
+ scroll_top: scroll to top of buffer
+scroll_bottom: scroll to bottom of buffer
+scroll_beyond_end: scroll beyond the end of buffer
+scroll_previous_highlight: scroll to previous highlight
+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)
+
+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
+
+Examples:
+ jump to window displaying buffer #1:
/window b1
- 2 行分上方向にスクロール:
+ scroll 2 lines up:
/window scroll -2
- 2 日分上方向にスクロール:
+ scroll 2 days up:
/window scroll -2d
- 今日の最初にスクロール:
+ scroll to beginning of current day:
/window scroll -d
- ウィンドウ #2 を拡大:
+ zoom on window #2:
/window zoom -window 2
+ enable bare display for 2.5 seconds:
+ /window bare 2.5
----
diff --git a/doc/pl/autogen/user/weechat_commands.txt b/doc/pl/autogen/user/weechat_commands.txt
index 6b5b990e7..59dd78bb1 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 milliseconds for automatic return to standard display mode)
+ bare: toggle bare display (with optional delay in seconds, as decimal number, 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,5 +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
----
diff --git a/po/cs.po b/po/cs.po
index cdbff6f13..25a11f0da 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2427,7 +2427,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
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 4a74d8e3f..0135855e6 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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"
@@ -2758,6 +2758,7 @@ msgstr ""
"scroll_next_highlight|scroll_unread [-window <number>] || swap [-window "
"<number>] [up|down|left|right] || zoom[-window <number>] || bare [<delay>]"
+#, fuzzy
msgid ""
" list: list opened windows (without argument, this list is "
"displayed)\n"
@@ -2794,8 +2795,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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2811,7 +2812,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
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 42473f411..20b44b656 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2550,7 +2550,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
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 ff27aa162..14eed580f 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-03-30 18:55+0200\n"
-"PO-Revision-Date: 2014-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+0200\n"
+"PO-Revision-Date: 2014-03-30 22:25+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -2723,8 +2723,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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2740,7 +2740,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
msgstr ""
" list: lister les fenêtres ouvertes (sans paramètre, cette liste est "
"affichée)\n"
@@ -2777,9 +2779,9 @@ msgstr ""
" swap: échanger les tampons de deux fenêtres (avec une direction "
"facultative pour la fenêtre cible)\n"
" zoom: zoomer sur la fenêtre\n"
-" bare: activer/désactiver le more d'affichage dépouillé (avec un "
-"délai facultatif en millisecondes pour un retour automatique au mode "
-"d'affichage standard)\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"
"\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. "
@@ -2796,7 +2798,9 @@ msgstr ""
" défilement jusqu'au début du jour courant:\n"
" /window scroll -d\n"
" zoom sur la fenêtre numéro 2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" activer le mode d'affichage dépouillé pendant 2,5 secondes:\n"
+" /window bare 2.5"
msgid "names of buffers"
msgstr "noms des tampons"
diff --git a/po/hu.po b/po/hu.po
index 95b33e95b..c1fd8b454 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2114,7 +2114,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
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 7a837d9f5..9d32722f0 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2635,7 +2635,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
msgstr ""
" list: elenca le finestre aperte (senza argomento, questa lista "
"viene visualizzata)\n"
diff --git a/po/ja.po b/po/ja.po
index 4cc6cbe31..68d787a9a 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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"
@@ -2618,6 +2618,7 @@ msgstr ""
"scroll_next_highlight|scroll_unread [-window <number>] || swap [-window "
"<number>] [up|down|left|right] || zoom[-window <number>] || bare [<delay>]"
+#, fuzzy
msgid ""
" list: list opened windows (without argument, this list is "
"displayed)\n"
@@ -2654,8 +2655,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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2671,7 +2672,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
msgstr ""
" list: 開けられたウィンドウのリストアップ (引数無しの場合、このリスト"
"が表示されます)\n"
diff --git a/po/pl.po b/po/pl.po
index 337137ea1..f50f335c0 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2724,7 +2724,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
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 d30e7cb44..10ed10368 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2516,7 +2516,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
msgstr ""
" list: lista janelas abertas (sem argumentos, esta lista é "
"mostrada)\n"
diff --git a/po/ru.po b/po/ru.po
index 9f87edc7b..965147f46 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -2137,7 +2137,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
msgstr ""
" list: перечислить открытые окна (отсутствие параметров подразумевает этот "
"список)\n"
diff --git a/po/tr.po b/po/tr.po
index b587ad980..a5d747e47 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -1917,7 +1917,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
msgstr ""
msgid "names of buffers"
diff --git a/po/weechat.pot b/po/weechat.pot
index 7c8814ced..e8b027bb0 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-03-30 18:55+0200\n"
+"POT-Creation-Date: 2014-03-30 22:25+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 milliseconds for "
-"automatic return to standard display mode)\n"
+" bare: toggle bare display (with optional delay in seconds, as "
+"decimal number, 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 "
@@ -1920,7 +1920,9 @@ msgid ""
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
-" /window zoom -window 2"
+" /window zoom -window 2\n"
+" enable bare display for 2.5 seconds:\n"
+" /window bare 2.5"
msgstr ""
msgid "names of buffers"
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index dbbf97a2f..d33d4373f 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -7591,7 +7591,8 @@ command_init ()
"for target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in "
- "milliseconds for automatic return to standard display mode)\n"
+ "seconds, as decimal number, 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 "
@@ -7607,7 +7608,9 @@ command_init ()
" scroll to beginning of current day:\n"
" /window scroll -d\n"
" zoom on window #2:\n"
- " /window zoom -window 2"),
+ " /window zoom -window 2\n"
+ " enable bare display for 2.5 seconds:\n"
+ " /window bare 2.5"),
"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 2ef4cf994..aaf7b2d28 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)
{
- long milliseconds;
+ float seconds;
char *error;
gui_window_bare_display ^= 1;
@@ -2389,8 +2389,8 @@ gui_window_bare_display_toggle (const char *delay)
if (delay)
{
error = NULL;
- milliseconds = strtol (delay, &error, 10);
- if (error && !error[0] && (milliseconds >= 0))
+ seconds = strtof (delay, &error);
+ if (error && !error[0] && (seconds >= 0))
{
if (gui_window_bare_display_timer)
{
@@ -2399,7 +2399,7 @@ gui_window_bare_display_toggle (const char *delay)
}
gui_window_bare_display_timer = hook_timer (
NULL,
- milliseconds, 0, 1,
+ seconds * 1000, 0, 1,
&gui_window_bare_display_timer_cb, NULL);
}
}