Debian Codegraph @

translations/manual/pl/xpath.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) Kovid Goyal
3 # This file is distributed under the same license as the calibre package.
4 #
5 # Translators:
6 # Marcin Kozioł <[email protected]>, 2020,2022
7 # Przemysław Siekiera <[email protected]>, 2018
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: calibre\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
13 "PO-Revision-Date: 2014-06-17 08:35+0000\n"
14 "Last-Translator: Marcin Kozioł <[email protected]>, 2020,2022\n"
15 "Language-Team: Polish (http://app.transifex.com/calibre/calibre/language/pl/)\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Language: pl\n"
20 "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
21
22 #: ../../../__w/calibre/calibre/manual/xpath.rst:4
23 msgid "XPath tutorial"
24 msgstr "Samouczek XPath"
25
26 #: ../../../__w/calibre/calibre/manual/xpath.rst:6
27 msgid ""
28 "In this tutorial, you will be given a gentle introduction to `XPath "
29 "<https://en.wikipedia.org/wiki/XPath>`_, a query language that can be used "
30 "to select arbitrary parts of `HTML <https://en.wikipedia.org/wiki/HTML>`_ "
31 "documents in calibre. XPath is a widely used standard, and googling it will "
32 "yield a ton of information. This tutorial, however, focuses on using XPath "
33 "for e-book related tasks like finding chapter headings in an unstructured "
34 "HTML document."
35 msgstr "W tym samouczku otrzymasz delikatne wprowadzenie do `XPath <https://en.wikipedia.org/wiki/XPath>`_, języka zapytań, którego można użyć do wybrania dowolnych części `HTML <https:/ /en.wikipedia.org/wiki/HTML>`_ dokumenty w calibre. XPath jest powszechnie używanym standardem, a wyszukiwanie go w Google przyniesie mnóstwo informacji. Ten samouczek koncentruje się jednak na używaniu XPath do zadań związanych z e-bookami, takich jak znajdowanie nagłówków rozdziałów w nieustrukturyzowanym dokumencie HTML."
36
37 #: ../../../__w/calibre/calibre/manual/xpath.rst:16
38 msgid "Contents"
39 msgstr "Spis treści"
40
41 #: ../../../__w/calibre/calibre/manual/xpath.rst:19
42 msgid "Selecting by tag name"
43 msgstr "Wybieranie według nazwy tagu"
44
45 #: ../../../__w/calibre/calibre/manual/xpath.rst:21
46 msgid ""
47 "The simplest form of selection is to select tags by name. For example, "
48 "suppose you want to select all the ``<h2>`` tags in a document. The XPath "
49 "query for this is simply::"
50 msgstr "Najprostszą formą wyboru jest wyszukanie znacznika wg nazwy. Na przykład przypuśćmy, że chcesz odnaleźć wszystkie znaczniki ``<h2>`` w dokumencie. Zapytanie jest proste::"
51
52 #: ../../../__w/calibre/calibre/manual/xpath.rst:27
53 msgid ""
54 "The prefix `//` means *search at any level of the document*. Now suppose you"
55 " want to search for ``<span>`` tags that are inside ``<a>`` tags. That can "
56 "be achieved with::"
57 msgstr "Przedrostek `//` oznacza *wyszukaj na każdym poziomie dokumentu*. A teraz przypuśćmy, że chcesz wybrać tylko te znaczniki ``<span>``, które zawierają znacznik ``<a>``. Można to zrobić tak::"
58
59 #: ../../../__w/calibre/calibre/manual/xpath.rst:33
60 msgid ""
61 "If you want to search for tags at a particular level in the document, change"
62 " the prefix::"
63 msgstr "Jeśli chcesz wyszukać znaczniki na określonym poziomie dokumentu, zmień przedrostek::"
64
65 #: ../../../__w/calibre/calibre/manual/xpath.rst:39
66 msgid ""
67 "This will match only ``<p>A very short e-book to demonstrate the use of "
68 "XPath.</p>`` in the :ref:`sample_ebook` but not any of the other ``<p>`` "
69 "tags. The ``h:`` prefix in the above examples is needed to match XHTML tags."
70 " This is because internally, calibre represents all content as XHTML. In "
71 "XHTML tags have a *namespace*, and ``h:`` is the namespace prefix for HTML "
72 "tags."
73 msgstr ""
74
75 #: ../../../__w/calibre/calibre/manual/xpath.rst:45
76 msgid ""
77 "Now suppose you want to select both ``<h1>`` and ``<h2>`` tags. To do that, "
78 "we need an XPath construct called *predicate*. A :dfn:`predicate` is simply "
79 "a test that is used to select tags. Tests can be arbitrarily powerful and as"
80 " this tutorial progresses, you will see more powerful examples. A predicate "
81 "is created by enclosing the test expression in square brackets::"
82 msgstr ""
83
84 #: ../../../__w/calibre/calibre/manual/xpath.rst:53
85 msgid ""
86 "There are several new features in this XPath expression. The first is the "
87 "use of the wildcard ``*``. It means *match any tag*. Now look at the test "
88 "expression ``name()='h1' or name()='h2'``. :term:`name()` is an example of a"
89 " *built-in function*. It simply evaluates to the name of the tag. So by "
90 "using it, we can select tags whose names are either `h1` or `h2`. Note that "
91 "the :term:`name()` function ignores namespaces so that there is no need for "
92 "the ``h:`` prefix. XPath has several useful built-in functions. A few more "
93 "will be introduced in this tutorial."
94 msgstr "Jest kilka nowych elementów w tym wyrażeniu XPath. Pierwszym jest użycie symbolu ``*``. Oznacza on *dopasuj dowolny znacznik*. Teraz popatrzmy na wyrażenie ``name()='h1' or name()='h2'``. :term:`name()` jest przykładem *wbudowanej funkcji*. Zwraca ona po prostu nazwę znacznika. Używając jej możemy więc wybrać znaczniki, których nazwa to `h1` lub `h2`. Funkcja :term:`name()` nie uwzględnia przestrzeni nazw, nie ma więc konieczności użycia przedrostka ``h:``. XPath ma wbudowanych wiele przydatnych funkcji. Kilka z nich poznasz w tym samouczku."
95
96 #: ../../../__w/calibre/calibre/manual/xpath.rst:62
97 msgid "Selecting by attributes"
98 msgstr "Wybieranie wg atrybutów"
99
100 #: ../../../__w/calibre/calibre/manual/xpath.rst:64
101 msgid ""
102 "To select tags based on their attributes, the use of predicates is "
103 "required::"
104 msgstr "Aby wybrać znaczniki wg ich atrybutów wymagane jest użycie predykatów::"
105
106 #: ../../../__w/calibre/calibre/manual/xpath.rst:70
107 msgid ""
108 "Here, the ``@`` operator refers to the attributes of the tag. You can use "
109 "some of the `XPath built-in functions`_ to perform more sophisticated "
110 "matching on attribute values."
111 msgstr "W tym przypadku operator ``@`` odnosi się do atrybutów znacznika. Można ponadto użyć niektórych `funkcji wbudowanych XPath`_, aby dokładniej dopasować wartości atrybutów."
112
113 #: ../../../__w/calibre/calibre/manual/xpath.rst:76
114 msgid "Selecting by tag content"
115 msgstr "Wybieranie po zawartości znacznika"
116
117 #: ../../../__w/calibre/calibre/manual/xpath.rst:78
118 msgid ""
119 "Using XPath, you can even select tags based on the text they contain. The "
120 "best way to do this is to use the power of *regular expressions* via the "
121 "built-in function :term:`re:test()`::"
122 msgstr "Przy użyciu XPath możesz nawet wybrać znaczniki, bazując na tekście, który zawierają. Najlepszym na to sposobem jest użycie *wyrażeń regularnych* poprzez wbudowaną funkcję \"term:`re:test()`::"
123
124 #: ../../../__w/calibre/calibre/manual/xpath.rst:84
125 msgid ""
126 "Here the ``.`` operator refers to the contents of the tag, just as the ``@``"
127 " operator referred to its attributes."
128 msgstr "W tym przypadku operator ``.`` odnosi się do zawartości znacznika, tak jak operator ``@`` odnosił się do atrybutów."
129
130 #: ../../../__w/calibre/calibre/manual/xpath.rst:90
131 msgid "Sample e-book"
132 msgstr "Przykładowy e-book"
133
134 #: ../../../__w/calibre/calibre/manual/xpath.rst:96
135 msgid "XPath built-in functions"
136 msgstr "Wbudowane funkcje XPath"
137
138 #: ../../../__w/calibre/calibre/manual/xpath.rst:99
139 msgid "name()"
140 msgstr "name()"
141
142 #: ../../../__w/calibre/calibre/manual/xpath.rst:101
143 msgid "The name of the current tag."
144 msgstr "Nazwa aktualnie wybranego znacznika"
145
146 #: ../../../__w/calibre/calibre/manual/xpath.rst:102
147 msgid "contains()"
148 msgstr "contains()"
149
150 #: ../../../__w/calibre/calibre/manual/xpath.rst:104
151 msgid "``contains(s1, s2)`` returns `true` if s1 contains s2."
152 msgstr "``contains(s1, s2)`` zwraca `true` jeśli s1 zawiera s2."
153
154 #: ../../../__w/calibre/calibre/manual/xpath.rst:105
155 msgid "re:test()"
156 msgstr "re:test()"
157
158 #: ../../../__w/calibre/calibre/manual/xpath.rst:107
159 msgid ""
160 "``re:test(src, pattern, flags)`` returns `true` if the string `src` matches "
161 "the regular expression `pattern`. A particularly useful flag is ``i``, it "
162 "makes matching case insensitive. A good primer on the syntax for regular "
163 "expressions can be found at `regexp syntax "
164 "<https://docs.python.org/library/re.html>`_"
165 msgstr ""