diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-21 16:32:34 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-21 16:32:34 +0100 |
commit | 384731849702336b63fc3a3a456875bed4ea90f1 (patch) | |
tree | 7709ffda366a024c4c0005982cd12d77179be541 /doc/pl | |
parent | f907ea17d51d0446987970ab42b225054c99b12c (diff) | |
download | weechat-384731849702336b63fc3a3a456875bed4ea90f1.zip |
core: update translations
Diffstat (limited to 'doc/pl')
-rw-r--r-- | doc/pl/autogen/plugin_api/completions.txt | 18 | ||||
-rw-r--r-- | doc/pl/autogen/user/trigger_commands.txt | 75 | ||||
-rw-r--r-- | doc/pl/autogen/user/trigger_options.txt | 50 |
3 files changed, 143 insertions, 0 deletions
diff --git a/doc/pl/autogen/plugin_api/completions.txt b/doc/pl/autogen/plugin_api/completions.txt index 9966a5a05..889dcc503 100644 --- a/doc/pl/autogen/plugin_api/completions.txt +++ b/doc/pl/autogen/plugin_api/completions.txt @@ -70,6 +70,24 @@ | tcl | tcl_script | lista skryptów +| trigger | trigger_hook_arguments | default arguments for a hook + +| trigger | trigger_hook_command | default command for a hook + +| trigger | trigger_hook_conditions | default conditions for a hook + +| trigger | trigger_hook_rc | default return codes for hook callback + +| trigger | trigger_hook_regex | default regular expression for a hook + +| trigger | trigger_hooks | hooks for triggers + +| trigger | trigger_names | triggers + +| trigger | trigger_option_value | value of a trigger option + +| trigger | trigger_options | options for triggers + | weechat | bars_names | nazwy pasków | weechat | bars_options | opcje pasków diff --git a/doc/pl/autogen/user/trigger_commands.txt b/doc/pl/autogen/user/trigger_commands.txt new file mode 100644 index 000000000..6d8eeb3b5 --- /dev/null +++ b/doc/pl/autogen/user/trigger_commands.txt @@ -0,0 +1,75 @@ +[[command_trigger_trigger]] +[command]*`trigger`* manage triggers, the Swiss Army knife for WeeChat:: + +---- +/trigger list|listfull|listdefault + add|addoff|addreplace <name> <hook> ["<arguments>" ["<conditions>" ["<regex>" ["<command>" ["<return_code>"]]]]] + addinput [<hook>] + input|output|recreate <name> + set <name> <option> <value> + rename|copy <name> <new_name> + enable|disable|toggle [<name>|-all [<name>...]] + restart <name>|-all [<name>...] + show <name> + del <name>|-all [<name>...] + default -yes + monitor + + list: list triggers (without argument, this list is displayed) + listfull: list triggers with detailed info for each trigger +listdefault: list default triggers + add: add a trigger + addoff: add a trigger (disabled) + addreplace: add or replace an existing trigger + name: name of trigger + hook: signal, hsignal, modifier, print, command, command_run, timer, config, focus + arguments: arguments for the hook, depending on hook (separated by semicolons): + signal: name(s) of signal (required) + hsignal: name(s) of hsignal (required) + modifier: name(s) of modifier (required) + print: buffer, tags, message, strip colors + command: command (required), description, arguments, description of arguments, completion + command_run: command (required) + timer: interval (required), align on second (required), max calls (required) + config: name of option (required) + focus: name(s) of area (required) + conditions: evaluated conditions for the trigger + regex: one or more regular expressions to replace strings in variables + command: command to execute (many commands can be separated by ";" +return_code: return code in callback (ok (default), ok_eat, error) + addinput: set input with default arguments to create a trigger + input: set input with the command used to create the trigger + output: send the command to create the trigger on the buffer + recreate: same as "input", with option "addreplace" instead of "add" + set: set an option in a trigger + option: name of option: name, hook, arguments, conditions, regex, command, return_code + (for help on option, you can type: /help trigger.trigger.<name>.<option>) + value: new value for the option + rename: rename a trigger + copy: copy a trigger + enable: enable trigger(s) (without arguments: enable triggers globally) + disable: disable trigger(s) (without arguments: disable triggers globally) + toggle: toggle trigger(s) (without arguments: toggle triggers globally) + restart: restart trigger(s) (recreate the hooks) + show: show detailed info on a trigger (with some stats) + del: delete a trigger + -all: do action on all triggers + default: restore default triggers + monitor: open the trigger monitor buffer + +When a trigger callback is called, following actions are performed, in this order: + 1. check conditions; if false, exit + 2. replace text using POSIX extended regular expression(s) (if defined in trigger) + 3. execute command(s) (if defined in trigger) + 4. exit with a return code (except for modifiers and focus) + +Examples (you can also look at default triggers with /trigger listdefault): + add text attributes *bold*, _underline_ and /italic/ (only in user messages): + /trigger add effects modifier weechat_print "${tg_tag_nick}" "==\*(\S+)\*==*${color:bold}$1${color:-bold}*== ==_(\S+)_==_${color:underline}$1${color:-underline}_== ==/(\S+)/==/${color:italic}$1${color:-italic}/" + hide nicklist bar on small terminals: + /trigger add resize_small signal signal_sigwinch "${info:term_width} < 100" "" "/bar hide nicklist" + /trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist" + silently save config each hour: + /trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save" +---- + diff --git a/doc/pl/autogen/user/trigger_options.txt b/doc/pl/autogen/user/trigger_options.txt new file mode 100644 index 000000000..7547f88d4 --- /dev/null +++ b/doc/pl/autogen/user/trigger_options.txt @@ -0,0 +1,50 @@ +* [[option_trigger.color.flag_command]] *trigger.color.flag_command* +** opis: `text color for command flag (in /trigger list)` +** typ: kolor +** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightgreen`) + +* [[option_trigger.color.flag_conditions]] *trigger.color.flag_conditions* +** opis: `text color for conditions flag (in /trigger list)` +** typ: kolor +** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `yellow`) + +* [[option_trigger.color.flag_regex]] *trigger.color.flag_regex* +** opis: `text color for regex flag (in /trigger list)` +** typ: kolor +** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightcyan`) + +* [[option_trigger.color.flag_return_code]] *trigger.color.flag_return_code* +** opis: `text color for return code flag (in /trigger list)` +** typ: kolor +** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `lightmagenta`) + +* [[option_trigger.color.regex]] *trigger.color.regex* +** opis: `text color for regular expressions` +** typ: kolor +** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `white`) + +* [[option_trigger.color.replace]] *trigger.color.replace* +** opis: `text color for replacement text (for regular expressions)` +** typ: kolor +** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `cyan`) + +* [[option_trigger.color.trigger]] *trigger.color.trigger* +** opis: `text color for trigger name` +** typ: kolor +** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `green`) + +* [[option_trigger.color.trigger_disabled]] *trigger.color.trigger_disabled* +** opis: `text color for disabled trigger name` +** typ: kolor +** wartości: nazwa koloru WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), numer koloru terminala albo alias; atrybuty dozwolone przed kolorem (tylko dla kolorów testu, nie tła): "*" pogrubienie, "!" odwrócenie, "/" pochylenie, "_" podkreślenie (domyślna wartość: `red`) + +* [[option_trigger.look.enabled]] *trigger.look.enabled* +** opis: `enable trigger support` +** typ: bool +** wartości: on, off (domyślna wartość: `on`) + +* [[option_trigger.look.monitor_strip_colors]] *trigger.look.monitor_strip_colors* +** opis: `strip colors in hashtable values displayed on monitor buffer` +** typ: bool +** wartości: on, off (domyślna wartość: `off`) + |