summaryrefslogtreecommitdiff
path: root/doc/pl/weechat_scripting.pl.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pl/weechat_scripting.pl.adoc')
-rw-r--r--doc/pl/weechat_scripting.pl.adoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/pl/weechat_scripting.pl.adoc b/doc/pl/weechat_scripting.pl.adoc
index 6dd45a854..abc2f2eb4 100644
--- a/doc/pl/weechat_scripting.pl.adoc
+++ b/doc/pl/weechat_scripting.pl.adoc
@@ -163,6 +163,17 @@ Weechat.config_new_option(config, section, "name", "string", "opis opcji", "", 0
"value", "wartość", 0, ["check_cb", "", "change_cb", "", "delete_cb", ""])
----
+// TRANSLATION MISSING
+And the function `+Weechat.bar_new+` receives the colors in an array of 4 strings
+(color_fg, color_delim, color_bg, color_bg_inactive), so a call to this function
+looks like:
+
+[source,ruby]
+----
+Weechat.bar_new("name", "off", "0", "window", "", "left", "vertical", "vertical", "0", "0",
+ ["default", "default", "default", "default"], "0", "items")
+----
+
==== Lua
===== Funkcje