# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Junghee Lee , 2022,2026 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-04-08 13:52+0000\n" "PO-Revision-Date: 2015-01-10 01:24+0000\n" "Last-Translator: Junghee Lee , 2022,2026\n" "Language-Team: Korean (http://app.transifex.com/calibre/calibre/language/ko/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ko\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../../__w/calibre/calibre/manual/snippets.rst:2 msgid "Snippets" msgstr "스니펫" #: ../../../__w/calibre/calibre/manual/snippets.rst:6 msgid "" "The calibre E-book editor supports *snippets*. A snippet is a piece of text " "that is either re-used often or contains a lot of redundant text. The editor" " allows you to insert a snippet with only a few key strokes. For example, " "suppose you often find yourself inserting link tags when editing HTML files," " then you can simply type ```` tags so you can easily type in the text for " "the link." msgstr "뿐만 아니라 ``filename`` 단어가 선택되고 커서가 그 위에 놓이므로, 편집기의 훌륭한 :ref:`editor_auto_complete` 기능을 사용하여 실제 파일 이름을 쉽게 입력할 수 있습니다. 파일 이름 입력을 마치면 |ct|를 다시 누르면 커서가 ```` 태그 사이의 위치로 이동하여 링크의 텍스트를 쉽게 입력할 수 있습니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:21 msgid "" "The snippets system in the editor is very sophisticated, there are a few " "built-in snippets and you can create your own to suit your editing style." msgstr "편집기의 스니펫 시스템은 매우 정교하며, 몇 가지 내장 스니펫이 있고 편집 스타일에 맞게 자신만의 스니펫을 만들 수 있습니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:24 msgid "" "The following discussion of the built-in snippets should help illustrate the" " power of the snippets system." msgstr "아래의 내장 스니펫 설명은 스니펫 시스템의 강력함을 이해하는 데 도움이 될 것입니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:28 msgid "" "You can also use snippets in the text entry fields in the :guilabel:`Search " "& replace` panel, however, placeholders (using |ct| to jump around) will not" " work." msgstr ":guilabel:`찾기 및 바꾸기` 패널의 텍스트 입력 필드에서도 스니펫을 사용할 수 있습니다. 그러나 자리 표시자(|ct|를 사용하여 이동)는 작동하지 않습니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:33 msgid "The built-in snippets" msgstr "내장된 스니펫" #: ../../../__w/calibre/calibre/manual/snippets.rst:35 msgid "" "The built-in snippets are described below. Note that you can override them " "by creating your own snippets with the same trigger text." msgstr "내장 스니펫은 아래에 설명되어 있습니다. 같은 트리거 텍스트로 자신만의 스니펫을 만들어 재정의할 수 있습니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:39 msgid "Inserting filler text [Lorem]" msgstr "채움 텍스트 삽입하기 [Lorem]" #: ../../../__w/calibre/calibre/manual/snippets.rst:41 msgid "" "The first built-in snippet, and the simplest is used to insert filler text " "into a document. The filler text is taken from `De finibus bonorum et " "malorum `_ a " "philosophical work by Cicero (translated to English). To use it simply type " "``Lorem`` in an HTML file and press |ct|. It will be replaced by a couple of" " paragraphs of filler." msgstr "첫 번째 내장 스니펫이자 가장 간단한 것은 문서에 채움 텍스트를 삽입하는 데 사용됩니다. 이 채움 텍스트는 키케로의 철학적 저작 `De finibus bonorum et malorum `_(영어로 번역됨)에서 가져온 것입니다. 사용하려면 HTML 파일에서 ``Lorem``을 입력하고 |ct|를 누르기만 하면 됩니다. 그러면 몇 개의 단락으로 된 채움 텍스트로 대체됩니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:48 msgid "" "The definition of this snippet is very simple, the trigger text is defined " "as ``Lorem`` and the template is defined simply as the literal text to be " "inserted. You can easily customize it to use your favorite form of filler " "text." msgstr "이 스니펫의 정의는 매우 간단합니다. 트리거 텍스트는 ``Lorem``으로 정의되고 템플릿은 삽입할 리터럴 텍스트로 간단히 정의됩니다. 원하는 형태의 채움 텍스트를 사용하도록 쉽게 사용자 정의할 수 있습니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:53 msgid "Inserting a self-closing HTML tag [<>]" msgstr "자동 닫힘 HTML 태그 삽입하기 [<>]" #: ../../../__w/calibre/calibre/manual/snippets.rst:55 msgid "" "Now let's look at a simple example of the powerful concept of " "*placeholders*. Say you want to insert the self-closing tag ``
``. Just " "type ``<>``, and press |ct|, the editor will expand the snippet to::" msgstr "이제 *자리 표시자*라는 강력한 개념의 간단한 예를 살펴보겠습니다. 자동 닫힘 태그 ``
``을 삽입하고 싶다고 가정해 보겠습니다. ``<>``를 입력하고 |ct|를 누르면 편집기가 스니펫을 다음으로 확장합니다::" #: ../../../__w/calibre/calibre/manual/snippets.rst:61 msgid "" "Here, the ``|`` symbol represents the current cursor position. You can then " "type ``hr`` and press |ct| to move the cursor to after the end of the tag. " "This snippet is defined as::" msgstr "여기서 ``|`` 기호는 현재 커서 위치를 나타냅니다. 그런 다음 ``hr``을 입력하고 |ct|를 누르면 커서가 태그 끝 뒤로 이동합니다. 이 스니펫은 다음과 같이 정의됩니다::" #: ../../../__w/calibre/calibre/manual/snippets.rst:68 msgid "" "Placeholders are simply the dollar ($) sign followed by a number. When the " "snippet is expanded by pressing |ct| the cursor is positioned at the first " "placeholder (the placeholder with the lowest number). When you press |ct| " "again the cursor jumps to the next placeholder (the placeholder with the " "next higher number)." msgstr "자리 표시자는 단순히 달러($) 기호 뒤에 숫자가 오는 것입니다. |ct|를 눌러 스니펫을 확장하면 커서는 첫 번째 자리 표시자(가장 낮은 숫자의 자리 표시자)에 위치합니다. |ct|를 다시 누르면 커서는 다음 자리 표시자(다음으로 높은 숫자의 자리 표시자)로 이동합니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:75 msgid "Inserting an HTML link tag [`` tags so you can easily type in the text for " "the link. After you are done typing the text, press |ct| again to jump to " "the point after the closing tag. This snippet is defined as::" msgstr "뿐만 아니라 ``filename`` 단어가 선택되고 커서가 그 위에 놓이므로, 편집기의 훌륭한 :ref:`editor_auto_complete` 기능을 사용하여 실제 파일 이름을 쉽게 입력할 수 있습니다. 파일 이름 입력을 마치면 |ct|를 다시 누르면 커서가 ``
`` 태그 사이의 위치로 이동하여 링크의 텍스트를 쉽게 입력할 수 있습니다. 텍스트 입력을 마친 후 |ct|를 다시 누르면 닫는 태그 뒤의 지점으로 이동합니다. 이 스니펫은 다음과 같이 정의됩니다::" #: ../../../__w/calibre/calibre/manual/snippets.rst:96 msgid "" "There are a couple of new features here. First the ``$1`` placeholder has " "become more complex. It now includes some *default text* (the word " "``filename``). If a placeholder contains default text, the default text is " "substituted for the placeholder when the snippet is expanded. Also when you " "jump to a placeholder with default text using |ct|, the default text is " "selected. In this way, you can use default text to act as a reminder to you " "to fill in important parts of the template. You can specify default text for" " a placeholder by using the syntax: ``${:default text}``." msgstr "여기에는 몇 가지 새로운 기능이 있습니다. 첫째, ``$1`` 자리 표시자가 더 복잡해졌습니다. 이제 *기본 텍스트*(``filename`` 단어)가 포함됩니다. 자리 표시자에 기본 텍스트가 포함되어 있으면 스니펫이 확장될 때 기본 텍스트가 자리 표시자를 대체합니다. 또한 |ct|를 사용하여 기본 텍스트가 있는 자리 표시자로 이동하면 기본 텍스트가 선택됩니다. 이러한 방식으로 기본 텍스트를 사용하여 템플릿의 중요한 부분을 채우라는 알림 역할을 할 수 있습니다. 구문 ``${<숫자>:기본 텍스트}``를 사용하여 자리 표시자의 기본 텍스트를 지정할 수 있습니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:105 msgid "" "The other new feature is that the second placeholder has an asterisk after " "it (``${2*}``). This means that any text that was selected before expanding " "the template is substituted for the placeholder. To see this in action, " "select some text in the editor, press |ct|, type ```` tag" " and jump between the ``src`` and ``alt`` attributes::" msgstr "이것은 위에서 본 HTML 링크 삽입과 매우 유사합니다. ``\"description\"`` 태그를 빠르게 입력하고 ``src``와 ``alt`` 속성 사이를 이동할 수 있습니다::" #: ../../../__w/calibre/calibre/manual/snippets.rst:124 msgid "Insert an arbitrary HTML tag [<<]" msgstr "임의의 HTML 태그 삽입하기 [<<]" #: ../../../__w/calibre/calibre/manual/snippets.rst:126 msgid "" "This allows you to insert an arbitrary full HTML tag (or wrap previously " "selected text in the tag). To use it, simply type ``<<`` and press |ct|. If " "you want to wrap selected text, first select the text, press |ct| then type " "``<<`` and press |ct| again. The editor will expand it to::" msgstr "이를 통해 임의의 전체 HTML 태그를 삽입할 수 있습니다(또는 이전에 선택한 텍스트를 태그로 감쌀 수 있습니다). 사용하려면 ``<<``를 입력하고 |ct|를 누르기만 하면 됩니다. 선택한 텍스트를 감싸려면 먼저 텍스트를 선택하고 |ct|를 누른 다음 ``<<``를 입력하고 |ct|를 다시 누르세요. 편집기가 이를 다음으로 확장합니다::" #: ../../../__w/calibre/calibre/manual/snippets.rst:134 msgid "" "Type the tag name, for example: ``span`` and press |ct|, that will result " "in::" msgstr "태그 이름을 입력하세요. 예: ``span``을 입력하고 |ct|를 누르면 다음과 같이 됩니다::" #: ../../../__w/calibre/calibre/manual/snippets.rst:138 msgid "" "You will note that the closing tag has been automatically filled with " "``span``. This is achieved with yet another feature of placeholders, " "*mirroring*. Mirroring simply means that if you specify the same placeholder" " more than once in a template, the second and all later positions will be " "automatically filled in with whatever you type in the first position, when " "you press |ct|. The definition for this snippet is::" msgstr "닫는 태그가 자동으로 ``span``으로 채워진 것을 알 수 있습니다. 이것은 자리 표시자의 또 다른 기능인 *미러링*으로 구현됩니다. 미러링은 템플릿에서 동일한 자리 표시자를 두 번 이상 지정하면 |ct|를 누를 때 첫 번째 위치에 입력한 내용이 두 번째 및 이후 모든 위치에 자동으로 채워진다는 것을 의미합니다. 이 스니펫의 정의는 다음과 같습니다::" #: ../../../__w/calibre/calibre/manual/snippets.rst:148 msgid "" "As you can see, the first placeholder ($1) has been specified twice, the " "second time in the closing tag, which will simply copy whatever you type in " "the opening tag." msgstr "볼 수 있듯이 첫 번째 자리 표시자($1)가 두 번 지정되었으며, 두 번째는 닫는 태그 안에 있어 여는 태그에 입력한 내용을 그대로 복사합니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:153 msgid "Inserting an arbitrary HTML tag with a class attribute [Preferences->Editor settings->Manage snippets` in the " "editor. This will pop-up an easy to use dialog to help you create your own " "snippets. Simply click the :guilabel:`Add snippet` button and you will see a" " dialog that looks like:" msgstr "스니펫의 진정한 강점은 편집 스타일에 맞게 자신만의 스니펫을 만들 수 있다는 것입니다. 자신만의 스니펫을 만들려면 편집기에서 :guilabel:`편집->환경설정->편집기 설정->스니펫 관리`로 이동하세요. 그러면 자신만의 스니펫을 만드는 데 도움이 되는 사용하기 쉬운 대화상자가 나타납니다. :guilabel:`스니펫 추가` 버튼을 클릭하면 다음과 같은 대화상자가 나타납니다:" #: ../../../__w/calibre/calibre/manual/snippets.rst:175 msgid "The create your own snippets tool" msgstr "나만의 스니펫 만들기 도구" #: ../../../__w/calibre/calibre/manual/snippets.rst:180 msgid "" "First give your snippet a name, something descriptive, to help identify the " "snippet in the future. Then specify the *trigger*. A trigger is simply the " "text that you have to type in the editor before pressing |ct| in order to " "expand the snippet." msgstr "먼저 스니펫에 나중에 스니펫을 식별하는 데 도움이 되는 설명적인 이름을 지정하세요. 그런 다음 *트리거*를 지정하세요. 트리거는 스니펫을 확장하기 위해 |ct|를 누르기 전에 편집기에 입력해야 하는 텍스트입니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:185 msgid "" "Then specify the snippet template. You should start with one of the examples" " above and modify it to suit your needs. Finally, specify which file types " "you want the snippet to be active for. This way you can have multiple " "snippets with the same trigger text that work differently in different file " "types." msgstr "그런 다음 스니펫 템플릿을 지정하세요. 위의 예제 중 하나를 시작으로 필요에 맞게 수정하세요. 마지막으로 스니펫이 활성화될 파일 형식을 지정하세요. 이렇게 하면 같은 트리거 텍스트를 가진 여러 스니펫이 서로 다른 파일 형식에서 다르게 작동하게 할 수 있습니다." #: ../../../__w/calibre/calibre/manual/snippets.rst:190 msgid "" "The next step is to test your newly created snippet. Use the " ":guilabel:`Test` box at the bottom. Type in the trigger text and press |ct| " "to expand the snippet and jump between placeholders." msgstr "다음 단계는 새로 만든 코드 조각을 테스트하는 것입니다. 하단의 :guilabel:`테스트` 상자를 사용하세요. 트리거 텍스트를 입력하고 |ct| 키를 눌러 코드 조각을 확장하고 자리 표시자 사이를 이동하세요."