Debian Codegraph @

translations/manual/tr/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 # Bora Atıcı, 2023
7 # Ömer Kaan Gürbüz <[email protected]>, 2017
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: Bora Atıcı, 2023\n"
15 "Language-Team: Turkish (http://app.transifex.com/calibre/calibre/language/tr/)\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Language: tr\n"
20 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
21
22 #: ../../../__w/calibre/calibre/manual/xpath.rst:4
23 msgid "XPath tutorial"
24 msgstr "XPath Rehberi"
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 "Bu eğitimde, 'HTML <https:/'nin isteğe bağlı bölümlerini seçmek için kullanılabilecek bir sorgulama dili olan 'XPath <https://en.wikipedia.org/wiki/XPath>'_ hakkında hafif bir giriş yapılacaktır. /en.wikipedia.org/wiki/HTML>`_ calibre'deki belgeler. XPath yaygın olarak kullanılan bir standarttır ve Google'da araştırıldığında tonlarca bilgi elde edilir. Ancak bu eğitim, yapılandırılmamış bir HTML belgesinde bölüm başlıklarını bulmak gibi e-kitapla ilgili görevler için XPath kullanımına odaklanmaktadır."
36
37 #: ../../../__w/calibre/calibre/manual/xpath.rst:16
38 msgid "Contents"
39 msgstr "İçindekiler"
40
41 #: ../../../__w/calibre/calibre/manual/xpath.rst:19
42 msgid "Selecting by tag name"
43 msgstr "Etiket ismine göre seçim"
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 "Seçimin en basit formu etiketleri isme göre seçmektir. Örneğin; belgedeki tüm ``<h2>`` etiketlerini seçmek istediğinizi düşünelim. XPath sorgusu basitçe şöyle olacaktır::"
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 "Baştaki `//` öneki *belgedeki tüm düzeylerde ara* anlamına gelmektedir. Şimdi ise ``<a>`` etiketi içindeki ``<span>``etiketlerini arıyor olalım. Bunu yapan sorgu::"
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 "Eğer belgedeki belirli bir düzeydeki etiketleri arayacak olursanız öneki değiştirin::"
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 "Bu yalnızca :ref:`sample_ebook` içindeki ``<p>XPath kullanımını göstermek için çok kısa bir e-kitap.</p>`` ile eşleşir ancak diğer ``<p>`` etiketlerinden hiçbiriyle eşleşmez. Yukarıdaki örneklerde ``h:`` öneki XHTML etiketleriyle eşleşmesi için gereklidir. Bunun nedeni dahili olarak calibre'nin tüm içeriği XHTML olarak temsil etmesidir. XHTML'de etiketlerin bir *ad alanı* vardır ve ``h:`` HTML etiketleri için ad alanı önekidir."
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 "Bu XPath ifadesinde pek çok yenilik bulunmaktadır. Bunların ilki ``*`` karakteridir. *herhangi bir etiketle eşleş* anlamına gelmektedir. Şimdi test ifadesine bakalım ``name()='h1' or name()='h2'``. :term:`name()` *tümleşik fonksiyona* bir örnektir. Basitçe etiketin adını değerlendirir. Bu nedenle onu kullanarak, isimleri `h1` veya `h2` olan etiketleri seçebiliriz. :term:`name()` fonksiyonunun isim alanlarını yok saydığını ve bu nedenle ``h:`` ön ekine ihtiyaç olmadığına dikkat edin. XPath çok fazla tümleşik fonksiyona sahiptir. Bunlardan bir kaçına bu rehberde değinilecektir."
95
96 #: ../../../__w/calibre/calibre/manual/xpath.rst:62
97 msgid "Selecting by attributes"
98 msgstr "Özniteliğe göre seçmek"
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 "Etiketleri özniteliklerine göre seçmek için bu ifadelerin kullanılması gereklidir::"
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 "Buradaki ``@`` operatörü etiketin özniteliğine karşılık gelir. Öznitelik değerleriyle ilgili daha karmaşık eşleşmeler için `XPath tümleşik fonksiyonlarını`_ kullanabilirsiniz."
112
113 #: ../../../__w/calibre/calibre/manual/xpath.rst:76
114 msgid "Selecting by tag content"
115 msgstr "Etiket içeriğine göre seçmek"
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 "XPath kullanarak etiketleri içerdikleri metinlere göre seçebilirsiniz. Bunu yapmanın en iyi yolu :term:`re:test()` tümleşik fonksiyonunun *düzenli ifadelerini* kullanmaktır::"
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 "Buradaki ``.`` operatörü etiketin içeriğine karşılık gelir, ``@`` operatörünün özniteliklere karşılık gelmesi gibidir."
129
130 #: ../../../__w/calibre/calibre/manual/xpath.rst:90
131 msgid "Sample e-book"
132 msgstr "Örnek e-kitap"
133
134 #: ../../../__w/calibre/calibre/manual/xpath.rst:96
135 msgid "XPath built-in functions"
136 msgstr "XPath tümleşik fonksiyonları"
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 "Mevcut etiketin adı."
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)`` ifadesi eğer s1, s2'yi içerirse `true` döndürür."
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 "``re:test(src, model, flags)``, `src` dizesi `pattern` normal ifadesiyle eşleşiyorsa `true' değerini döndürür. Özellikle kullanışlı bir bayrak ``i``dir, eşleştirmeyi büyük/küçük harfe duyarsız hale getirir. Düzenli ifadelerin sözdizimi hakkında iyi bir başlangıç ​​noktası, 'regexp sözdizimi <https://docs.python.org/library/re.html>'_ adresinde bulunabilir."