summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/cs.po7
-rw-r--r--po/de.po7
-rw-r--r--po/es.po6
-rw-r--r--po/fr.po16
-rw-r--r--po/hu.po7
-rw-r--r--po/ru.po7
-rw-r--r--po/weechat.pot6
-rw-r--r--src/core/wee-command.c4
-rw-r--r--src/gui/curses/gui-curses-window.c26
-rw-r--r--src/gui/gtk/gui-gtk-window.c24
-rw-r--r--src/gui/gui-window.h6
-rw-r--r--src/plugins/xfer/xfer-buffer.c2
12 files changed, 59 insertions, 59 deletions
diff --git a/po/cs.po b/po/cs.po
index dd234e2de..b66fac525 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-09-17 10:21+0200\n"
+"POT-Creation-Date: 2008-09-18 18:49+0200\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"
@@ -994,6 +994,7 @@ msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
+#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
" -1: jump to previous window\n"
@@ -1005,10 +1006,10 @@ msgid ""
" 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> pourcentage of parent window\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"
-"For splith and splitv, pct is a pourcentage which represents size of new "
+"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 ""
diff --git a/po/de.po b/po/de.po
index 08f26e920..e0f9a4b9e 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-09-17 10:21+0200\n"
+"POT-Creation-Date: 2008-09-18 18:49+0200\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"
@@ -957,6 +957,7 @@ msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
+#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
" -1: jump to previous window\n"
@@ -968,10 +969,10 @@ msgid ""
" 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> pourcentage of parent window\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"
-"For splith and splitv, pct is a pourcentage which represents size of new "
+"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 ""
diff --git a/po/es.po b/po/es.po
index 9c198f198..9776030e0 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-09-17 10:21+0200\n"
+"POT-Creation-Date: 2008-09-18 18:49+0200\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"
@@ -949,10 +949,10 @@ msgid ""
" 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> pourcentage of parent window\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"
-"For splith and splitv, pct is a pourcentage which represents size of new "
+"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 ""
diff --git a/po/fr.po b/po/fr.po
index ff3ef6cbc..550f54ac0 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-09-17 10:21+0200\n"
-"PO-Revision-Date: 2008-09-17 10:22+0200\n"
+"POT-Creation-Date: 2008-09-18 18:49+0200\n"
+"PO-Revision-Date: 2008-09-18 18:50+0200\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@@ -1006,10 +1006,10 @@ msgid ""
" 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> pourcentage of parent window\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"
-"For splith and splitv, pct is a pourcentage which represents size of new "
+"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 ""
@@ -1023,14 +1023,10 @@ msgstr ""
" 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"
+"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"
"\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"
+"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"
msgid ""
"Warning: you should now issue /save to write \"save_on_exit\" option in "
diff --git a/po/hu.po b/po/hu.po
index cef1cec18..f7d18ed7b 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-09-17 10:21+0200\n"
+"POT-Creation-Date: 2008-09-18 18:49+0200\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"
@@ -971,6 +971,7 @@ msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
+#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
" -1: jump to previous window\n"
@@ -982,10 +983,10 @@ msgid ""
" 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> pourcentage of parent window\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"
-"For splith and splitv, pct is a pourcentage which represents size of new "
+"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 ""
diff --git a/po/ru.po b/po/ru.po
index 5f63d4ef9..40cd1c05a 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-09-17 10:21+0200\n"
+"POT-Creation-Date: 2008-09-18 18:49+0200\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"
@@ -966,6 +966,7 @@ msgstr ""
"[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv "
"[pct] | resize pct | merge [all]]"
+#, fuzzy
msgid ""
" list: list open windows (no parameter implies this list)\n"
" -1: jump to previous window\n"
@@ -977,10 +978,10 @@ msgid ""
" 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> pourcentage of parent window\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"
-"For splith and splitv, pct is a pourcentage which represents size of new "
+"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 ""
diff --git a/po/weechat.pot b/po/weechat.pot
index 19f2119bb..df1b75093 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-09-17 10:21+0200\n"
+"POT-Creation-Date: 2008-09-18 18:49+0200\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"
@@ -827,10 +827,10 @@ msgid ""
" 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> pourcentage of parent window\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"
-"For splith and splitv, pct is a pourcentage which represents size of new "
+"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 ""
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index d689ac20e..895b3b485 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -3004,10 +3004,10 @@ command_init ()
"splith: split current window horizontally\n"
"splitv: split current window vertically\n"
"resize: resize window size, new size is <pct> "
- "pourcentage of parent window\n"
+ "percentage of parent window\n"
" merge: merge window with another (all = keep only one "
"window)\n\n"
- "For splith and splitv, pct is a pourcentage which "
+ "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"),
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index 9d1cc58b2..da177a941 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -1299,7 +1299,7 @@ gui_window_refresh_windows ()
*/
void
-gui_window_split_horiz (struct t_gui_window *window, int pourcentage)
+gui_window_split_horiz (struct t_gui_window *window, int percentage)
{
struct t_gui_window *new_window;
int height1, height2;
@@ -1307,21 +1307,21 @@ gui_window_split_horiz (struct t_gui_window *window, int pourcentage)
if (!gui_ok)
return;
- height1 = (window->win_height * pourcentage) / 100;
+ height1 = (window->win_height * percentage) / 100;
height2 = window->win_height - height1;
if ((height1 >= GUI_WINDOW_MIN_HEIGHT) && (height2 >= GUI_WINDOW_MIN_HEIGHT)
- && (pourcentage > 0) && (pourcentage <= 100))
+ && (percentage > 0) && (percentage <= 100))
{
if ((new_window = gui_window_new (window,
window->win_x, window->win_y,
window->win_width, height1,
- 100, pourcentage)))
+ 100, percentage)))
{
/* reduce old window height (bottom window) */
window->win_y = new_window->win_y + new_window->win_height;
window->win_height = height2;
- window->win_height_pct = 100 - pourcentage;
+ window->win_height_pct = 100 - percentage;
/* assign same buffer for new window (top window) */
new_window->buffer = window->buffer;
@@ -1339,7 +1339,7 @@ gui_window_split_horiz (struct t_gui_window *window, int pourcentage)
*/
void
-gui_window_split_vertic (struct t_gui_window *window, int pourcentage)
+gui_window_split_vertic (struct t_gui_window *window, int percentage)
{
struct t_gui_window *new_window;
int width1, width2;
@@ -1347,20 +1347,20 @@ gui_window_split_vertic (struct t_gui_window *window, int pourcentage)
if (!gui_ok)
return;
- width1 = (window->win_width * pourcentage) / 100;
+ width1 = (window->win_width * percentage) / 100;
width2 = window->win_width - width1 - 1;
if ((width1 >= GUI_WINDOW_MIN_WIDTH) && (width2 >= GUI_WINDOW_MIN_WIDTH)
- && (pourcentage > 0) && (pourcentage <= 100))
+ && (percentage > 0) && (percentage <= 100))
{
if ((new_window = gui_window_new (window,
window->win_x + width1 + 1, window->win_y,
width2, window->win_height,
- pourcentage, 100)))
+ percentage, 100)))
{
/* reduce old window height (left window) */
window->win_width = width1;
- window->win_width_pct = 100 - pourcentage;
+ window->win_width_pct = 100 - percentage;
/* assign same buffer for new window (right window) */
new_window->buffer = window->buffer;
@@ -1381,7 +1381,7 @@ gui_window_split_vertic (struct t_gui_window *window, int pourcentage)
*/
void
-gui_window_resize (struct t_gui_window *window, int pourcentage)
+gui_window_resize (struct t_gui_window *window, int percentage)
{
struct t_gui_window_tree *parent;
int old_split_pct, add_bottom, add_top, add_left, add_right;
@@ -1395,9 +1395,9 @@ gui_window_resize (struct t_gui_window *window, int pourcentage)
old_split_pct = parent->split_pct;
if (((parent->split_horiz) && (window->ptr_tree == parent->child2))
|| ((!(parent->split_horiz)) && (window->ptr_tree == parent->child1)))
- parent->split_pct = pourcentage;
+ parent->split_pct = percentage;
else
- parent->split_pct = 100 - pourcentage;
+ parent->split_pct = 100 - percentage;
add_bottom = gui_bar_root_get_size (NULL, GUI_BAR_POSITION_BOTTOM);
add_top = gui_bar_root_get_size (NULL, GUI_BAR_POSITION_TOP);
diff --git a/src/gui/gtk/gui-gtk-window.c b/src/gui/gtk/gui-gtk-window.c
index cecfa8ce7..9c7cbd564 100644
--- a/src/gui/gtk/gui-gtk-window.c
+++ b/src/gui/gtk/gui-gtk-window.c
@@ -611,7 +611,7 @@ gui_window_refresh_windows ()
*/
void
-gui_window_split_horiz (struct t_gui_window *window, int pourcentage)
+gui_window_split_horiz (struct t_gui_window *window, int percentage)
{
struct t_gui_window *new_window;
int height1, height2;
@@ -619,20 +619,20 @@ gui_window_split_horiz (struct t_gui_window *window, int pourcentage)
if (!gui_ok)
return;
- height1 = (window->win_height * pourcentage) / 100;
+ height1 = (window->win_height * percentage) / 100;
height2 = window->win_height - height1;
- if ((pourcentage > 0) && (pourcentage <= 100))
+ if ((percentage > 0) && (percentage <= 100))
{
if ((new_window = gui_window_new (window,
window->win_x, window->win_y,
window->win_width, height1,
- 100, pourcentage)))
+ 100, percentage)))
{
/* reduce old window height (bottom window) */
window->win_y = new_window->win_y + new_window->win_height;
window->win_height = height2;
- window->win_height_pct = 100 - pourcentage;
+ window->win_height_pct = 100 - percentage;
/* assign same buffer for new window (top window) */
new_window->buffer = window->buffer;
@@ -652,7 +652,7 @@ gui_window_split_horiz (struct t_gui_window *window, int pourcentage)
*/
void
-gui_window_split_vertic (struct t_gui_window *window, int pourcentage)
+gui_window_split_vertic (struct t_gui_window *window, int percentage)
{
struct t_gui_window *new_window;
int width1, width2;
@@ -660,19 +660,19 @@ gui_window_split_vertic (struct t_gui_window *window, int pourcentage)
if (!gui_ok)
return;
- width1 = (window->win_width * pourcentage) / 100;
+ width1 = (window->win_width * percentage) / 100;
width2 = window->win_width - width1 - 1;
- if ((pourcentage > 0) && (pourcentage <= 100))
+ if ((percentage > 0) && (percentage <= 100))
{
if ((new_window = gui_window_new (window,
window->win_x + width1 + 1, window->win_y,
width2, window->win_height,
- pourcentage, 100)))
+ percentage, 100)))
{
/* reduce old window height (left window) */
window->win_width = width1;
- window->win_width_pct = 100 - pourcentage;
+ window->win_width_pct = 100 - percentage;
/* assign same buffer for new window (right window) */
new_window->buffer = window->buffer;
@@ -695,11 +695,11 @@ gui_window_split_vertic (struct t_gui_window *window, int pourcentage)
*/
void
-gui_window_resize (struct t_gui_window *window, int pourcentage)
+gui_window_resize (struct t_gui_window *window, int percentage)
{
/* TODO: write this function for Gtk */
(void) window;
- (void) pourcentage;
+ (void) percentage;
}
/*
diff --git a/src/gui/gui-window.h b/src/gui/gui-window.h
index b47da4082..564528d34 100644
--- a/src/gui/gui-window.h
+++ b/src/gui/gui-window.h
@@ -171,10 +171,10 @@ extern void gui_window_nicklist_end (struct t_gui_window *window);
extern void gui_window_init_subwindows (struct t_gui_window *window);
extern void gui_window_refresh_windows ();
extern void gui_window_split_horiz (struct t_gui_window *window,
- int pourcentage);
+ int percentage);
extern void gui_window_split_vertic (struct t_gui_window *window,
- int pourcentage);
-extern void gui_window_resize (struct t_gui_window *window, int pourcentage);
+ int percentage);
+extern void gui_window_resize (struct t_gui_window *window, int percentage);
extern int gui_window_merge (struct t_gui_window *window);
extern void gui_window_merge_all (struct t_gui_window *window);
extern void gui_window_switch_up (struct t_gui_window *window);
diff --git a/src/plugins/xfer/xfer-buffer.c b/src/plugins/xfer/xfer-buffer.c
index 5ec2ebf38..836e155ad 100644
--- a/src/plugins/xfer/xfer-buffer.c
+++ b/src/plugins/xfer/xfer-buffer.c
@@ -169,7 +169,7 @@ xfer_buffer_refresh (const char *hotlist)
strcat (progress_bar, "] ");
}
- /* computes pourcentage */
+ /* computes percentage */
if (ptr_xfer->size < 1024*10)
num_unit = 0;
else if (ptr_xfer->size < 1024*1024)