Debian Codegraph @

translations/manual/ar/snippets.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 # Usama Khalil, 2025
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: calibre\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
12 "PO-Revision-Date: 2015-01-10 01:24+0000\n"
13 "Last-Translator: Usama Khalil, 2025\n"
14 "Language-Team: Arabic (http://app.transifex.com/calibre/calibre/language/ar/)\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Language: ar\n"
19 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
20
21 #: ../../../__w/calibre/calibre/manual/snippets.rst:2
22 msgid "Snippets"
23 msgstr "قصاصات"
24
25 #: ../../../__w/calibre/calibre/manual/snippets.rst:6
26 msgid ""
27 "The calibre E-book editor supports *snippets*. A snippet is a piece of text "
28 "that is either re-used often or contains a lot of redundant text. The editor"
29 " allows you to insert a snippet with only a few key strokes. For example, "
30 "suppose you often find yourself inserting link tags when editing HTML files,"
31 " then you can simply type ``<a`` in the editor and press |ct|. The editor "
32 "will expand it to::"
33 msgstr "يدعم محرر الكتب الإلكترونية في calibre *القصاصات*. القصاصة هي جزء من النص يتم إعادة استخدامه غالبًا أو يحتوي على الكثير من النص الزائد. يتيح لك المحرر إدراج قصاصة ببضع ضغطات مفاتيح فقط. على سبيل المثال، لنفترض أنك غالبًا ما تجد نفسك تقوم بإدراج علامات الروابط عند تحرير ملفات HTML، فيمكنك ببساطة كتابة ``<a`` في المحرر والضغط على |ct|. سيقوم المحرر بتوسيعها إلى::"
34
35 #: ../../../__w/calibre/calibre/manual/snippets.rst:15
36 msgid ""
37 "Not only that, the word ``filename`` will be selected, with the cursor "
38 "placed over it, so that you can easily type in the real filename, using the "
39 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
40 "typing the filename, press |ct| again and the cursor will jump to the "
41 "position in between the ``<a>`` tags so you can easily type in the text for "
42 "the link."
43 msgstr "ليس هذا فحسب، بل سيتم تحديد كلمة ``filename``، مع وضع المؤشر فوقها، بحيث يمكنك بسهولة كتابة اسم الملف الحقيقي، باستخدام ميزة الإكمال التلقائي الذكية للمحرر :ref:`editor_auto_complete`. وبمجرد الانتهاء من كتابة اسم الملف، اضغط على |ct| مرة أخرى وسيقفز المؤشر إلى الموضع بين علامتي ``<a>`` بحيث يمكنك بسهولة كتابة نص الرابط."
44
45 #: ../../../__w/calibre/calibre/manual/snippets.rst:21
46 msgid ""
47 "The snippets system in the editor is very sophisticated, there are a few "
48 "built-in snippets and you can create your own to suit your editing style."
49 msgstr "نظام القصاصات في المحرر متطور للغاية، هناك بعض القصاصات المدمجة ويمكنك إنشاء قصاصات خاصة بك لتناسب أسلوب تحريرك."
50
51 #: ../../../__w/calibre/calibre/manual/snippets.rst:24
52 msgid ""
53 "The following discussion of the built-in snippets should help illustrate the"
54 " power of the snippets system."
55 msgstr "يجب أن تساعد المناقشة التالية للقصاصات المدمجة في توضيح قوة نظام القصاصات."
56
57 #: ../../../__w/calibre/calibre/manual/snippets.rst:28
58 msgid ""
59 "You can also use snippets in the text entry fields in the :guilabel:`Search "
60 "& replace` panel, however, placeholders (using |ct| to jump around) will not"
61 " work."
62 msgstr "يمكنك أيضًا استخدام القصاصات في حقول إدخال النص في لوحة :guilabel:`البحث والاستبدال`، ومع ذلك، لن تعمل العناصر النائبة (باستخدام |ct| للقفز)."
63
64 #: ../../../__w/calibre/calibre/manual/snippets.rst:33
65 msgid "The built-in snippets"
66 msgstr "القصاصات المدمجة"
67
68 #: ../../../__w/calibre/calibre/manual/snippets.rst:35
69 msgid ""
70 "The built-in snippets are described below. Note that you can override them "
71 "by creating your own snippets with the same trigger text."
72 msgstr "يتم وصف القصاصات المدمجة أدناه. لاحظ أنه يمكنك تجاوزها عن طريق إنشاء قصاصات خاصة بك بنفس نص التشغيل."
73
74 #: ../../../__w/calibre/calibre/manual/snippets.rst:39
75 msgid "Inserting filler text [Lorem]"
76 msgstr "إدراج نص حشو [Lorem]"
77
78 #: ../../../__w/calibre/calibre/manual/snippets.rst:41
79 msgid ""
80 "The first built-in snippet, and the simplest is used to insert filler text "
81 "into a document. The filler text is taken from `De finibus bonorum et "
82 "malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ a "
83 "philosophical work by Cicero (translated to English). To use it simply type "
84 "``Lorem`` in an HTML file and press |ct|. It will be replaced by a couple of"
85 " paragraphs of filler."
86 msgstr "تُستخدم القصاصة المدمجة الأولى والأبسط لإدراج نص حشو في مستند. يتم أخذ نص الحشو من `De finibus bonorum et malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ وهو عمل فلسفي لشيشرون (مترجم إلى الإنجليزية). لاستخدامه، ما عليك سوى كتابة ``Lorem`` في ملف HTML والضغط على |ct|. سيتم استبداله ببضعة فقرات من الحشو."
87
88 #: ../../../__w/calibre/calibre/manual/snippets.rst:48
89 msgid ""
90 "The definition of this snippet is very simple, the trigger text is defined "
91 "as ``Lorem`` and the template is defined simply as the literal text to be "
92 "inserted. You can easily customize it to use your favorite form of filler "
93 "text."
94 msgstr "تعريف هذه القصاصة بسيط للغاية، يتم تعريف نص التشغيل كـ ``Lorem`` ويتم تعريف القالب ببساطة كنص حرفي يتم إدراجه. يمكنك تخصيصه بسهولة لاستخدام الشكل المفضل لديك من نص الحشو."
95
96 #: ../../../__w/calibre/calibre/manual/snippets.rst:53
97 msgid "Inserting a self-closing HTML tag [<>]"
98 msgstr "إدراج علامة HTML ذاتية الإغلاق [<>]"
99
100 #: ../../../__w/calibre/calibre/manual/snippets.rst:55
101 msgid ""
102 "Now let's look at a simple example of the powerful concept of "
103 "*placeholders*. Say you want to insert the self-closing tag ``<hr/>``. Just "
104 "type ``<>``, and press |ct|, the editor will expand the snippet to::"
105 msgstr "الآن دعنا نلقي نظرة على مثال بسيط لمفهوم *العناصر النائبة* القوي. لنفترض أنك تريد إدراج العلامة ذاتية الإغلاق ``<hr/>``. ما عليك سوى كتابة ``<>``، والضغط على |ct|، سيقوم المحرر بتوسيع القصاصة إلى::"
106
107 #: ../../../__w/calibre/calibre/manual/snippets.rst:61
108 msgid ""
109 "Here, the ``|`` symbol represents the current cursor position. You can then "
110 "type ``hr`` and press |ct| to move the cursor to after the end of the tag. "
111 "This snippet is defined as::"
112 msgstr "هنا، يمثل الرمز ``|`` موضع المؤشر الحالي. يمكنك بعد ذلك كتابة ``hr`` والضغط على |ct| لنقل المؤشر إلى ما بعد نهاية العلامة. يتم تعريف هذه القصاصة كالتالي::"
113
114 #: ../../../__w/calibre/calibre/manual/snippets.rst:68
115 msgid ""
116 "Placeholders are simply the dollar ($) sign followed by a number. When the "
117 "snippet is expanded by pressing |ct| the cursor is positioned at the first "
118 "placeholder (the placeholder with the lowest number). When you press |ct| "
119 "again the cursor jumps to the next placeholder (the placeholder with the "
120 "next higher number)."
121 msgstr "العناصر النائبة هي ببساطة علامة الدولار ($) متبوعة برقم. عندما يتم توسيع القصاصة بالضغط على |ct|، يتم وضع المؤشر عند العنصر النائب الأول (العنصر النائب ذو الرقم الأقل). عندما تضغط على |ct| مرة أخرى، يقفز المؤشر إلى العنصر النائب التالي (العنصر النائب ذو الرقم الأعلى التالي)."
122
123 #: ../../../__w/calibre/calibre/manual/snippets.rst:75
124 msgid "Inserting an HTML link tag [<a]"
125 msgstr "إدراج علامة رابط HTML [<a]"
126
127 #: ../../../__w/calibre/calibre/manual/snippets.rst:77
128 msgid ""
129 "HTML link tags all share a common structure. They have an ``href`` attribute"
130 " and some text between the opening and closing tags. A snippet to make "
131 "typing them more efficient will introduce us to some more features of "
132 "placeholders. To use this snippet, simply type ``<a`` and press |ct|. The "
133 "editor will expand this to::"
134 msgstr "تتشارك علامات الروابط في HTML جميعها في بنية مشتركة. لديها سمة ``href`` وبعض النص بين علامتي الفتح والإغلاق. ستعرفنا قصاصة لجعل كتابتها أكثر كفاءة على بعض ميزات أخرى للعناصر النائبة. لاستخدام هذه القصاصة، ما عليك سوى كتابة ``<a`` والضغط على |ct|. سيقوم المحرر بتوسيع هذا إلى::"
135
136 #: ../../../__w/calibre/calibre/manual/snippets.rst:85
137 msgid ""
138 "Not only that, the word ``filename`` will be selected, with the cursor "
139 "placed over it, so that you can easily type in the real filename, using the "
140 "editor's nifty :ref:`editor_auto_complete` feature. And once you are done "
141 "typing the filename, press |ct| again and the cursor will jump to the "
142 "position in between the ``<a>`` tags so you can easily type in the text for "
143 "the link. After you are done typing the text, press |ct| again to jump to "
144 "the point after the closing tag. This snippet is defined as::"
145 msgstr "ليس هذا فحسب، بل سيتم تحديد كلمة ``filename``، مع وضع المؤشر فوقها، بحيث يمكنك بسهولة كتابة اسم الملف الحقيقي، باستخدام ميزة الإكمال التلقائي الذكية للمحرر :ref:`editor_auto_complete`. وبمجرد الانتهاء من كتابة اسم الملف، اضغط على |ct| مرة أخرى وسيقفز المؤشر إلى الموضع بين علامتي ``<a>`` بحيث يمكنك بسهولة كتابة نص الرابط. بعد الانتهاء من كتابة النص، اضغط على |ct| مرة أخرى للقفز إلى النقطة بعد علامة الإغلاق. يتم تعريف هذه القصاصة كالتالي::"
146
147 #: ../../../__w/calibre/calibre/manual/snippets.rst:96
148 msgid ""
149 "There are a couple of new features here. First the ``$1`` placeholder has "
150 "become more complex. It now includes some *default text* (the word "
151 "``filename``). If a placeholder contains default text, the default text is "
152 "substituted for the placeholder when the snippet is expanded. Also when you "
153 "jump to a placeholder with default text using |ct|, the default text is "
154 "selected. In this way, you can use default text to act as a reminder to you "
155 "to fill in important parts of the template. You can specify default text for"
156 " a placeholder by using the syntax: ``${<number>:default text}``."
157 msgstr "هنا توجد بعض الميزات الجديدة. أولاً، أصبح العنصر النائب ``$1`` أكثر تعقيدًا. وهو يتضمن الآن بعض *النص الافتراضي* (كلمة ``filename``). إذا كان العنصر النائب يحتوي على نص افتراضي، يتم استبدال النص الافتراضي بالعنصر النائب عند توسيع القصاصة. أيضًا عندما تقفز إلى عنصر نائب بنص افتراضي باستخدام |ct|، يتم تحديد النص الافتراضي. بهذه الطريقة، يمكنك استخدام النص الافتراضي كتذكير لك لملء الأجزاء المهمة من القالب. يمكنك تحديد نص افتراضي لـ عنصر نائب باستخدام الصيغة: ``${<number>:default text}``."
158
159 #: ../../../__w/calibre/calibre/manual/snippets.rst:105
160 msgid ""
161 "The other new feature is that the second placeholder has an asterisk after "
162 "it (``${2*}``). This means that any text that was selected before expanding "
163 "the template is substituted for the placeholder. To see this in action, "
164 "select some text in the editor, press |ct|, type ``<a`` and press |ct| "
165 "again, the template will be expanded to::"
166 msgstr "الميزة الجديدة الأخرى هي أن العنصر النائب الثاني يحتوي على نجمة بعده (``${2*}``). هذا يعني أن أي نص تم تحديده قبل توسيع القالب يتم استبداله بالعنصر النائب. لرؤية هذا عمليًا، حدد بعض النصوص في المحرر، اضغط |ct|، اكتب ``<a`` واضغط |ct| مرة أخرى، سيتم توسيع القالب إلى::"
167
168 #: ../../../__w/calibre/calibre/manual/snippets.rst:114
169 msgid "Inserting an HTML image tag [<i]"
170 msgstr ""
171
172 #: ../../../__w/calibre/calibre/manual/snippets.rst:116
173 msgid ""
174 "This is very similar to inserting an HTML link, as we saw above. It allows "
175 "you to quickly input an ``<img src=\"filename\" alt=\"description\" />`` tag"
176 " and jump between the ``src`` and ``alt`` attributes::"
177 msgstr "هذا مشابه جدًا لإدراج رابط HTML، كما رأينا أعلاه. يسمح لك بإدخال سريع لعلامة ``<img src=\"filename\" alt=\"description\" />`` والقفز بين سمتي ``src`` و ``alt``::"
178
179 #: ../../../__w/calibre/calibre/manual/snippets.rst:124
180 msgid "Insert an arbitrary HTML tag [<<]"
181 msgstr "إدراج علامة HTML عشوائية [<<]"
182
183 #: ../../../__w/calibre/calibre/manual/snippets.rst:126
184 msgid ""
185 "This allows you to insert an arbitrary full HTML tag (or wrap previously "
186 "selected text in the tag). To use it, simply type ``<<`` and press |ct|. If "
187 "you want to wrap selected text, first select the text, press |ct| then type "
188 "``<<`` and press |ct| again. The editor will expand it to::"
189 msgstr ""
190
191 #: ../../../__w/calibre/calibre/manual/snippets.rst:134
192 msgid ""
193 "Type the tag name, for example: ``span`` and press |ct|, that will result "
194 "in::"
195 msgstr "اكتب اسم العلامة، على سبيل المثال: ``span`` واضغط على |ct|، سينتج عن ذلك ما يلي::"
196
197 #: ../../../__w/calibre/calibre/manual/snippets.rst:138
198 msgid ""
199 "You will note that the closing tag has been automatically filled with "
200 "``span``. This is achieved with yet another feature of placeholders, "
201 "*mirroring*. Mirroring simply means that if you specify the same placeholder"
202 " more than once in a template, the second and all later positions will be "
203 "automatically filled in with whatever you type in the first position, when "
204 "you press |ct|. The definition for this snippet is::"
205 msgstr ""
206
207 #: ../../../__w/calibre/calibre/manual/snippets.rst:148
208 msgid ""
209 "As you can see, the first placeholder ($1) has been specified twice, the "
210 "second time in the closing tag, which will simply copy whatever you type in "
211 "the opening tag."
212 msgstr "كما ترى، تم تحديد العنصر النائب الأول ($1) مرتين، المرة الثانية في علامة الإغلاق، والتي ستقوم ببساطة بنسخ أي شيء تكتبه في علامة الفتح."
213
214 #: ../../../__w/calibre/calibre/manual/snippets.rst:153
215 msgid "Inserting an arbitrary HTML tag with a class attribute [<c]"
216 msgstr "إدراج علامة HTML عشوائية بسمة فئة [<c]"
217
218 #: ../../../__w/calibre/calibre/manual/snippets.rst:155
219 msgid ""
220 "This is very similar to the insert arbitrary tag example above, except that "
221 "it assumes that you want to specify a class for the tag::"
222 msgstr "هذا مشابه جدًا لمثال إدراج علامة عشوائية أعلاه، باستثناء أنه يفترض أنك تريد تحديد فئة للعلامة::"
223
224 #: ../../../__w/calibre/calibre/manual/snippets.rst:161
225 msgid ""
226 "This will allow you to first type the tag name, press |ct|, type the class "
227 "name, press |ct| type the contents of the tag and press |ct| one last time "
228 "to jump out of the tag. The closing tag will be auto-filled."
229 msgstr "سيسمح لك هذا أولاً بكتابة اسم العلامة، ثم الضغط على |ct|، ثم كتابة اسم الفئة، ثم الضغط على |ct|، ثم كتابة محتويات العلامة، ثم الضغط على |ct| للمرة الأخيرة للقفز خارج العلامة. سيتم ملء علامة الإغلاق تلقائيًا."
230
231 #: ../../../__w/calibre/calibre/manual/snippets.rst:167
232 msgid "Creating your own snippets"
233 msgstr "إنشاء قصاصاتك الخاصة"
234
235 #: ../../../__w/calibre/calibre/manual/snippets.rst:169
236 msgid ""
237 "Snippets really shine because you can create your own to suit your editing "
238 "style. To create your own snippets go to "
239 ":guilabel:`Edit->Preferences->Editor settings->Manage snippets` in the "
240 "editor. This will pop-up an easy to use dialog to help you create your own "
241 "snippets. Simply click the :guilabel:`Add snippet` button and you will see a"
242 " dialog that looks like:"
243 msgstr "تتألق القصاصات حقًا لأنه يمكنك إنشاء قصاصات خاصة بك لتناسب أسلوب تحريرك. لإنشاء قصاصاتك الخاصة، انتقل إلى :guilabel:`تحرير->التفضيلات->إعدادات المحرر->إدارة القصاصات` في المحرر. سيظهر مربع حوار سهل الاستخدام لمساعدتك في إنشاء قصاصاتك الخاصة. ما عليك سوى النقر على زر :guilabel:`إضافة قصاصة` وسترى مربع حوار يبدو كالتالي:"
244
245 #: ../../../__w/calibre/calibre/manual/snippets.rst:175
246 msgid "The create your own snippets tool"
247 msgstr "أداة إنشاء قصاصاتك الخاصة"
248
249 #: ../../../__w/calibre/calibre/manual/snippets.rst:180
250 msgid ""
251 "First give your snippet a name, something descriptive, to help identify the "
252 "snippet in the future. Then specify the *trigger*. A trigger is simply the "
253 "text that you have to type in the editor before pressing |ct| in order to "
254 "expand the snippet."
255 msgstr "أولاً، أعطِ قصاصتك اسمًا، شيئًا وصفيًا، للمساعدة في تحديد القصاصة في المستقبل. ثم حدد *المشغل*. المشغل هو ببساطة النص الذي يجب عليك كتابته في المحرر قبل الضغط على |ct| لـ توسيع القصاصة."
256
257 #: ../../../__w/calibre/calibre/manual/snippets.rst:185
258 msgid ""
259 "Then specify the snippet template. You should start with one of the examples"
260 " above and modify it to suit your needs. Finally, specify which file types "
261 "you want the snippet to be active for. This way you can have multiple "
262 "snippets with the same trigger text that work differently in different file "
263 "types."
264 msgstr "ثم حدد قالب القصاصة. يجب أن تبدأ بأحد الأمثلة المذكورة أعلاه وتعدلها لتناسب احتياجاتك. أخيرًا، حدد أنواع الملفات التي تريد أن تكون القصاصة نشطة لها. بهذه الطريقة يمكنك الحصول على عدة قصاصات بنفس نص التشغيل تعمل بشكل مختلف في أنواع ملفات مختلفة."
265
266 #: ../../../__w/calibre/calibre/manual/snippets.rst:190
267 msgid ""
268 "The next step is to test your newly created snippet. Use the "
269 ":guilabel:`Test` box at the bottom. Type in the trigger text and press |ct| "
270 "to expand the snippet and jump between placeholders."
271 msgstr "الخطوة التالية هي اختبار القصاصة التي أنشأتها حديثًا. استخدم مربع :guilabel:`اختبار` في الأسفل. اكتب نص التشغيل واضغط على |ct| لتوسيع القصاصة والقفز بين العناصر النائبة."