summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/cs.po50
-rw-r--r--po/de.po50
-rw-r--r--po/es.po50
-rw-r--r--po/fr.po103
-rw-r--r--po/hu.po50
-rw-r--r--po/ru.po50
-rw-r--r--po/weechat.pot49
-rw-r--r--src/core/wee-command.c49
-rw-r--r--src/gui/gui-window.c2
9 files changed, 323 insertions, 130 deletions
diff --git a/po/cs.po b/po/cs.po
index 7bf974745..c94331734 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2008-11-19 14:48+0100\n"
+"POT-Creation-Date: 2008-11-22 16:29+0100\n"
"PO-Revision-Date: 2008-09-17 16:19+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1038,9 +1038,12 @@ msgstr "-o: poslat čas běhu na aktuální kanál jako IRC zprávu"
msgid "manage windows"
msgstr "spravuje okna"
+#, fuzzy
msgid ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
-"[pct] | resize pct | merge [all]]"
+"[pct] | resize pct | merge [all] | page_up | page_down | scroll | scroll_up "
+"| scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | "
+"scroll_next_highlight ]"
msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
@@ -1048,21 +1051,40 @@ msgstr ""
#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
-" -1: jump to previous window\n"
-" +1: jump to next window\n"
-" b#: jump to next window displaying buffer number #\n"
-" up: switch to window above current one\n"
-" down: switch to window below current one\n"
-" left: switch to window on the left\n"
-" right: switch to window on the right\n"
-"splith: split current window horizontally\n"
-"splitv: split current window vertically\n"
-"resize: resize window size, new size is <pct> percentage of parent window\n"
-" merge: merge window with another (all = keep only one window)\n"
+" -1: jump to previous window\n"
+" +1: jump to next window\n"
+" b#: jump to next window displaying buffer number #\n"
+" up: switch to window above current one\n"
+" down: switch to window below current one\n"
+" left: switch to window on the left\n"
+" right: switch to window on the right\n"
+" splith: split current window horizontally\n"
+" splitv: split current window vertically\n"
+" resize: resize window size, new size is <pct> percentage of parent "
+"window\n"
+" merge: merge window with another (all = keep only one window)\n"
+"\n"
+" page_up: scroll one page up\n"
+" page_down: scroll one page down\n"
+" scroll: scroll number of lines (+/-N) or with time: s=seconds, "
+"m=minutes, h=hours, d=days, M=months, y=years\n"
+" scroll_up: scroll a few lines up\n"
+" scroll_down: scroll a few lines down\n"
+" scroll_top: scroll to top of buffer\n"
+"scroll_bottom: scroll to bottom of buffer\n"
+"scroll_previous_highlight: scroll to previous highlight\n"
+"scroll_next_highlight: scroll to next highlight\n"
+" refresh: refresh screen\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 "
-"create a new window with size = current_size / 4"
+"create a new window with size = current_size / 4\n"
+"\n"
+"Examples:\n"
+" jump to window displaying buffer #1: /window b1 scroll 2 lines up: /"
+"window scroll -2\n"
+" scroll 2 days up: /window scroll -2d\n"
+" scroll to beginning of current day: /window scroll -d"
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 e74086166..4989cf627 100644
--- a/po/de.po
+++ b/po/de.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2008-11-19 14:48+0100\n"
+"POT-Creation-Date: 2008-11-22 16:29+0100\n"
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1061,9 +1061,12 @@ msgstr ""
msgid "manage windows"
msgstr "Fenster verwalten"
+#, fuzzy
msgid ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
-"[pct] | resize pct | merge [all]]"
+"[pct] | resize pct | merge [all] | page_up | page_down | scroll | scroll_up "
+"| scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | "
+"scroll_next_highlight ]"
msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
@@ -1071,21 +1074,40 @@ msgstr ""
#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
-" -1: jump to previous window\n"
-" +1: jump to next window\n"
-" b#: jump to next window displaying buffer number #\n"
-" up: switch to window above current one\n"
-" down: switch to window below current one\n"
-" left: switch to window on the left\n"
-" right: switch to window on the right\n"
-"splith: split current window horizontally\n"
-"splitv: split current window vertically\n"
-"resize: resize window size, new size is <pct> percentage of parent window\n"
-" merge: merge window with another (all = keep only one window)\n"
+" -1: jump to previous window\n"
+" +1: jump to next window\n"
+" b#: jump to next window displaying buffer number #\n"
+" up: switch to window above current one\n"
+" down: switch to window below current one\n"
+" left: switch to window on the left\n"
+" right: switch to window on the right\n"
+" splith: split current window horizontally\n"
+" splitv: split current window vertically\n"
+" resize: resize window size, new size is <pct> percentage of parent "
+"window\n"
+" merge: merge window with another (all = keep only one window)\n"
+"\n"
+" page_up: scroll one page up\n"
+" page_down: scroll one page down\n"
+" scroll: scroll number of lines (+/-N) or with time: s=seconds, "
+"m=minutes, h=hours, d=days, M=months, y=years\n"
+" scroll_up: scroll a few lines up\n"
+" scroll_down: scroll a few lines down\n"
+" scroll_top: scroll to top of buffer\n"
+"scroll_bottom: scroll to bottom of buffer\n"
+"scroll_previous_highlight: scroll to previous highlight\n"
+"scroll_next_highlight: scroll to next highlight\n"
+" refresh: refresh screen\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 "
-"create a new window with size = current_size / 4"
+"create a new window with size = current_size / 4\n"
+"\n"
+"Examples:\n"
+" jump to window displaying buffer #1: /window b1 scroll 2 lines up: /"
+"window scroll -2\n"
+" scroll 2 days up: /window scroll -2d\n"
+" scroll to beginning of current day: /window scroll -d"
msgstr ""
" list: listet die geöffneten Fenster (Default, kann auch weggelassen "
"werden)\n"
diff --git a/po/es.po b/po/es.po
index 7fd5a5193..f3d62fc11 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2008-11-19 14:48+0100\n"
+"POT-Creation-Date: 2008-11-22 16:29+0100\n"
"PO-Revision-Date: 2007-09-19 12:09+0200\n"
"Last-Translator: Roberto González Cardenete <robert.glez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1041,9 +1041,12 @@ msgstr "-o: envía el tiempo de uso en el canal actual como un mensaje IRC"
msgid "manage windows"
msgstr "gestión de ventanas"
+#, fuzzy
msgid ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
-"[pct] | resize pct | merge [all]]"
+"[pct] | resize pct | merge [all] | page_up | page_down | scroll | scroll_up "
+"| scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | "
+"scroll_next_highlight ]"
msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
@@ -1051,21 +1054,40 @@ msgstr ""
#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
-" -1: jump to previous window\n"
-" +1: jump to next window\n"
-" b#: jump to next window displaying buffer number #\n"
-" up: switch to window above current one\n"
-" down: switch to window below current one\n"
-" left: switch to window on the left\n"
-" right: switch to window on the right\n"
-"splith: split current window horizontally\n"
-"splitv: split current window vertically\n"
-"resize: resize window size, new size is <pct> percentage of parent window\n"
-" merge: merge window with another (all = keep only one window)\n"
+" -1: jump to previous window\n"
+" +1: jump to next window\n"
+" b#: jump to next window displaying buffer number #\n"
+" up: switch to window above current one\n"
+" down: switch to window below current one\n"
+" left: switch to window on the left\n"
+" right: switch to window on the right\n"
+" splith: split current window horizontally\n"
+" splitv: split current window vertically\n"
+" resize: resize window size, new size is <pct> percentage of parent "
+"window\n"
+" merge: merge window with another (all = keep only one window)\n"
+"\n"
+" page_up: scroll one page up\n"
+" page_down: scroll one page down\n"
+" scroll: scroll number of lines (+/-N) or with time: s=seconds, "
+"m=minutes, h=hours, d=days, M=months, y=years\n"
+" scroll_up: scroll a few lines up\n"
+" scroll_down: scroll a few lines down\n"
+" scroll_top: scroll to top of buffer\n"
+"scroll_bottom: scroll to bottom of buffer\n"
+"scroll_previous_highlight: scroll to previous highlight\n"
+"scroll_next_highlight: scroll to next highlight\n"
+" refresh: refresh screen\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 "
-"create a new window with size = current_size / 4"
+"create a new window with size = current_size / 4\n"
+"\n"
+"Examples:\n"
+" jump to window displaying buffer #1: /window b1 scroll 2 lines up: /"
+"window scroll -2\n"
+" scroll 2 days up: /window scroll -2d\n"
+" scroll to beginning of current day: /window scroll -d"
msgstr ""
" list: lista las ventanas abiertas(sin parámetros implica esta lista)\n"
" -1: salta a la ventana previa\n"
diff --git a/po/fr.po b/po/fr.po
index a0825ad6d..cbc3106be 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2008-11-19 14:48+0100\n"
-"PO-Revision-Date: 2008-11-19 14:48+0100\n"
+"POT-Creation-Date: 2008-11-22 16:29+0100\n"
+"PO-Revision-Date: 2008-11-22 16:30+0100\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@@ -1117,47 +1117,88 @@ msgstr "gestion des fenêtres"
msgid ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
-"[pct] | resize pct | merge [all]]"
+"[pct] | resize pct | merge [all] | page_up | page_down | scroll | scroll_up "
+"| scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | "
+"scroll_next_highlight ]"
msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
-"[ptc] | resize pct | merge [all]]"
+"[ptc] | resize pct | merge [all] | page_up | page_down | scroll | scroll_up "
+"| scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | "
+"scroll_next_highlight]"
msgid ""
" list: list open windows (no parameter implies this list)\n"
-" -1: jump to previous window\n"
-" +1: jump to next window\n"
-" b#: jump to next window displaying buffer number #\n"
-" up: switch to window above current one\n"
-" down: switch to window below current one\n"
-" left: switch to window on the left\n"
-" right: switch to window on the right\n"
-"splith: split current window horizontally\n"
-"splitv: split current window vertically\n"
-"resize: resize window size, new size is <pct> percentage of parent window\n"
-" merge: merge window with another (all = keep only one window)\n"
+" -1: jump to previous window\n"
+" +1: jump to next window\n"
+" b#: jump to next window displaying buffer number #\n"
+" up: switch to window above current one\n"
+" down: switch to window below current one\n"
+" left: switch to window on the left\n"
+" right: switch to window on the right\n"
+" splith: split current window horizontally\n"
+" splitv: split current window vertically\n"
+" resize: resize window size, new size is <pct> percentage of parent "
+"window\n"
+" merge: merge window with another (all = keep only one window)\n"
+"\n"
+" page_up: scroll one page up\n"
+" page_down: scroll one page down\n"
+" scroll: scroll number of lines (+/-N) or with time: s=seconds, "
+"m=minutes, h=hours, d=days, M=months, y=years\n"
+" scroll_up: scroll a few lines up\n"
+" scroll_down: scroll a few lines down\n"
+" scroll_top: scroll to top of buffer\n"
+"scroll_bottom: scroll to bottom of buffer\n"
+"scroll_previous_highlight: scroll to previous highlight\n"
+"scroll_next_highlight: scroll to next highlight\n"
+" refresh: refresh screen\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 "
-"create a new window with size = current_size / 4"
-msgstr ""
-" list: liste les fenêtres ouvertes (pas de paramètre affiche cette liste)\n"
-" -1: saute à la fenêtre précédente\n"
-" +1: saute à la fenêtre suivante\n"
-" b#: saute à la fenêtre affichant le tampon #\n"
-" up: saute à la fenêtre au dessus\n"
-" down: saute à la fenêtre au dessous\n"
-" left: saute à la fenêtre à gauche\n"
-" right: saute à la fenêtre à droite\n"
-"splith: éclate la fenêtre en deux horizontalement\n"
-"splitv: éclate la fenêtre en deux verticalement\n"
-"resize: redimensionne une fenêtre, la nouvelle taille est <pct> pourcentage "
-"de la fenêtre parent\n"
-" merge: fusionne la fenêtre avec une autre\n"
+"create a new window with size = current_size / 4\n"
+"\n"
+"Examples:\n"
+" jump to window displaying buffer #1: /window b1 scroll 2 lines up: /"
+"window scroll -2\n"
+" scroll 2 days up: /window scroll -2d\n"
+" scroll to beginning of current day: /window scroll -d"
+msgstr ""
+" list: liste les fenêtres ouvertes (pas de paramètre affiche cette "
+"liste)\n"
+" -1: saute à la fenêtre précédente\n"
+" +1: saute à la fenêtre suivante\n"
+" b#: saute à la fenêtre affichant le tampon #\n"
+" up: saute à la fenêtre au dessus\n"
+" down: saute à la fenêtre au dessous\n"
+" left: saute à la fenêtre à gauche\n"
+" right: saute à la fenêtre à droite\n"
+" splith: éclate la fenêtre en deux horizontalement\n"
+" splitv: éclate la fenêtre en deux verticalement\n"
+" resize: redimensionne une fenêtre, la nouvelle taille est <pct> "
+"pourcentage de la fenêtre parent\n"
+" merge: fusionne la fenêtre avec une autre\n"
+" page_up: défilement d'une page vers le haut\n"
+" page_down: défilement d'une page vers le bas\n"
+" scroll: défilement d'un nombre de lignes (+/-N) ou avec du temps: "
+"s=secondes, m=minutes, h=heures, d=jours, M=mois, y=année\n"
+" scroll_up: défilement de quelques lignes vers le haut\n"
+" scroll_down: défilement de quelques lignes vers le bas\n"
+" scroll_top: défilement jusqu'au début du tampon\n"
+"scroll_bottom: défilement jusqu'au bas du tampon\n"
+"scroll_previous_highlight: défilement jusqu'au highlight précédent\n"
+"scroll_next_highlight: défilement jusqu'au highlight suivant\n"
+" refresh: redessine l'écran\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. "
"Par exemple 25 signifie créer une fenêtre qui a pour taille: "
-"taille_courante / 4"
+"taille_courante / 4\n"
+"\n"
+"Exemples :\n"
+" sauter à la fenêtre affichant le tampon 1: /window b1\n"
+" défilement de 2 lignes vers le haut: /window scroll -2\n"
+" défilement de 2 jours vers le haut: /window scroll -2d\n"
+" défilement jusqu'au début du jour courant: /window scroll -d"
msgid ""
"Warning: you should now issue /save to write \"save_config_on_exit\" option "
diff --git a/po/hu.po b/po/hu.po
index 5d367fcb3..398e385b7 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2008-11-19 14:48+0100\n"
+"POT-Creation-Date: 2008-11-22 16:29+0100\n"
"PO-Revision-Date: 2007-10-10 18:07+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1076,9 +1076,12 @@ msgstr "-o: a futásidő mint IRC üzenet elküldése az aktuális szobába"
msgid "manage windows"
msgstr "ablakok kezelése"
+#, fuzzy
msgid ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
-"[pct] | resize pct | merge [all]]"
+"[pct] | resize pct | merge [all] | page_up | page_down | scroll | scroll_up "
+"| scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | "
+"scroll_next_highlight ]"
msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
@@ -1086,21 +1089,40 @@ msgstr ""
#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
-" -1: jump to previous window\n"
-" +1: jump to next window\n"
-" b#: jump to next window displaying buffer number #\n"
-" up: switch to window above current one\n"
-" down: switch to window below current one\n"
-" left: switch to window on the left\n"
-" right: switch to window on the right\n"
-"splith: split current window horizontally\n"
-"splitv: split current window vertically\n"
-"resize: resize window size, new size is <pct> percentage of parent window\n"
-" merge: merge window with another (all = keep only one window)\n"
+" -1: jump to previous window\n"
+" +1: jump to next window\n"
+" b#: jump to next window displaying buffer number #\n"
+" up: switch to window above current one\n"
+" down: switch to window below current one\n"
+" left: switch to window on the left\n"
+" right: switch to window on the right\n"
+" splith: split current window horizontally\n"
+" splitv: split current window vertically\n"
+" resize: resize window size, new size is <pct> percentage of parent "
+"window\n"
+" merge: merge window with another (all = keep only one window)\n"
+"\n"
+" page_up: scroll one page up\n"
+" page_down: scroll one page down\n"
+" scroll: scroll number of lines (+/-N) or with time: s=seconds, "
+"m=minutes, h=hours, d=days, M=months, y=years\n"
+" scroll_up: scroll a few lines up\n"
+" scroll_down: scroll a few lines down\n"
+" scroll_top: scroll to top of buffer\n"
+"scroll_bottom: scroll to bottom of buffer\n"
+"scroll_previous_highlight: scroll to previous highlight\n"
+"scroll_next_highlight: scroll to next highlight\n"
+" refresh: refresh screen\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 "
-"create a new window with size = current_size / 4"
+"create a new window with size = current_size / 4\n"
+"\n"
+"Examples:\n"
+" jump to window displaying buffer #1: /window b1 scroll 2 lines up: /"
+"window scroll -2\n"
+" scroll 2 days up: /window scroll -2d\n"
+" scroll to beginning of current day: /window scroll -d"
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/ru.po b/po/ru.po
index 112e9f671..8937f70c1 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.2.7-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2008-11-19 14:48+0100\n"
+"POT-Creation-Date: 2008-11-22 16:29+0100\n"
"PO-Revision-Date: 2007-09-06 12:44+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1072,9 +1072,12 @@ msgstr "-o: отправить uptime сообщением в текущий к
msgid "manage windows"
msgstr "управление окнами"
+#, fuzzy
msgid ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
-"[pct] | resize pct | merge [all]]"
+"[pct] | resize pct | merge [all] | page_up | page_down | scroll | scroll_up "
+"| scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | "
+"scroll_next_highlight ]"
msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
@@ -1082,21 +1085,40 @@ msgstr ""
#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
-" -1: jump to previous window\n"
-" +1: jump to next window\n"
-" b#: jump to next window displaying buffer number #\n"
-" up: switch to window above current one\n"
-" down: switch to window below current one\n"
-" left: switch to window on the left\n"
-" right: switch to window on the right\n"
-"splith: split current window horizontally\n"
-"splitv: split current window vertically\n"
-"resize: resize window size, new size is <pct> percentage of parent window\n"
-" merge: merge window with another (all = keep only one window)\n"
+" -1: jump to previous window\n"
+" +1: jump to next window\n"
+" b#: jump to next window displaying buffer number #\n"
+" up: switch to window above current one\n"
+" down: switch to window below current one\n"
+" left: switch to window on the left\n"
+" right: switch to window on the right\n"
+" splith: split current window horizontally\n"
+" splitv: split current window vertically\n"
+" resize: resize window size, new size is <pct> percentage of parent "
+"window\n"
+" merge: merge window with another (all = keep only one window)\n"
+"\n"
+" page_up: scroll one page up\n"
+" page_down: scroll one page down\n"
+" scroll: scroll number of lines (+/-N) or with time: s=seconds, "
+"m=minutes, h=hours, d=days, M=months, y=years\n"
+" scroll_up: scroll a few lines up\n"
+" scroll_down: scroll a few lines down\n"
+" scroll_top: scroll to top of buffer\n"
+"scroll_bottom: scroll to bottom of buffer\n"
+"scroll_previous_highlight: scroll to previous highlight\n"
+"scroll_next_highlight: scroll to next highlight\n"
+" refresh: refresh screen\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 "
-"create a new window with size = current_size / 4"
+"create a new window with size = current_size / 4\n"
+"\n"
+"Examples:\n"
+" jump to window displaying buffer #1: /window b1 scroll 2 lines up: /"
+"window scroll -2\n"
+" scroll 2 days up: /window scroll -2d\n"
+" scroll to beginning of current day: /window scroll -d"
msgstr ""
" list: перечислить открытые окна (отсутствие параметров подразумевает этот "
"список)\n"
diff --git a/po/weechat.pot b/po/weechat.pot
index 136ddb48e..b93b9c9dc 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2008-11-19 14:48+0100\n"
+"POT-Creation-Date: 2008-11-22 16:29+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -917,26 +917,47 @@ msgstr ""
msgid ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
-"[pct] | resize pct | merge [all]]"
+"[pct] | resize pct | merge [all] | page_up | page_down | scroll | scroll_up "
+"| scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | "
+"scroll_next_highlight ]"
msgstr ""
msgid ""
" list: list open windows (no parameter implies this list)\n"
-" -1: jump to previous window\n"
-" +1: jump to next window\n"
-" b#: jump to next window displaying buffer number #\n"
-" up: switch to window above current one\n"
-" down: switch to window below current one\n"
-" left: switch to window on the left\n"
-" right: switch to window on the right\n"
-"splith: split current window horizontally\n"
-"splitv: split current window vertically\n"
-"resize: resize window size, new size is <pct> percentage of parent window\n"
-" merge: merge window with another (all = keep only one window)\n"
+" -1: jump to previous window\n"
+" +1: jump to next window\n"
+" b#: jump to next window displaying buffer number #\n"
+" up: switch to window above current one\n"
+" down: switch to window below current one\n"
+" left: switch to window on the left\n"
+" right: switch to window on the right\n"
+" splith: split current window horizontally\n"
+" splitv: split current window vertically\n"
+" resize: resize window size, new size is <pct> percentage of parent "
+"window\n"
+" merge: merge window with another (all = keep only one window)\n"
+"\n"
+" page_up: scroll one page up\n"
+" page_down: scroll one page down\n"
+" scroll: scroll number of lines (+/-N) or with time: s=seconds, "
+"m=minutes, h=hours, d=days, M=months, y=years\n"
+" scroll_up: scroll a few lines up\n"
+" scroll_down: scroll a few lines down\n"
+" scroll_top: scroll to top of buffer\n"
+"scroll_bottom: scroll to bottom of buffer\n"
+"scroll_previous_highlight: scroll to previous highlight\n"
+"scroll_next_highlight: scroll to next highlight\n"
+" refresh: refresh screen\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 "
-"create a new window with size = current_size / 4"
+"create a new window with size = current_size / 4\n"
+"\n"
+"Examples:\n"
+" jump to window displaying buffer #1: /window b1 scroll 2 lines up: /"
+"window scroll -2\n"
+" scroll 2 days up: /window scroll -2d\n"
+" scroll to beginning of current day: /window scroll -d"
msgstr ""
msgid ""
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index e48a94324..3164e995d 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -3396,27 +3396,48 @@ command_init ()
N_("manage windows"),
N_("[list | -1 | +1 | b# | up | down | left | right | "
"splith [pct] | splitv [pct] | resize pct | "
- "merge [all]]"),
+ "merge [all] | page_up | page_down | scroll | scroll_up | "
+ "scroll_down | scroll_top | scroll_bottom | "
+ "scroll_previous_highlight | scroll_next_highlight ]"),
N_(" list: list open windows (no parameter implies this "
"list)\n"
- " -1: jump to previous window\n"
- " +1: jump to next window\n"
- " b#: jump to next window displaying buffer number #\n"
- " up: switch to window above current one\n"
- " down: switch to window below current one\n"
- " left: switch to window on the left\n"
- " right: switch to window on the right\n"
- "splith: split current window horizontally\n"
- "splitv: split current window vertically\n"
- "resize: resize window size, new size is <pct> "
+ " -1: jump to previous window\n"
+ " +1: jump to next window\n"
+ " b#: jump to next window displaying buffer number #\n"
+ " up: switch to window above current one\n"
+ " down: switch to window below current one\n"
+ " left: switch to window on the left\n"
+ " right: switch to window on the right\n"
+ " splith: split current window horizontally\n"
+ " splitv: split current window vertically\n"
+ " resize: resize window size, new size is <pct> "
"percentage of parent window\n"
- " merge: merge window with another (all = keep only one "
+ " merge: merge window with another (all = keep only one "
"window)\n\n"
+ " page_up: scroll one page up\n"
+ " page_down: scroll one page down\n"
+ " scroll: scroll number of lines (+/-N) or with time: "
+ "s=seconds, m=minutes, h=hours, d=days, M=months, y=years\n"
+ " scroll_up: scroll a few lines up\n"
+ " scroll_down: scroll a few lines down\n"
+ " scroll_top: scroll to top of buffer\n"
+ "scroll_bottom: scroll to bottom of buffer\n"
+ "scroll_previous_highlight: scroll to previous highlight\n"
+ "scroll_next_highlight: scroll to next highlight\n"
+ " refresh: refresh screen\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 create a "
- "new window with size = current_size / 4"),
- "list|-1|+1|up|down|left|right|splith|splitv|resize|merge all",
+ "new window with size = current_size / 4\n\n"
+ "Examples:\n"
+ " jump to window displaying buffer #1: /window b1"
+ " scroll 2 lines up: /window scroll -2\n"
+ " scroll 2 days up: /window scroll -2d\n"
+ " scroll to beginning of current day: /window scroll -d"),
+ "list|-1|+1|up|down|left|right|splith|splitv|resize|merge|"
+ "page_up|page_down|scroll_up|scroll|scroll_down|scroll_top|"
+ "scroll_bottom|scroll_previous_highlight|"
+ "scroll_next_highlight|refresh all",
&command_window, NULL);
}
diff --git a/src/gui/gui-window.c b/src/gui/gui-window.c
index 4e0ed9175..02d9ce428 100644
--- a/src/gui/gui-window.c
+++ b/src/gui/gui-window.c
@@ -494,7 +494,7 @@ gui_window_scroll (struct t_gui_window *window, char *scroll)
if (window->buffer->lines)
{
- direction = -1;
+ direction = 1;
number = 0;
time_letter = ' ';