# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2017, Lukas Holecek
# This file is distributed under the same license as the CopyQ package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: CopyQ \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-06-07 14:49+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.4.0\n"

#: ../../writing-commands-and-adding-functionality.rst:4
msgid "Writing Commands and Adding Functionality"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:6
msgid ""
"CopyQ allows you to extend its functionality through commands in "
"following ways."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:9
msgid "Add custom commands to context menu for selected items in history."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:10
msgid "Run custom commands automatically when clipboard changes."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:11
msgid "Assign global/system-wide shortcuts to custom commands."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:13
msgid "Here are some examples what can be achieved by using commands."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:15
msgid ""
"Automatically store web links or other types of clipboard content in "
"special tabs to keep the history clean."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:17
msgid "Paste current date and time or modified clipboard on a global shortcut."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:19
msgid ""
"Pass selected items or clipboard to external application (e.g. web "
"browser or image editor)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:21
msgid "Keep TODO lists and tag items as \"important\" or use custom tags."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:22
msgid "See :ref:`command-examples` for some other ideas and useful commands."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:25
msgid "Command Dialog"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:27
msgid "You can create new commands in Command dialog. To open the dialog either:"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:30
msgid "press default shortcut F6 or"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:31
msgid "select menu item \"Commands/Global Shortcuts...\" in \"File\" menu."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:33
msgid "Command dialog contains:"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:35
msgid "list of custom commands on the left,"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:36
msgid "settings for currently selected command on the right,"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:37
msgid "command filter text field at the top,"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:38
msgid ""
"buttons to modify the command list (add, remove and move commands) at the"
" top,"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:39
msgid "buttons to save, load, copy and paste commands at the bottom."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:42
msgid "Create New Command"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:44
msgid ""
"To create new command click the \"Add\" button in Command dialog. This "
"opens list with predefined commands."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:47
msgid ""
"\"New Command\" creates new empty command (but it won't do anything "
"without being configured). One of the most frequently used predefined "
"command is \"Show/hide main window\" which allows you to assign global "
"shortcut for showing and hiding CopyQ window."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:52
msgid ""
"If you double click a predefined command (or select one or multiple "
"commands and click OK) it will be added to list of commands. The right "
"part of the Command dialog now shows the configuration for the new "
"command."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:57
msgid ""
"For example, for the \"Show/hide main window\" you'll most likely need to"
" change only the \"Global Shortcut\" option so click on the button next "
"to it and press the shortcut you want to assign."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:61
msgid ""
"Commands can be quickly disabled by clicking the check box next to them "
"in command list."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:64
msgid ""
"By clicking on \"OK\" or \"Apply\" button in the dialog all commands will"
" be saved permanently."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:68
msgid "Command Options"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:70
msgid "The following options can be set for commands."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:72
msgid ""
"If unsure what an option does, hover mouse pointer over it and tool tip "
"with description will appear."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:76
msgid "Name"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:78
msgid ""
"Name of the command. This is used in context menu if \"In Menu\" check "
"box is enabled. Use ``/`` in the name to create sub-menus."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:82
msgid "Group: Type of Action"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:84
msgid ""
"This group sets the main type of the command. Usually only one sub-option"
" is set."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:88
msgid "a. Automatic"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:90
msgid "If enabled, the command is triggered whenever clipboard changes."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:92
msgid ""
"Automatic items are run in order they appear in the command list. No "
"other automatic commands will be run if a triggered automatic command has"
" \"Remove Item\" option set or calls ``copyq ignore``."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:96
msgid ""
"The command is **applied on current clipboard data** - i.e. options below"
" access text or other data in clipboard."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:100
msgid "b. In Menu"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:102
msgid ""
"If enabled, the command can be run from main window either with "
"application shortcut, from context menu or \"Item\" menu. The command can"
" be also run from tray menu."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:106
msgid ""
"Shortcuts can be assigned by clicking on the button next to the option. "
"These shortcuts work only when CopyQ window has focus."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:109
msgid ""
"If the command is run from **tray menu**, it is **applied on clipboard "
"data**, otherwise it's **applied on data in selected items**."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:113
msgid "c. Global Shortcut"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:115
msgid ""
"If enabled, the command is triggered whenever assigned shortcut is "
"pressed. These shortcuts work even when CopyQ window doesn't have focus."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:118
msgid "This command is **not applied on data** in clipboard nor selected items."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:121
msgid "Group: Match Items"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:123
msgid ""
"This group is visible only for \"Automatic\" or \"In Menu\" commands. "
"Sub-options specify when the command can be used."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:127
msgid "1. Content"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:129
msgid ""
"`Regular expression "
"<https://doc.qt.io/qt-4.8/qregexp.html#introduction>`__ to match text of "
"selected items (for \"In Menu\" command) or clipboard (for \"Automatic\" "
"command)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:133
msgid ""
"For example, ``^https?://`` will match simple web addresses (text "
"starting with ``http://`` or ``https://``)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:137
msgid "2. Window"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:139
msgid ""
"`Regular expression "
"<https://doc.qt.io/qt-4.8/qregexp.html#introduction>`__ to match window "
"title of active window (only for \"Automatic\" command)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:142
msgid ""
"For example, ``- Chromium$`` or ``Mozilla Firefox$`` to match some web "
"browser window titles (``$`` in the expression means end of the title)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:146
msgid "3. Filter"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:148
msgid ""
"A command for validating text of selected items (for \"In Menu\" command)"
" or clipboard (for \"Automatic\" command)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:151
msgid ""
"If the command exits with non-zero exit code it won't be shown in context"
" menu and automatically triggered on clipboard change."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:154
msgid ""
"Example, ``copyq: if (tab().indexOf(\"Web\") == -1) fail()`` triggers the"
" command only if tab \"Web\" is available."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:158
msgid "4. Format"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:160
msgid "Match format of selected items or clipboard."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:162
msgid ""
"The data of this format will be sent to **standard input** of the command"
" - this doesn't apply if the command is triggered with global shortcut."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:167
msgid "Command"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:169
msgid "The command to run."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:171
msgid "This can contain either:"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:173
msgid ""
"simple command line (e.g. ``copyq popup %1`` - expression ``%1`` means "
"text of the selected item or clipboard),"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:174
msgid ""
"input for command interpreter (prefixed with ``bash:``, ``powershell:``, "
"``python:`` etc.) or"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:175
msgid "CopyQ script (prefixed with ``copyq:``)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:177
msgid ""
"You can use ``COPYQ`` environment variable to get path of application "
"binary."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:180
msgid ""
"Current CopyQ session name is stored in ``COPYQ_SESSION_NAME`` "
"environment variable (see :ref:`sessions`)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:183
msgid "Example (call CopyQ from Python):"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:193
msgid "Example (call CopyQ from PowerShell on Windows):"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:202
msgid "Group: Action"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:204
#: ../../writing-commands-and-adding-functionality.rst:231
msgid "This group is visible only for \"Automatic\" or \"In Menu\" commands."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:207
msgid "1. Copy to tab"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:209
msgid "Creates new item in given tab."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:212
msgid "2. Remove Item"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:214
msgid ""
"Removes selected items. If enabled for \"Automatic\" command, the "
"clipboard will be ignored and no other automatic commands will be "
"executed."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:219
msgid "Group: Menu Action"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:221
msgid "This group is visible only for \"In Menu\" commands."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:224
msgid "1. Hide main window after activation"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:226
msgid "If enabled, main window will be hidden after the command is executed."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:229
msgid "Group: Command options"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:234
msgid "1. Wait"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:236
msgid "Show action dialog before applying options below."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:239
msgid "2. Transform"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:241
msgid ""
"Modify selected items - i.e. remove them and replace with **standard "
"output** of the command."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:245
msgid "3. Output"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:247
msgid "Format of **standard output** to save as new item."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:250
msgid "4. Separator"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:252
msgid "Separator for splitting output to multiple items (``\\n`` to split lines)."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:256
msgid "5. Output tab"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:258
msgid "Tab for saving the output of command."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:261
msgid "Save and Share Commands"
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:263
msgid ""
"You can back up or share commands by saving them in a file (\"Save "
"Selected Commands...\" button) or by copying them to clipboard."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:266
msgid ""
"The saved commands can be loaded back to command list (\"Load "
"Commands...\" button) or pasted to the list from clipboard."
msgstr ""

#: ../../writing-commands-and-adding-functionality.rst:269
msgid ""
"You can try some examples by copying commands from :ref:`command-"
"examples`."
msgstr ""

