summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--doc/de/includes/autogen_user_commands.de.adoc70
-rw-r--r--doc/en/includes/autogen_user_commands.en.adoc2
-rw-r--r--doc/fr/includes/autogen_user_commands.fr.adoc2
-rw-r--r--doc/it/includes/autogen_user_commands.it.adoc2
-rw-r--r--doc/ja/includes/autogen_user_commands.ja.adoc68
-rw-r--r--doc/pl/includes/autogen_user_commands.pl.adoc80
-rw-r--r--doc/sr/includes/autogen_user_commands.sr.adoc80
-rw-r--r--po/cs.po23
-rw-r--r--po/de.po80
-rw-r--r--po/es.po80
-rw-r--r--po/fr.po30
-rw-r--r--po/hu.po24
-rw-r--r--po/it.po23
-rw-r--r--po/ja.po79
-rw-r--r--po/pl.po80
-rw-r--r--po/pt.po79
-rw-r--r--po/pt_BR.po23
-rw-r--r--po/ru.po24
-rw-r--r--po/sr.po80
-rw-r--r--po/tr.po80
-rw-r--r--po/weechat.pot20
-rw-r--r--src/core/wee-command.c33
23 files changed, 829 insertions, 234 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index b08e837d2..e63b09f8d 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -26,6 +26,7 @@ New features::
* core: add option `key` in command `/debug` (issue #1238)
* core: force ctrl keys to lower case when they are added (issue #1875)
* core: add command `/reset` to reset options to their default values
+ * core: add option `rename` in command `/bar`
* core: add access to hashtable properties in evaluation of expressions (issue #1888)
* core: display similar command names when a command is unknown (issue #1877)
* core, plugins: make many identifiers case sensitive (issue #1872, issue #398, bug #32213)
diff --git a/doc/de/includes/autogen_user_commands.de.adoc b/doc/de/includes/autogen_user_commands.de.adoc
index a8e8f10e2..2cd834dcd 100644
--- a/doc/de/includes/autogen_user_commands.de.adoc
+++ b/doc/de/includes/autogen_user_commands.de.adoc
@@ -1157,48 +1157,50 @@ message: Abwesenheitsnachricht (ohne Angabe einer Nachricht wird der Abwesenheit
/bar list|listfull|listitems
add <name> <type>[,<conditions>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
+ rename <name> <new_name>
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
scroll <name> <window> <scroll_value>
- list: zeigt alle Infobars an
- listfull: zeigt eine detaillierte Liste aller Infobars an (ausführlich)
- listitems: zeigt alle Items an, die in den Infobars genutzt werden
- add: füge eine neue Infobar hinzu
- name: Name der Infobar (muss einmalig sein)
- type: root: außerhalb eines Fensters,
- window: innerhalb eines Fensters, mit optionalen Bedingungen (siehe unten)
- conditions: Bedingungen für eine Infobar:
- active: in einem aktiven Fenster
- inactive: in einem inaktiven Fenster
- nicklist: in Fenstern mit einer Benutzerliste
- weitere mögliche Bedingungen: siehe /help weechat.bar.xxx.conditions und /help eval
- ohne Angabe von Bedingungen wird die Infobar immer angezeigt
- position: bottom (unten), top (oben), left (links) oder right (rechts)
- size: Größe der Infobar (in Zeichen)
- separator: 1 um eine Trennlinien zu zeichnen, bei 0 oder ohne eine Angabe, wird keine Trennlinien gezeichnet
- item1,...: Items die in der Infobar genutzt werden sollen (Items können durch Kommata oder Leerzeichen getrennt werden ("+" (verbindet Items))
- default: erstellt standardisierte Infobars
- del: entfernt eine Infobar (alle Infobars können mit dem Argument "-all" entfernt werden).
- set: setzt einen Wert für Infobar
- option: Option, die verändert werden soll (für eine Liste aller möglichen Optionen bitte folgenden Befehl nutzen: /set weechat.bar.<barname>.*)
- value: neuer Wert für Option
- hide: Infobar wird ausgeblendet
- show: zeigt eine ausgeblendete Infobar an
- toggle: zeigt/versteckt eine Infobar
- scroll: scrollt Infobar hoch/runter
- window: Nummer des Fensters (nutze '*' für aktuelles Fenster oder für die Root-Bars)
- scroll_value: Werte für Scroll-Funktion: 'x' oder 'y' (optional), gefolgt von '+', '-', 'b' (Beginn) oder 'e' (Ende), Wert (für +/-), und optional % (zum scrollen der Breite/Höhe in %, ansonsten wird dieser Wert als Anzahl der Zeichen interpretiert um die gescrollt werden soll)
+ list: list all bars
+ listfull: list all bars (verbose)
+ listitems: list all bar items
+ add: add a new bar
+ name: name of bar (must be unique)
+ type: root: outside windows,
+ window: inside windows, with optional conditions (see below)
+ conditions: the conditions to display the bar:
+ active: on active window
+ inactive: on inactive windows
+ nicklist: on windows with nicklist
+ other condition: see /help weechat.bar.xxx.conditions and /help eval
+ without conditions, the bar is always displayed
+ position: bottom, top, left or right
+ size: size of bar (in chars)
+ separator: 1 for using separator (line), 0 or nothing means no separator
+ item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
+ default: create a default bar (all default bars if no bar name is given)
+ rename: rename a bar
+ del: delete a bar (or all bars with -all)
+ set: set a value for a bar property
+ option: option to change (for options list, look at /set weechat.bar.<barname>.*)
+ value: new value for option
+ hide: hide a bar
+ show: show an hidden bar
+ toggle: hide/show a bar
+ scroll: scroll bar
+ window: window number (use '*' for current window or for root bars)
+ scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
-Beispiele:
- erstellt eine Infobar mit den Items: time, buffer number + name, und Vervollständigung:
+Examples:
+ create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
- versteckt die Infobar (meinebar):
- /bar hide meinebar
- scrollt die Benutzerliste im aktuellen Buffer um 10 Zeilen nach unten:
+ hide a bar:
+ /bar hide mybar
+ scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
- scrollt zum Ende der Nicklist im aktuellen Buffer:
+ scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
----
diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc
index 6abb42924..f1ca66e4f 100644
--- a/doc/en/includes/autogen_user_commands.en.adoc
+++ b/doc/en/includes/autogen_user_commands.en.adoc
@@ -1157,6 +1157,7 @@ message: message for away (if no message is given, away status is removed)
/bar list|listfull|listitems
add <name> <type>[,<conditions>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
+ rename <name> <new_name>
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
@@ -1180,6 +1181,7 @@ message: message for away (if no message is given, away status is removed)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create a default bar (all default bars if no bar name is given)
+ rename: rename a bar
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
diff --git a/doc/fr/includes/autogen_user_commands.fr.adoc b/doc/fr/includes/autogen_user_commands.fr.adoc
index 9680103a0..baf59643a 100644
--- a/doc/fr/includes/autogen_user_commands.fr.adoc
+++ b/doc/fr/includes/autogen_user_commands.fr.adoc
@@ -1157,6 +1157,7 @@ message : message pour l'absence (si pas de message donné, le statut d'absence
/bar list|listfull|listitems
add <nom> <type>[,<conditions>] <position> <taille> <séparateur> <objet1>[,<objet2>...]
default [input|title|status|nicklist]
+ rename <nom> <nouveau_nom>
del <nom>|-all
set <nom> <option> <valeur>
hide|show|toggle <nom>
@@ -1180,6 +1181,7 @@ message : message pour l'absence (si pas de message donné, le statut d'absence
séparateur : 1 pour utiliser un séparateur (ligne), 0 ou rien signifie sans séparateur
objet1,... : objets pour cette barre (les objets peuvent être séparés par une virgule (espace entre les objets) ou "+" (objets collés))
default : créer une barre par défaut (toutes les barres par défaut si aucun nom de barre n'est donné)
+ rename : renommer une barre
del : supprimer une barre (ou toutes les barres avec -all)
set : changer la valeur d'une propriété de la barre
option : option à modifier (pour la liste des options, voir /set weechat.bar.<nombarre>.*)
diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc
index a2a70be1a..2b8ccba16 100644
--- a/doc/it/includes/autogen_user_commands.it.adoc
+++ b/doc/it/includes/autogen_user_commands.it.adoc
@@ -1157,6 +1157,7 @@ messaggio: messaggio di assenza (se non specificato, lo stato di assenza viene r
/bar list|listfull|listitems
add <name> <type>[,<conditions>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
+ rename <name> <new_name>
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
@@ -1180,6 +1181,7 @@ messaggio: messaggio di assenza (se non specificato, lo stato di assenza viene r
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create a default bar (all default bars if no bar name is given)
+ rename: rename a bar
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
diff --git a/doc/ja/includes/autogen_user_commands.ja.adoc b/doc/ja/includes/autogen_user_commands.ja.adoc
index f4527ecf4..d195ca94b 100644
--- a/doc/ja/includes/autogen_user_commands.ja.adoc
+++ b/doc/ja/includes/autogen_user_commands.ja.adoc
@@ -1157,48 +1157,50 @@ message: 離席メッセージ (メッセージが無い場合は、離席状態
/bar list|listfull|listitems
add <name> <type>[,<conditions>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
+ rename <name> <new_name>
del <name>|-all
set <name> <option> <value>
hide|show|toggle <name>
scroll <name> <window> <scroll_value>
- list: 全てのバーをリストアップ
- listfull: 全てのバーをリストアップ (詳細)
- listitems: 全てのバー要素をリストアップ
- add: 新しいバーを追加
- name: バーの名称 (ユニークな)
- type: root: 外側のウィンドウ、
- window: 内側のウィンドウ、任意の状態を取れる (以下を参照してください)
- conditions: バーを表示する条件:
- active: アクティブウィンドウの場合に表示
- inactive: 非アクティブウィンドウの場合に表示
- nicklist: ニックネームリストを持つウィンドウの場合に表示
- その他の条件: /help weechat.bar.xxx.conditions と /help eval を参照してください
- 表示条件の指定が無ければ、バーは常に表示されます。
- position: bottom、top、left、right
- size: バーのサイズ (文字数で指定)
- separator: 1 はセパレータ (線) を使用、0 または指定無しはセパレータ無し
- item1,...: バーの要素 (要素はコンマ (要素間にスペース) または "+" (要素間にスペース無し) で区切ります)
- default: デフォルトバーを作成 (バーの名前が無ければ全てのデフォルトバーが作成されます)
- del: バーを削除 (-all を付ければ全てのバーを削除)
- set: バー属性に値を設定
- option: 変更するオプション (オプション一覧は /set weechat.bar.<barname>.* を参照してください)
- value: オプションの新しい値
- hide: バーを隠す
- show: 隠されたバーを表示
- toggle: バーの非表示/表示を切り替え
- scroll: バーをスクロール
- window: ウィンドウ番号 (現在のウィンドウかルートバーを指定するには '*' を使う)
- scroll_value: スクロールする量: 'x' または 'y' (任意)の後に、'+' か '-' か 'b' (最初) か 'e' (最後)の後に、値 (+/- を付けて)、任意で % (スクロールする幅/高さの割合、% が無ければ値は文字数と解釈されます)
+ list: list all bars
+ listfull: list all bars (verbose)
+ listitems: list all bar items
+ add: add a new bar
+ name: name of bar (must be unique)
+ type: root: outside windows,
+ window: inside windows, with optional conditions (see below)
+ conditions: the conditions to display the bar:
+ active: on active window
+ inactive: on inactive windows
+ nicklist: on windows with nicklist
+ other condition: see /help weechat.bar.xxx.conditions and /help eval
+ without conditions, the bar is always displayed
+ position: bottom, top, left or right
+ size: size of bar (in chars)
+ separator: 1 for using separator (line), 0 or nothing means no separator
+ item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
+ default: create a default bar (all default bars if no bar name is given)
+ rename: rename a bar
+ del: delete a bar (or all bars with -all)
+ set: set a value for a bar property
+ option: option to change (for options list, look at /set weechat.bar.<barname>.*)
+ value: new value for option
+ hide: hide a bar
+ show: show an hidden bar
+ toggle: hide/show a bar
+ scroll: scroll bar
+ window: window number (use '*' for current window or for root bars)
+ scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
-例:
- 時間、バー番号 + 名前、補完候補からなるバーを作成:
+Examples:
+ create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
- バーを隠す:
+ hide a bar:
/bar hide mybar
- 現在のバッファに対応したニックネームリストを 10 行分、下方向にスクロール:
+ scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
- 現在のバッファに対応したニックネームリストを最後までスクロール:
+ scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
----
diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc
index af9fc00cf..7a3517b36 100644
--- a/doc/pl/includes/autogen_user_commands.pl.adoc
+++ b/doc/pl/includes/autogen_user_commands.pl.adoc
@@ -1154,50 +1154,52 @@ wiadomość: powód nieobecności (jeśli nie podano wiadomości status nieobecn
----
/bar list|listfull|listitems
- add <nazwa> <typ>[,<warunek>] <pozycja> <rozmiar> <separator> <element1>[,<element2>...]
+ add <name> <type>[,<conditions>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
- del <nazwa>|-all
- set <nazwa> <opcja> <wartość>
- hide|show|toggle <nazwa>
- scroll <nazwa> <okno> <wartość_przewinięcia>
-
- list: lista wszystkich pasków
- listfull: lista wszystkich pasków (z polami)
- listitems: lista wszystkich elementów pasków
- add: dodaj nowy pasek
- nazwa: nazwa paska (musi być unikalna)
- typ: root: poza oknami,
- window: wewnątrz okien, z opcjonalnymi warunkami (patrz niżej)
- warunek: warunek(i) dla wyświetlenia paska (tylko dla typu "window"):
- active: w aktywnym oknie
- inactive: w nieaktywnym oknie
- nicklist: w oknach z listą nicków
- inne warunki: zobacz /help weechat.bar.xxx.conditions oraz /help eval
- bez warunku pasek jest zawsze wyświetlany
- pozycja: dół (bottom), góra (top), lewo (left) lub prawo (right)
- rozmiar: rozmiar paska (w znakach)
- separator: 1 dla użycia separatora (linia), 0 - brak separatora
- element1,...: elementy dla tego paska (elementy mogą być oddzielone przecinkiem (przerwa między elementami) lub "+" (sklejone elementy))
- default: tworzy domyślne paski (wszystkie domyślne paski, jeśli nie podamy nazwy)
- del: usuwa pasek (lub wszystkie z użyciem -all)
- set: ustawia wartość dla właściwości paska
- opcja: opcja do zmiany (listę opcji można zobaczyć dzięki /set weechat.bar.<nazwa paska>.*)
- wartość: nowa wartość opcji
- hide: ukrywa pasek
- show: pokazuje ukryty pasek
- toggle: ukrywa/pokazuje pasek
- scroll: przewija pasek
- okno: numer okna ('*' oznacza obecne okno lub pasek typu root)
- wartość_przewinięcia: wartość dla przewinięcia: 'x' lub 'y' (opcjonalne), następnie '+', '-', 'b' (początek) lub 'e' (koniec), wartość (dla +/-), oraz opcjonalnie % (w celu przesunięcia % szerokości/wysokości, w przeciwnym wypadku wartość jest ilością znaków)
+ rename <name> <new_name>
+ del <name>|-all
+ set <name> <option> <value>
+ hide|show|toggle <name>
+ scroll <name> <window> <scroll_value>
+
+ list: list all bars
+ listfull: list all bars (verbose)
+ listitems: list all bar items
+ add: add a new bar
+ name: name of bar (must be unique)
+ type: root: outside windows,
+ window: inside windows, with optional conditions (see below)
+ conditions: the conditions to display the bar:
+ active: on active window
+ inactive: on inactive windows
+ nicklist: on windows with nicklist
+ other condition: see /help weechat.bar.xxx.conditions and /help eval
+ without conditions, the bar is always displayed
+ position: bottom, top, left or right
+ size: size of bar (in chars)
+ separator: 1 for using separator (line), 0 or nothing means no separator
+ item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
+ default: create a default bar (all default bars if no bar name is given)
+ rename: rename a bar
+ del: delete a bar (or all bars with -all)
+ set: set a value for a bar property
+ option: option to change (for options list, look at /set weechat.bar.<barname>.*)
+ value: new value for option
+ hide: hide a bar
+ show: show an hidden bar
+ toggle: hide/show a bar
+ scroll: scroll bar
+ window: window number (use '*' for current window or for root bars)
+ scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
-Przykłady:
- tworzy pasek z czasem, numerem + nazwą bufora i dopełnianiem:
+Examples:
+ create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
- ukrywa pasek:
+ hide a bar:
/bar hide mybar
- przewija listę nicków a obecnym buforze o 10 linii w dół :
+ scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
- przewija do końca listę nicków w obecnym buforze:
+ scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
----
diff --git a/doc/sr/includes/autogen_user_commands.sr.adoc b/doc/sr/includes/autogen_user_commands.sr.adoc
index abe2a3b0f..e26c66450 100644
--- a/doc/sr/includes/autogen_user_commands.sr.adoc
+++ b/doc/sr/includes/autogen_user_commands.sr.adoc
@@ -1155,50 +1155,52 @@ addcompletion: додавање алијаса са кориснички деф
----
/bar list|listfull|listitems
- add <име> <тип>[,<услови>] <позиција> <величина> <граничник> <ставка1>[,<ставка2>...]
+ add <name> <type>[,<conditions>] <position> <size> <separator> <item1>[,<item2>...]
default [input|title|status|nicklist]
- del <име>|-all
- set <име> <опција> <вредност>
- hide|show|toggle <име>
- scroll <име> <прозор> <скрол_вредн>
-
- list: приказује све траке
- listfull: приказује све траке (детаљно)
- listitems: приказује све ставке траке
- add: додаје нову траку
- име: име траке (мора бити јединствено)
- тип: root: ван прозора,
- window: унутар прозора, са необавезним условима (погледајте испод)
- услови: услови под којима се исписује трака:
- active: на активном прозору
- inactive: на неактивним прозорима
- nicklist: на прозорима са листом надимака
- други услов: погледајте /help weechat.bar.xxx.conditions и /help eval
- без услова, трака се приказује увек
- позиција: bottom, top, left или right
- величина: величина траке (у карактерима)
- граничник: 1 ако желите да се користи граничник (линија), 0 или ништа значи без граничника
- ставка1,...: ставке за ову траку (ставке могу да се раздвоје зарезом (за размак између ставки) или „+” (слепљене ставке))
- default: креира се подразумевана трака (све подразумеване траке у случају да није задато име)
- del: брише траку (или све траке са -all)
- set: поставља вредност особине траке
- опција: опција која се мења (за листу опција, погледајте /set weechat.bar.<иметраке>.*)
- вредност: нова вредност опције
- hide: скрива траку
- show: приказује скривену траку
- toggle: скрива/приказује траку
- scroll: трака се скролује
- прозор: број прозора (употребите ’*’ за текући прозор или за root траке)
- скрол_вредн: вредност за скроловање: ’x’ или ’y’ (необавезно), иза којег следи ’+’, ’-’, ’b’ (beginning - почетак) или ’e’ (end - крај), вредност (за +/-), и необавезно % (за скроловање по проценту ширине/висине, иначе је вредност број карактера)
+ rename <name> <new_name>
+ del <name>|-all
+ set <name> <option> <value>
+ hide|show|toggle <name>
+ scroll <name> <window> <scroll_value>
+
+ list: list all bars
+ listfull: list all bars (verbose)
+ listitems: list all bar items
+ add: add a new bar
+ name: name of bar (must be unique)
+ type: root: outside windows,
+ window: inside windows, with optional conditions (see below)
+ conditions: the conditions to display the bar:
+ active: on active window
+ inactive: on inactive windows
+ nicklist: on windows with nicklist
+ other condition: see /help weechat.bar.xxx.conditions and /help eval
+ without conditions, the bar is always displayed
+ position: bottom, top, left or right
+ size: size of bar (in chars)
+ separator: 1 for using separator (line), 0 or nothing means no separator
+ item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
+ default: create a default bar (all default bars if no bar name is given)
+ rename: rename a bar
+ del: delete a bar (or all bars with -all)
+ set: set a value for a bar property
+ option: option to change (for options list, look at /set weechat.bar.<barname>.*)
+ value: new value for option
+ hide: hide a bar
+ show: show an hidden bar
+ toggle: hide/show a bar
+ scroll: scroll bar
+ window: window number (use '*' for current window or for root bars)
+ scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to scroll by % of width/height, otherwise value is number of chars)
-Примери:
- креира траку са временом, бројем бафера + именом, и довршавањем:
+Examples:
+ create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
- сакрива траку:
+ hide a bar:
/bar hide mybar
- скролује листу надимака 10 линија наниже у текућем баферу:
+ scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
- скролује на крај листе надимака у текућем баферу:
+ scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
----
diff --git a/po/cs.po b/po/cs.po
index c4a6e0df8..347cbfc5c 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -393,13 +393,22 @@ msgstr "%sChyba: selhalo vytvoření pole \"%s\""
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sChyba: špatná velikost \"%s\" pro pole \"%s\""
-msgid "All bars have been deleted"
-msgstr "Všechny pole byly smazány"
-
#, fuzzy, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sAlias \"%s\" nenalezen"
+#, fuzzy, c-format
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sChyba: rozložení \"%s\" pro příkaz \"%s\" už existuje"
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "Filtr \"%s\" přejmenován na \"%s\""
+
+msgid "All bars have been deleted"
+msgstr "Všechny pole byly smazány"
+
# bar = pole - radek ci sloupec
#, c-format
msgid "Bar \"%s\" deleted"
@@ -1148,8 +1157,9 @@ msgstr "řídit pole"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <jméno> <typ>[,<podmínka1>[,<podmínka2>...]] "
"<pozice> <velikost> <oddělovac> <položka1>[,<položka2>...] || default [input|"
@@ -1181,6 +1191,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/de.po b/po/de.po
index ae0f0ff5b..91dd98533 100644
--- a/po/de.po
+++ b/po/de.po
@@ -26,7 +26,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2023-02-01 11:05+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German - Germany <weechatter@arcor.de>\n"
@@ -425,13 +425,23 @@ msgstr "%sBar \"%s\" konnte nicht erstellt werden"
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sFehlerhafte Größe \"%s\" für die Bar \"%s\""
-msgid "All bars have been deleted"
-msgstr "Alle Infobars wurden entfernt"
-
#, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sBar \"%s\" nicht gefunden"
+#, fuzzy, c-format
+#| msgid "%sLayout \"%s\" already exists for \"%s\" command"
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sLayout \"%s\" existiert bereits für den Befehl \"%s\""
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "Filter \"%s\" wurde umbenannt. Der neue Name lautet \"%s\""
+
+msgid "All bars have been deleted"
+msgstr "Alle Infobars wurden entfernt"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "Bar \"%s\" gelöscht"
@@ -1182,17 +1192,74 @@ msgstr ""
msgid "manage bars"
msgstr "Infobars verwalten"
+#, fuzzy
+#| msgid ""
+#| "list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
+#| "<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
+#| "nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
+#| "toggle <name> || scroll <name> <window> <scroll_value>"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
"toggle <name> || scroll <name> <window> <scroll_value>"
+#, fuzzy
+#| msgid ""
+#| " list: list all bars\n"
+#| " listfull: list all bars (verbose)\n"
+#| " listitems: list all bar items\n"
+#| " add: add a new bar\n"
+#| " name: name of bar (must be unique)\n"
+#| " type: root: outside windows,\n"
+#| " window: inside windows, with optional conditions (see "
+#| "below)\n"
+#| " conditions: the conditions to display the bar:\n"
+#| " active: on active window\n"
+#| " inactive: on inactive windows\n"
+#| " nicklist: on windows with nicklist\n"
+#| " other condition: see /help weechat.bar.xxx.conditions and /"
+#| "help eval\n"
+#| " without conditions, the bar is always displayed\n"
+#| " position: bottom, top, left or right\n"
+#| " size: size of bar (in chars)\n"
+#| " separator: 1 for using separator (line), 0 or nothing means no "
+#| "separator\n"
+#| " item1,...: items for this bar (items can be separated by comma (space "
+#| "between items) or \"+\" (glued items))\n"
+#| " default: create a default bar (all default bars if no bar name is "
+#| "given)\n"
+#| " del: delete a bar (or all bars with -all)\n"
+#| " set: set a value for a bar property\n"
+#| " option: option to change (for options list, look at /set weechat."
+#| "bar.<barname>.*)\n"
+#| " value: new value for option\n"
+#| " hide: hide a bar\n"
+#| " show: show an hidden bar\n"
+#| " toggle: hide/show a bar\n"
+#| " scroll: scroll bar\n"
+#| " window: window number (use '*' for current window or for root "
+#| "bars)\n"
+#| " scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', "
+#| "'-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to "
+#| "scroll by % of width/height, otherwise value is number of chars)\n"
+#| "\n"
+#| "Examples:\n"
+#| " create a bar with time, buffer number + name, and completion:\n"
+#| " /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,"
+#| "completion\n"
+#| " hide a bar:\n"
+#| " /bar hide mybar\n"
+#| " scroll nicklist 10 lines down on current buffer:\n"
+#| " /bar scroll nicklist * y+10\n"
+#| " scroll to end of nicklist on current buffer:\n"
+#| " /bar scroll nicklist * ye"
msgid ""
" list: list all bars\n"
" listfull: list all bars (verbose)\n"
@@ -1216,6 +1283,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/es.po b/po/es.po
index 9d998f7f2..9833b486b 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: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -444,13 +444,23 @@ msgstr "%sError: no se pudo crear la barra \"%s\""
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sError: tamaño incorrecto \"%s\" para la barra \"%s\""
-msgid "All bars have been deleted"
-msgstr "Todas la barras fueron eliminadas"
-
#, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sBarra \"%s\" no encontrada"
+#, fuzzy, c-format
+#| msgid "%sLayout \"%s\" already exists for \"%s\" command"
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%s: ya existe el tema \"%s\" para el comando \"%s\""
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "Filtro \"%s\" renombrado a \"%s\""
+
+msgid "All bars have been deleted"
+msgstr "Todas la barras fueron eliminadas"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "Barra \"%s\" eliminada"
@@ -1200,11 +1210,18 @@ msgstr ""
msgid "manage bars"
msgstr "gestionar las barras"
+#, fuzzy
+#| msgid ""
+#| "list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
+#| "<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
+#| "nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
+#| "toggle <name> || scroll <name> <window> <scroll_value>"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <nombre> <tipo>[,<cond1>[,<cond2>...]] "
"<posición> <tamaño> <separador> <elemento1>[,<elemento2>...] || default "
@@ -1212,6 +1229,56 @@ msgstr ""
"<valor> || hide|show|toggle <nombre> || scroll <nombre> <ventana> "
"<desplazamiento>"
+#, fuzzy
+#| msgid ""
+#| " list: list all bars\n"
+#| " listfull: list all bars (verbose)\n"
+#| " listitems: list all bar items\n"
+#| " add: add a new bar\n"
+#| " name: name of bar (must be unique)\n"
+#| " type: root: outside windows,\n"
+#| " window: inside windows, with optional conditions (see "
+#| "below)\n"
+#| " conditions: the conditions to display the bar:\n"
+#| " active: on active window\n"
+#| " inactive: on inactive windows\n"
+#| " nicklist: on windows with nicklist\n"
+#| " other condition: see /help weechat.bar.xxx.conditions and /"
+#| "help eval\n"
+#| " without conditions, the bar is always displayed\n"
+#| " position: bottom, top, left or right\n"
+#| " size: size of bar (in chars)\n"
+#| " separator: 1 for using separator (line), 0 or nothing means no "
+#| "separator\n"
+#| " item1,...: items for this bar (items can be separated by comma (space "
+#| "between items) or \"+\" (glued items))\n"
+#| " default: create a default bar (all default bars if no bar name is "
+#| "given)\n"
+#| " del: delete a bar (or all bars with -all)\n"
+#| " set: set a value for a bar property\n"
+#| " option: option to change (for options list, look at /set weechat."
+#| "bar.<barname>.*)\n"
+#| " value: new value for option\n"
+#| " hide: hide a bar\n"
+#| " show: show an hidden bar\n"
+#| " toggle: hide/show a bar\n"
+#| " scroll: scroll bar\n"
+#| " window: window number (use '*' for current window or for root "
+#| "bars)\n"
+#| " scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', "
+#| "'-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to "
+#| "scroll by % of width/height, otherwise value is number of chars)\n"
+#| "\n"
+#| "Examples:\n"
+#| " create a bar with time, buffer number + name, and completion:\n"
+#| " /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,"
+#| "completion\n"
+#| " hide a bar:\n"
+#| " /bar hide mybar\n"
+#| " scroll nicklist 10 lines down on current buffer:\n"
+#| " /bar scroll nicklist * y+10\n"
+#| " scroll to end of nicklist on current buffer:\n"
+#| " /bar scroll nicklist * ye"
msgid ""
" list: list all bars\n"
" listfull: list all bars (verbose)\n"
@@ -1235,6 +1302,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/fr.po b/po/fr.po
index b7a7e3210..c58b5f888 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: 2023-03-19 17:41+0100\n"
-"PO-Revision-Date: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
+"PO-Revision-Date: 2023-03-19 17:45+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -409,14 +409,22 @@ msgstr "%sImpossible de créer la barre \"%s\""
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sTaille invalide \"%s\" pour la barre \"%s\""
-msgid "All bars have been deleted"
-msgstr "Toutes les barres ont été supprimées"
-
#, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sBarre \"%s\" non trouvée"
#, c-format
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sLa barre \"%s\" existe déjà pour la commande \"%s\""
+
+#, c-format
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "Barre \"%s\" renommée en \"%s\""
+
+msgid "All bars have been deleted"
+msgstr "Toutes les barres ont été supprimées"
+
+#, c-format
msgid "Bar \"%s\" deleted"
msgstr "Barre \"%s\" supprimée"
@@ -1161,13 +1169,15 @@ msgstr "gestion des barres"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <nom> <type>[,<conditions>] <position> "
"<taille> <séparateur> <objet1>[,<objet2>...] || default [input|title|status|"
-"nicklist] || del <nom>|-all || set <nom> <option> <valeur> || hide|show|"
-"toggle <nom> || scroll <nom> <fenêtre> <valeur_scroll>"
+"nicklist] || rename <nom> <nouveau_nom> || del <nom>|-all || set <nom> "
+"<option> <valeur> || hide|show|toggle <nom> || scroll <nom> <fenêtre> "
+"<valeur_scroll>"
msgid ""
" list: list all bars\n"
@@ -1192,6 +1202,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
@@ -1240,6 +1251,7 @@ msgstr ""
"une virgule (espace entre les objets) ou \"+\" (objets collés))\n"
" default : créer une barre par défaut (toutes les barres par défaut si "
"aucun nom de barre n'est donné)\n"
+" rename : renommer une barre\n"
" del : supprimer une barre (ou toutes les barres avec -all)\n"
" set : changer la valeur d'une propriété de la barre\n"
" option : option à modifier (pour la liste des options, voir /set "
diff --git a/po/hu.po b/po/hu.po
index 25d28bcd9..c72c41a98 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: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -371,15 +371,23 @@ msgstr "%s nem sikerült a modul opciókat elmenteni\n"
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%s rossz argumentum szám a \"%s\" parancsnak\n"
-#, fuzzy
-msgid "All bars have been deleted"
-msgstr "a felhasználók le lettek tiltva"
-
#, fuzzy, c-format
msgid "%sBar \"%s\" not found"
msgstr "%s cím \"%s\" nem található\n"
#, fuzzy, c-format
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%s a \"%s\" szerver már létezik a(z) \"%s\" parancshoz\n"
+
+#, fuzzy, c-format
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "a felhasználók le lettek tiltva"
+
+#, fuzzy
+msgid "All bars have been deleted"
+msgstr "a felhasználók le lettek tiltva"
+
+#, fuzzy, c-format
msgid "Bar \"%s\" deleted"
msgstr "a felhasználók le lettek tiltva"
@@ -1138,8 +1146,9 @@ msgstr "pufferek kezelése"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
msgid ""
@@ -1165,6 +1174,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/it.po b/po/it.po
index 769765299..9c2c5eba5 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: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -369,13 +369,22 @@ msgstr "%sErrore: creazione della barra \"%s\" fallita"
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sErrore: dimensione \"%s\" errata per la barra \"%s\""
-msgid "All bars have been deleted"
-msgstr "Tutte le barre sono state eliminate"
-
#, fuzzy, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sAlias \"%s\" non trovato"
+#, fuzzy, c-format
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sErrore: il layout \"%s\" esiste già per il comando \"%s\""
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "Filtro \"%s\" rinominato in \"%s\""
+
+msgid "All bars have been deleted"
+msgstr "Tutte le barre sono state eliminate"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "Barra \"%s\" eliminata"
@@ -1121,8 +1130,9 @@ msgstr "gestione delle barre"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <nome> <type>[,<condizione>] <posizione> "
"<dimensione> <separatore> <item1>[,<item2>...] || default [input|title|"
@@ -1153,6 +1163,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/ja.po b/po/ja.po
index 05d5d32b8..14a11ff61 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: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -410,13 +410,22 @@ msgstr "%sエラー: バー \"%s\" の作成に失敗しました"
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%1$sエラー: バー \"%3$s\" にサイズ \"%2$s\" を設定できません"
-msgid "All bars have been deleted"
-msgstr "全てのバーを削除しました"
-
#, fuzzy, c-format
msgid "%sBar \"%s\" not found"
msgstr "%s別名 \"%s\" が見つかりません"
+#, fuzzy, c-format
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sエラー: コマンド \"%s\" 用のレイアウト \"%s\" はすでに存在しています"
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "フィルタ \"%s\" の名前を \"%s\" に変更しました"
+
+msgid "All bars have been deleted"
+msgstr "全てのバーを削除しました"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "バー \"%s\" を削除しました"
@@ -1151,17 +1160,74 @@ msgstr ""
msgid "manage bars"
msgstr "バーの管理"
+#, fuzzy
+#| msgid ""
+#| "list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
+#| "<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
+#| "nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
+#| "toggle <name> || scroll <name> <window> <scroll_value>"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
"toggle <name> || scroll <name> <window> <scroll_value>"
+#, fuzzy
+#| msgid ""
+#| " list: list all bars\n"
+#| " listfull: list all bars (verbose)\n"
+#| " listitems: list all bar items\n"
+#| " add: add a new bar\n"
+#| " name: name of bar (must be unique)\n"
+#| " type: root: outside windows,\n"
+#| " window: inside windows, with optional conditions (see "
+#| "below)\n"
+#| " conditions: the conditions to display the bar:\n"
+#| " active: on active window\n"
+#| " inactive: on inactive windows\n"
+#| " nicklist: on windows with nicklist\n"
+#| " other condition: see /help weechat.bar.xxx.conditions and /"
+#| "help eval\n"
+#| " without conditions, the bar is always displayed\n"
+#| " position: bottom, top, left or right\n"
+#| " size: size of bar (in chars)\n"
+#| " separator: 1 for using separator (line), 0 or nothing means no "
+#| "separator\n"
+#| " item1,...: items for this bar (items can be separated by comma (space "
+#| "between items) or \"+\" (glued items))\n"
+#| " default: create a default bar (all default bars if no bar name is "
+#| "given)\n"
+#| " del: delete a bar (or all bars with -all)\n"
+#| " set: set a value for a bar property\n"
+#| " option: option to change (for options list, look at /set weechat."
+#| "bar.<barname>.*)\n"
+#| " value: new value for option\n"
+#| " hide: hide a bar\n"
+#| " show: show an hidden bar\n"
+#| " toggle: hide/show a bar\n"
+#| " scroll: scroll bar\n"
+#| " window: window number (use '*' for current window or for root "
+#| "bars)\n"
+#| " scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', "
+#| "'-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to "
+#| "scroll by % of width/height, otherwise value is number of chars)\n"
+#| "\n"
+#| "Examples:\n"
+#| " create a bar with time, buffer number + name, and completion:\n"
+#| " /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,"
+#| "completion\n"
+#| " hide a bar:\n"
+#| " /bar hide mybar\n"
+#| " scroll nicklist 10 lines down on current buffer:\n"
+#| " /bar scroll nicklist * y+10\n"
+#| " scroll to end of nicklist on current buffer:\n"
+#| " /bar scroll nicklist * ye"
msgid ""
" list: list all bars\n"
" listfull: list all bars (verbose)\n"
@@ -1185,6 +1251,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/pl.po b/po/pl.po
index 0e184db80..462b8613c 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-12-30 14:10+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -411,13 +411,23 @@ msgstr "%sNie udało się stworzyć paska \"%s\""
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sZły rozmiar \"%s\" dla paska \"%s\""
-msgid "All bars have been deleted"
-msgstr "Wszystkie paski zostały usunięte"
-
#, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sPasek \"%s\" nie został znaleziony"
+#, fuzzy, c-format
+#| msgid "%sLayout \"%s\" already exists for \"%s\" command"
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sUkład \"%s\" już istnieje dla komendy \"%s\""
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "Zmieniono nazwę filtru z \"%s\" na \"%s\""
+
+msgid "All bars have been deleted"
+msgstr "Wszystkie paski zostały usunięte"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "Pasek \"%s\" usunięty"
@@ -1164,17 +1174,74 @@ msgstr ""
msgid "manage bars"
msgstr "zarządzaj paskami"
+#, fuzzy
+#| msgid ""
+#| "list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
+#| "<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
+#| "nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
+#| "toggle <name> || scroll <name> <window> <scroll_value>"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <nazwa> <typ>[,<warunek>] <pozycja> <rozmiar> "
"<separator> <element1>[,<element2>...] || default [input|title|status|"
"nicklist] || del <nazwa>|-all || set <nazwa> <opcja> <wartość> || hide|show|"
"toggle <nazwa> || scroll <nazwa> <okno> <wartość_przewinięcia>"
+#, fuzzy
+#| msgid ""
+#| " list: list all bars\n"
+#| " listfull: list all bars (verbose)\n"
+#| " listitems: list all bar items\n"
+#| " add: add a new bar\n"
+#| " name: name of bar (must be unique)\n"
+#| " type: root: outside windows,\n"
+#| " window: inside windows, with optional conditions (see "
+#| "below)\n"
+#| " conditions: the conditions to display the bar:\n"
+#| " active: on active window\n"
+#| " inactive: on inactive windows\n"
+#| " nicklist: on windows with nicklist\n"
+#| " other condition: see /help weechat.bar.xxx.conditions and /"
+#| "help eval\n"
+#| " without conditions, the bar is always displayed\n"
+#| " position: bottom, top, left or right\n"
+#| " size: size of bar (in chars)\n"
+#| " separator: 1 for using separator (line), 0 or nothing means no "
+#| "separator\n"
+#| " item1,...: items for this bar (items can be separated by comma (space "
+#| "between items) or \"+\" (glued items))\n"
+#| " default: create a default bar (all default bars if no bar name is "
+#| "given)\n"
+#| " del: delete a bar (or all bars with -all)\n"
+#| " set: set a value for a bar property\n"
+#| " option: option to change (for options list, look at /set weechat."
+#| "bar.<barname>.*)\n"
+#| " value: new value for option\n"
+#| " hide: hide a bar\n"
+#| " show: show an hidden bar\n"
+#| " toggle: hide/show a bar\n"
+#| " scroll: scroll bar\n"
+#| " window: window number (use '*' for current window or for root "
+#| "bars)\n"
+#| " scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', "
+#| "'-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to "
+#| "scroll by % of width/height, otherwise value is number of chars)\n"
+#| "\n"
+#| "Examples:\n"
+#| " create a bar with time, buffer number + name, and completion:\n"
+#| " /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,"
+#| "completion\n"
+#| " hide a bar:\n"
+#| " /bar hide mybar\n"
+#| " scroll nicklist 10 lines down on current buffer:\n"
+#| " /bar scroll nicklist * y+10\n"
+#| " scroll to end of nicklist on current buffer:\n"
+#| " /bar scroll nicklist * ye"
msgid ""
" list: list all bars\n"
" listfull: list all bars (verbose)\n"
@@ -1198,6 +1265,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/pt.po b/po/pt.po
index 9f2c4c2d3..0fdeb78f3 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -395,13 +395,22 @@ msgstr "%sErro: falha ao criar a barra \"%s\""
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sErro: tamanho incorreto \"%s\" da barra \"%s\""
-msgid "All bars have been deleted"
-msgstr "Todas as barras foram eliminadas"
-
#, fuzzy, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sAlias \"%s\" não encontrado"
+#, fuzzy, c-format
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sError: a disposição \"%s\" do comando \"%s\" já existe"
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "O nome do filtro \"%s\" mudou para \"%s\""
+
+msgid "All bars have been deleted"
+msgstr "Todas as barras foram eliminadas"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "Barra \"%s\" eliminada"
@@ -1147,17 +1156,74 @@ msgstr ""
msgid "manage bars"
msgstr "gerir barras"
+#, fuzzy
+#| msgid ""
+#| "list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
+#| "<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
+#| "nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
+#| "toggle <name> || scroll <name> <window> <scroll_value>"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <nome> <tipo>[,<condições>] <posição> "
"<tamanho> <separador> <item1>[,<item2>...] || default [input|title|status|"
"nicklist] || del <nome>|-all || set <nome> <opção> <valor> || hide|show|"
"toggle <nome> || scroll <nome> <janela> <valor_deslocar>"
+#, fuzzy
+#| msgid ""
+#| " list: list all bars\n"
+#| " listfull: list all bars (verbose)\n"
+#| " listitems: list all bar items\n"
+#| " add: add a new bar\n"
+#| " name: name of bar (must be unique)\n"
+#| " type: root: outside windows,\n"
+#| " window: inside windows, with optional conditions (see "
+#| "below)\n"
+#| " conditions: the conditions to display the bar:\n"
+#| " active: on active window\n"
+#| " inactive: on inactive windows\n"
+#| " nicklist: on windows with nicklist\n"
+#| " other condition: see /help weechat.bar.xxx.conditions and /"
+#| "help eval\n"
+#| " without conditions, the bar is always displayed\n"
+#| " position: bottom, top, left or right\n"
+#| " size: size of bar (in chars)\n"
+#| " separator: 1 for using separator (line), 0 or nothing means no "
+#| "separator\n"
+#| " item1,...: items for this bar (items can be separated by comma (space "
+#| "between items) or \"+\" (glued items))\n"
+#| " default: create a default bar (all default bars if no bar name is "
+#| "given)\n"
+#| " del: delete a bar (or all bars with -all)\n"
+#| " set: set a value for a bar property\n"
+#| " option: option to change (for options list, look at /set weechat."
+#| "bar.<barname>.*)\n"
+#| " value: new value for option\n"
+#| " hide: hide a bar\n"
+#| " show: show an hidden bar\n"
+#| " toggle: hide/show a bar\n"
+#| " scroll: scroll bar\n"
+#| " window: window number (use '*' for current window or for root "
+#| "bars)\n"
+#| " scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', "
+#| "'-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to "
+#| "scroll by % of width/height, otherwise value is number of chars)\n"
+#| "\n"
+#| "Examples:\n"
+#| " create a bar with time, buffer number + name, and completion:\n"
+#| " /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,"
+#| "completion\n"
+#| " hide a bar:\n"
+#| " /bar hide mybar\n"
+#| " scroll nicklist 10 lines down on current buffer:\n"
+#| " /bar scroll nicklist * y+10\n"
+#| " scroll to end of nicklist on current buffer:\n"
+#| " /bar scroll nicklist * ye"
msgid ""
" list: list all bars\n"
" listfull: list all bars (verbose)\n"
@@ -1181,6 +1247,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 708859fd5..281e903da 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: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -401,13 +401,22 @@ msgstr "%sErro: falha ao criar a barra \"%s\""
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sErro: tamanho \"%s\" errado para barra \"%s\""
-msgid "All bars have been deleted"
-msgstr "Todas as barras foram excluídas"
-
#, fuzzy, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sAtalho \"%s\" não encontrado"
+#, fuzzy, c-format
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sErro: disposição \"%s\" já existe para comando \"%s\""
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "Filtro \"%s\" renomeado para \"%s\""
+
+msgid "All bars have been deleted"
+msgstr "Todas as barras foram excluídas"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "Barra \"%s\" excluída"
@@ -1157,8 +1166,9 @@ msgstr "gerenciar barras"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <nome> <tipo>[,<cond1>[,<cond2>...]] "
"<posição> <tamanho> <separador> <item1>[,<item2>...] || default [input|title|"
@@ -1191,6 +1201,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/ru.po b/po/ru.po
index 595a62f12..2488b3618 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: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -380,15 +380,23 @@ msgstr "%s не могу сохранить конфигурационный ф
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%s некорректное количество аргументов команды \"%s\"\n"
-#, fuzzy
-msgid "All bars have been deleted"
-msgstr "команда users отключена"
-
#, fuzzy, c-format
msgid "%sBar \"%s\" not found"
msgstr "%s адрес \"%s\" не найден\n"
#, fuzzy, c-format
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%s сервер \"%s\" уже существует для команды \"%s\"\n"
+
+#, fuzzy, c-format
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "команда users отключена"
+
+#, fuzzy
+msgid "All bars have been deleted"
+msgstr "команда users отключена"
+
+#, fuzzy, c-format
msgid "Bar \"%s\" deleted"
msgstr "команда users отключена"
@@ -1158,8 +1166,9 @@ msgstr "управление буферами"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
msgid ""
@@ -1185,6 +1194,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/sr.po b/po/sr.po
index b2656cf96..b6222cb59 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2023-02-01 14:25+0400\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -408,13 +408,23 @@ msgstr "%sНије успело креирање траке „%s”"
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sНеважећа величина „%s” за траку „%s”"
-msgid "All bars have been deleted"
-msgstr "Обрисане су све траке"
-
#, c-format
msgid "%sBar \"%s\" not found"
msgstr "%sТрака „%s” не може да се пронађе"
+#, fuzzy, c-format
+#| msgid "%sLayout \"%s\" already exists for \"%s\" command"
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%sРаспоред „%s” већ постоји за команду „%s”"
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "Филтеру „%s” је промењено име на „%s”"
+
+msgid "All bars have been deleted"
+msgstr "Обрисане су све траке"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "Обрисана је трака „%s”"
@@ -1153,17 +1163,74 @@ msgstr ""
msgid "manage bars"
msgstr "управљање тракама"
+#, fuzzy
+#| msgid ""
+#| "list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
+#| "<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
+#| "nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
+#| "toggle <name> || scroll <name> <window> <scroll_value>"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <име> <тип>[,<услови>] <позиција> <величина> "
"<граничник> <ставка1>[,<ставка2>...] || default [input|title|status|"
"nicklist] || del <име>|-all || set <име> <опција> <вредност> || hide|show|"
"toggle <име> || scroll <име> <прозор> <скрол_вредн>"
+#, fuzzy
+#| msgid ""
+#| " list: list all bars\n"
+#| " listfull: list all bars (verbose)\n"
+#| " listitems: list all bar items\n"
+#| " add: add a new bar\n"
+#| " name: name of bar (must be unique)\n"
+#| " type: root: outside windows,\n"
+#| " window: inside windows, with optional conditions (see "
+#| "below)\n"
+#| " conditions: the conditions to display the bar:\n"
+#| " active: on active window\n"
+#| " inactive: on inactive windows\n"
+#| " nicklist: on windows with nicklist\n"
+#| " other condition: see /help weechat.bar.xxx.conditions and /"
+#| "help eval\n"
+#| " without conditions, the bar is always displayed\n"
+#| " position: bottom, top, left or right\n"
+#| " size: size of bar (in chars)\n"
+#| " separator: 1 for using separator (line), 0 or nothing means no "
+#| "separator\n"
+#| " item1,...: items for this bar (items can be separated by comma (space "
+#| "between items) or \"+\" (glued items))\n"
+#| " default: create a default bar (all default bars if no bar name is "
+#| "given)\n"
+#| " del: delete a bar (or all bars with -all)\n"
+#| " set: set a value for a bar property\n"
+#| " option: option to change (for options list, look at /set weechat."
+#| "bar.<barname>.*)\n"
+#| " value: new value for option\n"
+#| " hide: hide a bar\n"
+#| " show: show an hidden bar\n"
+#| " toggle: hide/show a bar\n"
+#| " scroll: scroll bar\n"
+#| " window: window number (use '*' for current window or for root "
+#| "bars)\n"
+#| " scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', "
+#| "'-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to "
+#| "scroll by % of width/height, otherwise value is number of chars)\n"
+#| "\n"
+#| "Examples:\n"
+#| " create a bar with time, buffer number + name, and completion:\n"
+#| " /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,"
+#| "completion\n"
+#| " hide a bar:\n"
+#| " /bar hide mybar\n"
+#| " scroll nicklist 10 lines down on current buffer:\n"
+#| " /bar scroll nicklist * y+10\n"
+#| " scroll to end of nicklist on current buffer:\n"
+#| " /bar scroll nicklist * ye"
msgid ""
" list: list all bars\n"
" listfull: list all bars (verbose)\n"
@@ -1187,6 +1254,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/tr.po b/po/tr.po
index 3f91d7549..78f19cba7 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: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2022-10-15 22:51+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -408,13 +408,23 @@ msgstr "%s\"%s\" çubuğu oluşturulamadı"
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr "%sŞu çubuk için hatalı boyut \"%s\": \"%s\""
-msgid "All bars have been deleted"
-msgstr "Tüm çubuklar silindi"
-
#, c-format
msgid "%sBar \"%s\" not found"
msgstr "%s\"%s\" çubuğu bulunamadı"
+#, fuzzy, c-format
+#| msgid "%sLayout \"%s\" already exists for \"%s\" command"
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr "%s\"%s\" dizilimi \"%s\" komutu için halihazırda var"
+
+#, fuzzy, c-format
+#| msgid "Filter \"%s\" renamed to \"%s\""
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr "\"%s\" süzgeci \"%s\" olarak yeniden adlandırıldı"
+
+msgid "All bars have been deleted"
+msgstr "Tüm çubuklar silindi"
+
#, c-format
msgid "Bar \"%s\" deleted"
msgstr "\"%s\" çubuğu silindi"
@@ -1148,17 +1158,74 @@ msgstr ""
msgid "manage bars"
msgstr "çubukları yönet"
+#, fuzzy
+#| msgid ""
+#| "list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
+#| "<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
+#| "nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
+#| "toggle <name> || scroll <name> <window> <scroll_value>"
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
"list|listfull|listitems || add <ad> <tür>[,<koşul>] <konum> <boyut> "
"<ayırıcı> <öge1>[,<öge2>...] || default [input|title|status|nicklist] || del "
"<ad>|-all || set <ad> <seçenek> <değer> || hide|show|toggle <ad> || scroll "
"<ad> <pencere> <kyd_değeri>"
+#, fuzzy
+#| msgid ""
+#| " list: list all bars\n"
+#| " listfull: list all bars (verbose)\n"
+#| " listitems: list all bar items\n"
+#| " add: add a new bar\n"
+#| " name: name of bar (must be unique)\n"
+#| " type: root: outside windows,\n"
+#| " window: inside windows, with optional conditions (see "
+#| "below)\n"
+#| " conditions: the conditions to display the bar:\n"
+#| " active: on active window\n"
+#| " inactive: on inactive windows\n"
+#| " nicklist: on windows with nicklist\n"
+#| " other condition: see /help weechat.bar.xxx.conditions and /"
+#| "help eval\n"
+#| " without conditions, the bar is always displayed\n"
+#| " position: bottom, top, left or right\n"
+#| " size: size of bar (in chars)\n"
+#| " separator: 1 for using separator (line), 0 or nothing means no "
+#| "separator\n"
+#| " item1,...: items for this bar (items can be separated by comma (space "
+#| "between items) or \"+\" (glued items))\n"
+#| " default: create a default bar (all default bars if no bar name is "
+#| "given)\n"
+#| " del: delete a bar (or all bars with -all)\n"
+#| " set: set a value for a bar property\n"
+#| " option: option to change (for options list, look at /set weechat."
+#| "bar.<barname>.*)\n"
+#| " value: new value for option\n"
+#| " hide: hide a bar\n"
+#| " show: show an hidden bar\n"
+#| " toggle: hide/show a bar\n"
+#| " scroll: scroll bar\n"
+#| " window: window number (use '*' for current window or for root "
+#| "bars)\n"
+#| " scroll_value: value for scroll: 'x' or 'y' (optional), followed by '+', "
+#| "'-', 'b' (beginning) or 'e' (end), value (for +/-), and optional % (to "
+#| "scroll by % of width/height, otherwise value is number of chars)\n"
+#| "\n"
+#| "Examples:\n"
+#| " create a bar with time, buffer number + name, and completion:\n"
+#| " /bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,"
+#| "completion\n"
+#| " hide a bar:\n"
+#| " /bar hide mybar\n"
+#| " scroll nicklist 10 lines down on current buffer:\n"
+#| " /bar scroll nicklist * y+10\n"
+#| " scroll to end of nicklist on current buffer:\n"
+#| " /bar scroll nicklist * ye"
msgid ""
" list: list all bars\n"
" listfull: list all bars (verbose)\n"
@@ -1182,6 +1249,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/po/weechat.pot b/po/weechat.pot
index ee27b2be8..62e7f639f 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2023-03-19 17:41+0100\n"
+"POT-Creation-Date: 2023-03-19 17:43+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -334,11 +334,19 @@ msgstr ""
msgid "%sInvalid size \"%s\" for bar \"%s\""
msgstr ""
-msgid "All bars have been deleted"
+#, c-format
+msgid "%sBar \"%s\" not found"
msgstr ""
#, c-format
-msgid "%sBar \"%s\" not found"
+msgid "%sBar \"%s\" already exists for \"%s\" command"
+msgstr ""
+
+#, c-format
+msgid "Bar \"%s\" renamed to \"%s\""
+msgstr ""
+
+msgid "All bars have been deleted"
msgstr ""
#, c-format
@@ -1041,8 +1049,9 @@ msgstr ""
msgid ""
"list|listfull|listitems || add <name> <type>[,<conditions>] <position> "
"<size> <separator> <item1>[,<item2>...] || default [input|title|status|"
-"nicklist] || del <name>|-all || set <name> <option> <value> || hide|show|"
-"toggle <name> || scroll <name> <window> <scroll_value>"
+"nicklist] || rename <name> <new_name> || del <name>|-all || set <name> "
+"<option> <value> || hide|show|toggle <name> || scroll <name> <window> "
+"<scroll_value>"
msgstr ""
msgid ""
@@ -1068,6 +1077,7 @@ msgid ""
"between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar name is "
"given)\n"
+" rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set weechat.bar."
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index a79faefc0..5c5b95ac3 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -227,7 +227,7 @@ COMMAND_CALLBACK(bar)
int i, type, position, number;
long value;
char *error, *str_type, *pos_condition, *name;
- struct t_gui_bar *ptr_bar;
+ struct t_gui_bar *ptr_bar, *ptr_bar2;
struct t_gui_bar_item *ptr_item;
struct t_gui_window *ptr_window;
@@ -394,6 +394,34 @@ COMMAND_CALLBACK(bar)
return WEECHAT_RC_OK;
}
+ /* rename a bar */
+ if (string_strcmp (argv[1], "rename") == 0)
+ {
+ COMMAND_MIN_ARGS(4, "rename");
+ ptr_bar = gui_bar_search (argv[2]);
+ if (!ptr_bar)
+ {
+ gui_chat_printf (NULL,
+ _("%sBar \"%s\" not found"),
+ gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
+ argv[2]);
+ return WEECHAT_RC_OK;
+ }
+ ptr_bar2 = gui_bar_search (argv[3]);
+ if (ptr_bar2)
+ {
+ gui_chat_printf (NULL,
+ _("%sBar \"%s\" already exists for "
+ "\"%s\" command"),
+ gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
+ argv[3], "bar rename");
+ return WEECHAT_RC_OK;
+ }
+ gui_bar_set (ptr_bar, "name", argv[3]);
+ gui_chat_printf (NULL, _("Bar \"%s\" renamed to \"%s\""), argv[2], argv[3]);
+ return WEECHAT_RC_OK;
+ }
+
/* delete a bar */
if (string_strcmp (argv[1], "del") == 0)
{
@@ -7598,6 +7626,7 @@ command_init ()
" || add <name> <type>[,<conditions>] <position> <size> <separator> "
"<item1>[,<item2>...]"
" || default [input|title|status|nicklist]"
+ " || rename <name> <new_name>"
" || del <name>|-all"
" || set <name> <option> <value>"
" || hide|show|toggle <name>"
@@ -7625,6 +7654,7 @@ command_init ()
"(space between items) or \"+\" (glued items))\n"
" default: create a default bar (all default bars if no bar "
"name is given)\n"
+ " rename: rename a bar\n"
" del: delete a bar (or all bars with -all)\n"
" set: set a value for a bar property\n"
" option: option to change (for options list, look at /set "
@@ -7656,6 +7686,7 @@ command_init ()
" || listitems"
" || add %(bars_names) root|window bottom|top|left|right"
" || default input|title|status|nicklist|%*"
+ " || rename %(bars_names)"
" || del %(bars_names)|-all"
" || set %(bars_names) name|%(bars_options)"
" || hide %(bars_names)"