1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Add 2 new options: weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more

This commit is contained in:
Sebastien Helleu
2009-08-29 13:06:21 +02:00
parent 88b65fe3c2
commit d2ec2482d6
13 changed files with 122 additions and 11 deletions
+10
View File
@@ -463,6 +463,11 @@
** type: integer
** values: 0 .. 128 (default value: 0)
* *weechat.look.prefix_align_more*
** description: display '+' if prefix is truncated
** type: boolean
** values: on, off (default value: on)
* *weechat.look.prefix_buffer_align*
** description: prefix alignment for buffer name, when many buffers are merged with same number (none, left, right (default))
** type: integer
@@ -473,6 +478,11 @@
** type: integer
** values: 0 .. 128 (default value: 0)
* *weechat.look.prefix_buffer_align_more*
** description: display '+' if buffer name is truncated (when many buffers are merged with same number)
** type: boolean
** values: on, off (default value: on)
* *weechat.look.prefix_error*
** description: prefix for error messages
** type: string
+10
View File
@@ -463,6 +463,11 @@
** type: entier
** valeurs: 0 .. 128 (valeur par défaut: 0)
* *weechat.look.prefix_align_more*
** description: afficher '+' si le préfixe est tronqué
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *weechat.look.prefix_buffer_align*
** description: alignement de préfixe pour le nom du tampon, quand plusieurs tampons sont mélangés avec le même numéro (none, left, right (par défaut))
** type: entier
@@ -473,6 +478,11 @@
** type: entier
** valeurs: 0 .. 128 (valeur par défaut: 0)
* *weechat.look.prefix_buffer_align_more*
** description: afficher '+' si le nom du tampon est tronqué (quand plusieurs tampons sont mélangés avec le même numéro)
** type: booléen
** valeurs: on, off (valeur par défaut: on)
* *weechat.look.prefix_error*
** description: préfixe pour les messages d'erreur
** type: chaîne
+10 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-08-29 10:26+0200\n"
"POT-Creation-Date: 2009-08-29 13:03+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1434,6 +1434,9 @@ msgstr "zarovnání prefixu (none, left, right (výchozí))"
msgid "max size for prefix (0 = no max size)"
msgstr "maximální velikost prefixu (0 = žádná maximální velikost)"
msgid "display '+' if prefix is truncated"
msgstr ""
msgid ""
"prefix alignment for buffer name, when many buffers are merged with same "
"number (none, left, right (default))"
@@ -1445,6 +1448,12 @@ msgid ""
"no max size)"
msgstr "maximální velikost prefixu (0 = žádná maximální velikost)"
#, fuzzy
msgid ""
"display '+' if buffer name is truncated (when many buffers are merged with "
"same number)"
msgstr "maximální velikost prefixu (0 = žádná maximální velikost)"
msgid "string displayed after prefix"
msgstr "řetězec zobrazený za prefixem"
+9 -1
View File
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-08-29 10:26+0200\n"
"POT-Creation-Date: 2009-08-29 13:03+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Thomas Schuetz <i18n@internet-villa.de>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1457,6 +1457,9 @@ msgstr "Nicklisten-Position (top, left, right (Standard), bottom)"
msgid "max size for prefix (0 = no max size)"
msgstr ""
msgid "display '+' if prefix is truncated"
msgstr ""
msgid ""
"prefix alignment for buffer name, when many buffers are merged with same "
"number (none, left, right (default))"
@@ -1467,6 +1470,11 @@ msgid ""
"no max size)"
msgstr ""
msgid ""
"display '+' if buffer name is truncated (when many buffers are merged with "
"same number)"
msgstr ""
#, fuzzy
msgid "string displayed after prefix"
msgstr "Nach Nickvervollständigung anzufügende Zeichenfolge"
+9 -1
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-08-29 10:26+0200\n"
"POT-Creation-Date: 2009-08-29 13:03+0200\n"
"PO-Revision-Date: 2009-08-23 04:03-0300\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1430,6 +1430,9 @@ msgstr ""
msgid "max size for prefix (0 = no max size)"
msgstr ""
msgid "display '+' if prefix is truncated"
msgstr ""
msgid ""
"prefix alignment for buffer name, when many buffers are merged with same "
"number (none, left, right (default))"
@@ -1440,6 +1443,11 @@ msgid ""
"no max size)"
msgstr ""
msgid ""
"display '+' if buffer name is truncated (when many buffers are merged with "
"same number)"
msgstr ""
#, fuzzy
msgid "string displayed after prefix"
msgstr "la cadena mostrada tras la finalización de los nombres de usuario"
+15 -2
View File
@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-08-29 10:26+0200\n"
"PO-Revision-Date: 2009-08-29 10:26+0200\n"
"POT-Creation-Date: 2009-08-29 13:03+0200\n"
"PO-Revision-Date: 2009-08-29 12:59+0200\n"
"Last-Translator: FlashCode <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"MIME-Version: 1.0\n"
@@ -1617,6 +1617,9 @@ msgstr "alignement de préfixe (none, left, right (par défaut))"
msgid "max size for prefix (0 = no max size)"
msgstr "taille maximum pour le préfixe (0 = pas de taille maximum)"
msgid "display '+' if prefix is truncated"
msgstr "afficher '+' si le préfixe est tronqué"
msgid ""
"prefix alignment for buffer name, when many buffers are merged with same "
"number (none, left, right (default))"
@@ -1631,6 +1634,13 @@ msgstr ""
"taille maximum pour le nom du tampon, quand plusieurs tampons sont mélangés "
"avec le même numéro (0 = pas de taille maximum)"
msgid ""
"display '+' if buffer name is truncated (when many buffers are merged with "
"same number)"
msgstr ""
"afficher '+' si le nom du tampon est tronqué (quand plusieurs tampons sont "
"mélangés avec le même numéro)"
msgid "string displayed after prefix"
msgstr "chaîne affichée après le préfixe"
@@ -5712,6 +5722,9 @@ msgstr "%s%s: impossible de positionner l'option \"nonblock\" pour la socket"
msgid "%s%s: timeout for \"%s\" with %s"
msgstr "%s%s: délai d'attente dépassé pour \"%s\" avec %s"
#~ msgid "display '+' if buffer name is truncated"
#~ msgstr "afficher '+' si le nom du tampon est tronqué"
#~ msgid "text color for nick name in input line"
#~ msgstr "couleur du texte pour le pseudo dans la ligne de saisie"
+9 -1
View File
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-08-29 10:26+0200\n"
"POT-Creation-Date: 2009-08-29 13:03+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1467,6 +1467,9 @@ msgstr "névlista helye (top, left, right (alapértelmezett), bottom)"
msgid "max size for prefix (0 = no max size)"
msgstr ""
msgid "display '+' if prefix is truncated"
msgstr ""
msgid ""
"prefix alignment for buffer name, when many buffers are merged with same "
"number (none, left, right (default))"
@@ -1477,6 +1480,11 @@ msgid ""
"no max size)"
msgstr ""
msgid ""
"display '+' if buffer name is truncated (when many buffers are merged with "
"same number)"
msgstr ""
#, fuzzy
msgid "string displayed after prefix"
msgstr "névkiegészítés után beszúrt szöveg"
+11 -1
View File
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-08-29 10:26+0200\n"
"POT-Creation-Date: 2009-08-29 13:03+0200\n"
"PO-Revision-Date: 2009-08-28 11:51+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: Polish\n"
@@ -1623,6 +1623,9 @@ msgstr "wyrównanie przedrostków (none, left, right (domyślne))"
msgid "max size for prefix (0 = no max size)"
msgstr "maksymalny rozmiar przedrostka (0 = brak maksymalnego rozmiaru)"
msgid "display '+' if prefix is truncated"
msgstr ""
msgid ""
"prefix alignment for buffer name, when many buffers are merged with same "
"number (none, left, right (default))"
@@ -1637,6 +1640,13 @@ msgid ""
msgstr ""
"kolor nazwy bufora (przed predrostkiem, kiedy wiele buforów jest połączonych)"
#, fuzzy
msgid ""
"display '+' if buffer name is truncated (when many buffers are merged with "
"same number)"
msgstr ""
"kolor nazwy bufora (przed predrostkiem, kiedy wiele buforów jest połączonych)"
msgid "string displayed after prefix"
msgstr "ciąg wyświetlany po przedrostku"
+9 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.3.0-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-08-29 10:26+0200\n"
"POT-Creation-Date: 2009-08-29 13:03+0200\n"
"PO-Revision-Date: 2009-05-11 13:02+0200\n"
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1470,6 +1470,9 @@ msgstr ""
msgid "max size for prefix (0 = no max size)"
msgstr ""
msgid "display '+' if prefix is truncated"
msgstr ""
msgid ""
"prefix alignment for buffer name, when many buffers are merged with same "
"number (none, left, right (default))"
@@ -1480,6 +1483,11 @@ msgid ""
"no max size)"
msgstr ""
msgid ""
"display '+' if buffer name is truncated (when many buffers are merged with "
"same number)"
msgstr ""
#, fuzzy
msgid "string displayed after prefix"
msgstr "строка, вставляемая после автодополнения ника"
+9 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2009-08-29 10:26+0200\n"
"POT-Creation-Date: 2009-08-29 13:03+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"
@@ -1258,6 +1258,9 @@ msgstr ""
msgid "max size for prefix (0 = no max size)"
msgstr ""
msgid "display '+' if prefix is truncated"
msgstr ""
msgid ""
"prefix alignment for buffer name, when many buffers are merged with same "
"number (none, left, right (default))"
@@ -1268,6 +1271,11 @@ msgid ""
"no max size)"
msgstr ""
msgid ""
"display '+' if buffer name is truncated (when many buffers are merged with "
"same number)"
msgstr ""
msgid "string displayed after prefix"
msgstr ""
+13
View File
@@ -92,8 +92,10 @@ struct t_config_option *config_look_paste_max_lines;
struct t_config_option *config_look_prefix[GUI_CHAT_NUM_PREFIXES];
struct t_config_option *config_look_prefix_align;
struct t_config_option *config_look_prefix_align_max;
struct t_config_option *config_look_prefix_align_more;
struct t_config_option *config_look_prefix_buffer_align;
struct t_config_option *config_look_prefix_buffer_align_max;
struct t_config_option *config_look_prefix_buffer_align_more;
struct t_config_option *config_look_prefix_suffix;
struct t_config_option *config_look_read_marker;
struct t_config_option *config_look_save_config_on_exit;
@@ -1371,6 +1373,11 @@ config_weechat_init_options ()
"prefix_align_max", "integer",
N_("max size for prefix (0 = no max size)"),
NULL, 0, 128, "0", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
config_look_prefix_align_more = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_align_more", "boolean",
N_("display '+' if prefix is truncated"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
config_look_prefix_buffer_align = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_buffer_align", "integer",
@@ -1383,6 +1390,12 @@ config_weechat_init_options ()
N_("max size for buffer name, when many buffers are merged with same "
"number (0 = no max size)"),
NULL, 0, 128, "0", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
config_look_prefix_buffer_align_more = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_buffer_align_more", "boolean",
N_("display '+' if buffer name is truncated (when many buffers are "
"merged with same number)"),
NULL, 0, 0, "on", NULL, 0, NULL, NULL, &config_change_buffers, NULL, NULL, NULL);
config_look_prefix_suffix = config_file_new_option (
weechat_config_file, ptr_section,
"prefix_suffix", "string",
+2
View File
@@ -107,8 +107,10 @@ extern struct t_config_option *config_look_paste_max_lines;
extern struct t_config_option *config_look_prefix[];
extern struct t_config_option *config_look_prefix_align;
extern struct t_config_option *config_look_prefix_align_max;
extern struct t_config_option *config_look_prefix_align_more;
extern struct t_config_option *config_look_prefix_buffer_align;
extern struct t_config_option *config_look_prefix_buffer_align_max;
extern struct t_config_option *config_look_prefix_buffer_align_more;
extern struct t_config_option *config_look_prefix_suffix;
extern struct t_config_option *config_look_read_marker;
extern struct t_config_option *config_look_save_config_on_exit;
+6 -2
View File
@@ -630,7 +630,9 @@ gui_chat_display_time_and_prefix (struct t_gui_window *window,
gui_window_set_weechat_color (GUI_WINDOW_OBJECTS(window)->win_chat,
GUI_COLOR_CHAT_PREFIX_MORE);
}
gui_chat_display_word (window, line, str_plus,
gui_chat_display_word (window, line,
(CONFIG_BOOLEAN(config_look_prefix_buffer_align_more)) ?
str_plus : str_space,
NULL, 1, num_lines, count, lines_displayed,
simulate);
}
@@ -744,7 +746,9 @@ gui_chat_display_time_and_prefix (struct t_gui_window *window,
gui_window_set_weechat_color (GUI_WINDOW_OBJECTS(window)->win_chat,
GUI_COLOR_CHAT_PREFIX_MORE);
}
gui_chat_display_word (window, line, str_plus,
gui_chat_display_word (window, line,
(CONFIG_BOOLEAN(config_look_prefix_align_more)) ?
str_plus : str_space,
NULL, 1, num_lines, count, lines_displayed,
simulate);
}