| 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 |
# abuyop <[email protected]>, 2015,2017 |
| 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: abuyop <[email protected]>, 2015,2017\n" |
| 14 |
"Language-Team: Malay (http://app.transifex.com/calibre/calibre/language/ms/)\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Language: ms\n" |
| 19 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 20 |
|
| 21 |
#: ../../../__w/calibre/calibre/manual/snippets.rst:2 |
| 22 |
msgid "Snippets" |
| 23 |
msgstr "Snippet" |
| 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 "" |
| 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 "Bukan hanya itu sahaja, perkataan ``filename`` akan dipilih, dengan kursor berada diatasnya, anda dapat menaip dalam nama fail sebenar, menggunakan fitur penyunting :ref:`editor_auto_complete`. Dan selesai menaip nama fail, tekan |ct| sekali lagi dan kursor akan lompat ke kedudukan diantara tag ``<a>`` supaya anda boleh taipkan teks untuk pautan dengan mudah." |
| 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 "Sistem snippet dalam penyunting adalah sangat kompleks, terdapat beberapa snippet terbina-dalam dan anda boleh cipta sendiri untuk memenuhi gaya penyuntingan anda." |
| 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 "Penerangan snippet terbina-dalam berikut dapat mengilustrasikan kehebatan sistem snippet." |
| 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 "Anda juga boleh guna snippet dalam medan masukan teks dalam panel :guilabel:`Gelintar dan Ganti', walaubagaimanapun, pemegang tempat atau placeholder (gunakan |ct| sebagai ganti) tidak akan berfungsi. " |
| 63 |
|
| 64 |
#: ../../../__w/calibre/calibre/manual/snippets.rst:33 |
| 65 |
msgid "The built-in snippets" |
| 66 |
msgstr "Snippet terbina-dalam" |
| 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 "Snippet terbina-dalam dijelaskan seperti di bawah. Perhatian, anda boleh batalkannya dengan mencipta snippet anda sendiri dengan teks pemicu yang sama." |
| 73 |
|
| 74 |
#: ../../../__w/calibre/calibre/manual/snippets.rst:39 |
| 75 |
msgid "Inserting filler text [Lorem]" |
| 76 |
msgstr "Menyisip teks pengisi [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 "Snippet terbina-dalam pertama dan paling mudah digunakan untuk menyisip teks pengisi ke dalam dokumen. Teks pengisi diambil dari `De finibus bonorum et malorum <https://en.wikipedia.org/wiki/De_finibus_bonorum_et_malorum>`_ iaitu hasil kera oleh Cicero (diterjemah ke dalam bahasa Inggeris). Untuk gunakannya hanya taip ``Lorem`` dalam fail HTML dan tekan |ct|. Ia akan diganti dengan beberapa perenggan pengisi." |
| 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 "Takrifan snippet ini adalah sangat mudah, teks pemicu ditakrif sebagai ``Lorem`` dan templat ditakrif sebagai teks harfiah yang akan disisipkan. Anda boleh suai ia dengan mudah untuk guna bentuk teks pengisi kegemaran anda." |
| 95 |
|
| 96 |
#: ../../../__w/calibre/calibre/manual/snippets.rst:53 |
| 97 |
msgid "Inserting a self-closing HTML tag [<>]" |
| 98 |
msgstr "Menyisip tag HTML tertutup-kendiri [<>]" |
| 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 "Sekarang cuba lihat contoh mudah konsep *placeholders*. Jika anda mahu menyisip tag tertutup-kendiri ``<hr/>``. Hanya taip ``<>``, kemudian tekan |ct|, penyunting akan kembangkan snippet menjadi::" |
| 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 "Di sini, simbol ``|`` mewakili kedudukan kursor tetikus semasa. Anda boleh taip ``hr`` kemudian tekan |ct| untuk gerak kursor dipenghujung tag. Snippet ini ditakrif sebagai::" |
| 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 "Pemegang-tempat adalah tanda dollar ($) yang diikuti dengan nombor. Bila snippet dikembangkan dengan menekan |ct| kursor diletak pada pemegang-tempat pertama (pepegang-tempat dengan nombor paling rendah). Bila anda tekan |ct| sekali lagi kursor lompat ke pemegang-tempat berikutnya (pemegang-tempat dengan nombor lebih tinggi berikutnya)." |
| 122 |
|
| 123 |
#: ../../../__w/calibre/calibre/manual/snippets.rst:75 |
| 124 |
msgid "Inserting an HTML link tag [<a]" |
| 125 |
msgstr "Menyisip tag pautan 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 "Tag pautan HTML kesemuanya berkongsi struktur umumnya. Mereka mempunyai atribut ``href`` dan beberapa teks diantara tag pembuka dengan tag penutup. Snippet menjadikan penaipan mereka lebih efisyen yang mana terdapat beberapa fitur pemegang-tempat. Untuk guna snippet ini, hanya taip ``<a`` dan tekan |ct|. Penyunting akan kembangkan seperti ini::" |
| 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 "Bukan hanya itu sahaja, perkataan ``filename`` akan dipilih, dengan kursor berada diatasnya, anda dapat menaip dalam nama fail sebenar, menggunakan fitur penyunting :ref:`editor_auto_complete`. Dan selesai menaip nama fail, tekan |ct| sekali lagi dan kursor akan lompat ke kedudukan diantara tag ``<a>`` supaya anda boleh taipkan teks untuk pautan dengan mudah. Selepas anda selesai menaip teks, tekan |ct| sekali lagi untuk lompat ke kedudukan selepas tag penutup. Snippet ini ditakrif sebagai::" |
| 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 "Terdapat beberapa pasangan fitur baharu di sini. Pertama, pemegang-tempat ``$1`` menjadi lebih kompleks. Ia kini menyertakan beberapa *teks lalai* (perkataan ``filename``). Jika pemegang-tempat mengandungi teks lalai, teks lalai adalah pengganti untuk pemegang-tempat jika snippet dikembangkan. Dan juga bila anda lompat ke pemegang-tempat dengan teks lalai menggunakan |ct|, teks lalai dipilih. Dengan cara ini, anda boleh guna teks lalai untuk bertindak sebagai peringatan pada anda untuk mengisi bahagian penting templat. Anda juga boleh nyatakan teks lalai untuk pemegang-tempat dengan menggunakan sintaks: ``${<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 "Lain-lain fitur baharu ialah pemegang-tempat kedua yang mempunyai asterisk selepas ia (``${2*}``). Ini bermaksud mana-mana teks yang terpilih sebelum pengembangan templat digantikan untuk pemegang-tempat. Untuk melihat tindakan ini, pilih beberapa teks dalam penyunting, tekan |ct|, taip ``<a`` dan tekan |ct| sekali lagi, templat akan dikembangkan menjadi::" |
| 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 "Cara yang sama seperti menyisip pautan HTML, sepertimana di atas. Ia membolehkan anda masukkan tag ``<img src=\"filename\" alt=\"description\" />`` dengan pantas dan lompat diantara atribut ``src`` dengan ``alt``::" |
| 178 |
|
| 179 |
#: ../../../__w/calibre/calibre/manual/snippets.rst:124 |
| 180 |
msgid "Insert an arbitrary HTML tag [<<]" |
| 181 |
msgstr "Menyisip tag HTML arbitari [<<]" |
| 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 "Taip nama tag, contohnya: ``span`` dan tekan |ct|, hasilnya::" |
| 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 "Sepertimana yang anda lihat, pemegang-tempat pertama ($1) telah dinyatakan sebanyak dua kali, yang kedua dalam tag penutup, yang mana akan menyalin apa jua yang anda taip dalam tag pembukaan." |
| 213 |
|
| 214 |
#: ../../../__w/calibre/calibre/manual/snippets.rst:153 |
| 215 |
msgid "Inserting an arbitrary HTML tag with a class attribute [<c]" |
| 216 |
msgstr "Menyisip tag HTML arbitari dengan atribut kelas [<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 "Ia hampir serupa dengan contoh penyisipan tag arbitari di atas, kecuali ia menganggap anda mahu nyatakan kelas untuk tag::" |
| 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 "Ia membolehkan anda taip dahulu nama tag, kemudian tekan |ct|, taip nama kelas, tekan |ct| taip kandungan tag dan seterusnya tekan |ct| sekali lagi untuk keluar dari tag. Tag penutup akan diisi secara automatik." |
| 230 |
|
| 231 |
#: ../../../__w/calibre/calibre/manual/snippets.rst:167 |
| 232 |
msgid "Creating your own snippets" |
| 233 |
msgstr "Mencipta snippet anda sendiri" |
| 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 "Snippet menyenangkan kerana anda boleh cipta sendiri untuk memenuhi gaya penyuntingan anda. Untuk mencipta snippets anda sendiri, pergi ke :guilabel:`Sunting->Keutamaan->Tetapan penyunting->Urus snippet` dalam penyunting. Satu dialog timbul akan bantu anda menghasilkan snippet anda sendiri. Hanya klik pada butang :guilabel:`Tambah snippet` dan anda akan lihat satu dialog seperti berikut:" |
| 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 "Mula-mula berikan nama snippet anda, yang dapat menjelaskan snippet tersebut. Kemudian nyatakan *trigger*. Trigger atau pemicu merupakan teks yang anda perlu taip dalam penyunting sebelum menekan |ct| untuk dapat kembangkan snippet." |
| 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 "Langkah seterusnya adalah menguji snippet yang baru anda cipta. Gunakan kotak :guilabel:`Uji` yang berada dibahagian bawah. Taipkan teks pemicu dan tekan |ct| untuk kembangkan snippet dan lompat diantara pemegang-tempat." |